You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I recently encountered an issue where custom BLE services were failing to be added to my device. I stepped through and found that there is a preallocated table of a fixed size set by the macro NRF_SDH_BLE_VS_UUID_COUNT which is populated by the mbed_lib.json file depending on what soft device you use.
From my understanding of the mbed compile-time system, there is no way to override these currently through targets or application configurations since they are fixed macros. It would be better to make these configuration parameters with custom macro names so the application can configure them down the line.
Also, I'm not sure if this was fixed in the mbed-os 5.9 error API update (having unrelated issues preventing me from updating at the moment), but it would be nice to have more verbose error output when adding custom services to the table fails. I wasn't aware of this configuration limitation and it took me a bit of searching to find out why my services weren't being added.
I recently encountered an issue where custom BLE services were failing to be added to my device. I stepped through and found that there is a preallocated table of a fixed size set by the macro
NRF_SDH_BLE_VS_UUID_COUNT
which is populated by the mbed_lib.json file depending on what soft device you use.From my understanding of the mbed compile-time system, there is no way to override these currently through targets or application configurations since they are fixed macros. It would be better to make these configuration parameters with custom macro names so the application can configure them down the line.
Also, I'm not sure if this was fixed in the mbed-os 5.9 error API update (having unrelated issues preventing me from updating at the moment), but it would be nice to have more verbose error output when adding custom services to the table fails. I wasn't aware of this configuration limitation and it took me a bit of searching to find out why my services weren't being added.
mbed-os/targets/TARGET_NORDIC/TARGET_NRF5x/TARGET_SDK_14_2/TARGET_SOFTDEVICE_S132_FULL/mbed_lib.json
Lines 1 to 39 in c4113ae
The text was updated successfully, but these errors were encountered: