Skip to content

Possible to replace or add BLE characteristics in default services? #12823

Answered by jimmo
ajchellew asked this question in RP2040 / Pico
Discussion options

You must be logged in to vote

@ajchellew Unfortunately this is not possible right now.

I'm not sure what the best option is for how to provide this:
a) A way to disable the default services, which means the user is expected to provide them explicitly
b) Make it possible to configure all the options.

I'm leaning towards (b) because there are a few things in the default services that are a bit of a pain to implement by hand.

If you're able to build your own firmware, it's easy enough to disable the built-in default gap & gatt services.
For nimble: https://github.com/micropython/micropython/blob/master/extmod/nimble/modbluetooth_nimble.c#L653 & https://github.com/micropython/micropython/blob/master/extmod/nimble/modbluet…

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@ajchellew
Comment options

Answer selected by ajchellew
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants