Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NimBLE supports to disable BLE GATT client or server #1615

Open
donghengqaz opened this issue Sep 20, 2023 · 1 comment
Open

NimBLE supports to disable BLE GATT client or server #1615

donghengqaz opened this issue Sep 20, 2023 · 1 comment

Comments

@donghengqaz
Copy link

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 ?

@sjanc
Copy link
Contributor

sjanc commented Oct 3, 2023

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)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants