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

Understanding error message

Hello,

Sorry for the basic question, but I am trying to customize an application basing on the ble_app_cgms example.

In the debugger terminal on SES I am receiving the following message when I try to access a ble characteristic:

<error> nrf_ble_gq: SD GATT procedure (5) failed on connection handle 0 with error: 0x00000008.

I couldn't find a table showing the meaning of this error, nor coudn't understand what is this procedure number 5.

I have read this documentation (https://infocenter.nordicsemi.com/index.jsp?topic=%2Fsdk_nrf5_v17.0.2%2Fgroup__sdk__error.html&cp=8_1_6_10_62)  but wasn't able to get the meaning of the message.

My question is, where can I find the information regarding this two numbers I how to interpreting this message.

Thanks in advance

  • Hi,

    Error code 0x08 is NRF_ERROR_INVALID_STATE which is usually returned when you call a function when in an improper state, such as trying to call the advertising function when the device is already advertising. The error message is printed in request_err_code_handle() which again is called from different places in the nrf_ble_gq library. Try using the debugger and check the call stack when the error happens. It will reveal what function that is calling request_err_code_handle() and why.

    regards
    Jared
Related