renatobo / bonogps

A GPS setup to log your track lap times, based on ESP32, with the ability to interface with several mobile phone apps that log your speed and position via Bluetooth Low Energy, Bluetooth or WiFi

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Reduce NimBLE footprint

renatobo opened this issue · comments

This sketch does not use these BLE functions

  • Client
  • Scan

nimconfig.h part of NimBLE-Arduino can be changed to define these props to reduce SW size by 7+26kb

// #define CONFIG_BT_NIMBLE_ROLE_CENTRAL
// #define CONFIG_BT_NIMBLE_ROLE_OBSERVER

This can't be automated via macro defines, you need to edit nimconfig.h