mynewt-nimble
mynewt-nimble copied to clipboard
NimBLE supports to disable BLE GATT client or server
Hi,
I am aiming to developing software in very low-cost SoC platform, and in my application I just need GATT service to configure parameters, so GATT client can be dropped, but this requirement seems not implement. Do you have any plan about this ?
Hi,
Hmm yes, we don't have global config to disable GATT client but you should be able to reduce code side by disabling GATT client procedures BLE_GATT_DISC_ALL_SVCS, BLE_GATT_DISC_SVC_UUID etc (check nimble/host/syscfg.yml)
You may also want to disable GAP roles you don't need (ie central or peripheral)