when i am sending the data through custom value update then following error occurs as ERROR 8 [NRF_ERROR_INVALID_STATE]

Hello sir,

             I  am using the nrf52832 Dev board  and try to send the data through custom value update then the following error occurs as ERROR 8 [NRF_ERROR_INVALID_STATE].How to solve the following above error .

Parents
  • Hi.

    Have you debugged your application?

    Could you be a little more specific in which function is returning the INVALID_STATE error?

    Br,
    Joakim

  • Hello sir,         

                 I have created two services through each one i have been  sending  the data.Through one services i have been  sending the data properly through send_notification() and the function is used as ble_cus_custom_value_update(ble_cus_t * p_cus, uint8_t custom_value). The  data  is send  through custom value update function and shown in nrfconnect app when i enable the notifications. Through another services i have been tried to  send the data using the ble_cus_custom_value_update(ble_cus_t * p_cus, uint8_t custom_value)  but  have used different instances. I tried to get the data through nrfconnect app when notifications is enabled then the data is not showing in app.when i use the read command then the data is showing properly but enable to get the data through notifications.

    In second services also i have enable read,write and notify properly but enable to get the data through notifications but get through read command only through nrfconnect app

  • Ok, so you were able to solve the issue with the INVALID_STATE error?

    Your issue is enabling notifications on two different services?

    Br,
    Joakim

Reply Children
No Data
Related