Beware that this post is related to an SDK in maintenance mode
More Info: Consider nRF Connect SDK for new designs
This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts
This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Some code quality patches for sdk 17.0.2

Hi,

please find attached some patches to improve the code quality of the SDK

1. Make ble_db_discovery_evt_t a const ptr

0001-Add-missing-const-for-ble_db_discovery_evt_t.patch

2. make p_string in ble_nus_c_string_send a const ptr

0001-Use-const-char-for-ble_nus_c_string_send.patch

3. Fix BLE_NUS_DEF macro for C++0001-Fix-BLE_NUS_DEF-macro-for-C.patch

4. Fix some warnings because of signed / unsigned

0001-Fix-warnings.patch

0001-Use-bitwise-operators-only-on-unsigned-operands.patch

5. Invalidate characteristic and cccd handles too

0001-Invalidate-characteristic-and-cccd-handles.patch

Best regards

Related