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

Misspelled error code BLE_GAP_ERROR_WHITELIST_IN_USE

Hi,

in peer_manager.h and id_manager.h the docs say a function can return

BLE_GAP_ERROR_WHITELIST_IN_USE

But the error code is called

BLE_ERROR_GAP_WHITELIST_IN_USE

(see ble_gap.h)

  • Hi,

    Thank you for reporting this. It is highly appreciated!

    I can confirm it is a documentation bug. The wrong version of the define is mentioned in three places in nRF5 SDK v17.0.2, all in comments:

    Once in components/ble/peer_manager/id_manager.c.
    Once in components/ble/peer_manager/id_manager.h.
    Once in components/ble/peer_manager/peer_manager.h.

    I have reported this issue internally.

    Regards,
    Terje

Related