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

BLE Advertising - Appearance

I'm working my way through BLE Advertising, a beginner's tutorial and getting a SDK error 4001 when trying to use

advdata.include_appearance = true;

Can anyone point me in the right direction as to resolving this?

Parents
  • Hi. That's pretty strange. So it worked before, but not after adding appearance? Nothing else was changed? What SDK to you use? Error 4001 is:

    #define NRF_FAULT_ID_SDK_ERROR       NRF_FAULT_ID_SDK_RANGE_START + 1 /**< An error stemming from a call to @ref APP_ERROR_CHECK ....
    

    Have you tried stepping through your code with a debugger trying to find this particular APP_ERROR_CHECK()?

Reply
  • Hi. That's pretty strange. So it worked before, but not after adding appearance? Nothing else was changed? What SDK to you use? Error 4001 is:

    #define NRF_FAULT_ID_SDK_ERROR       NRF_FAULT_ID_SDK_RANGE_START + 1 /**< An error stemming from a call to @ref APP_ERROR_CHECK ....
    

    Have you tried stepping through your code with a debugger trying to find this particular APP_ERROR_CHECK()?

Children
No Data
Related