ble-sdk-arduino icon indicating copy to clipboard operation
ble-sdk-arduino copied to clipboard

Size of Dynamic data: comment is incorrect

Open daviddedwin opened this issue 8 years ago • 0 comments

The size of the dynamic data stated in the comment in the bond_data_read_store in the HID_* examples and the ble_proximity_template example is incorrect. This is due to an nRFgo studio bug that generates the size incorrectly, the size stated in the nRFgo Studio generated txt file is too small.. At this point the DynamicData must be read out and then its size noted and used for sizing the storage.

https://github.com/NordicSemiconductor/ble-sdk-arduino/blob/master/libraries/BLE/examples/ble_HID_keyboard_template/ble_HID_keyboard_template.ino#L302

https://github.com/NordicSemiconductor/ble-sdk-arduino/blob/master/libraries/BLE/examples/ble_proximity_template/ble_proximity_template.ino#L237

daviddedwin avatar Mar 11 '16 08:03 daviddedwin