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

52805 broadcasting problem

I stopped reconfiguring the broadcast configuration and started the broadcast in the following order: ①, ②, and ③. However, I found that the system may report a hardware error that leads to the restart of the device. According to the log, NRF_ERROR_INVALID_STATE is reported as the failure of stopping the broadcast, which leads to the failure of configuring the broadcast or starting the broadcast and the restart of the device. Consult, how should this problem be solved?

Is it normal to find that my flash data will be erased when the device is rebooted?

Parents
  • Hi,

    Could you share the complete error log/output logAlso, which SoftDevice version are you using?

    Regards,

    Priyanka

  • Check it again that article according to your opinion, I recorded the status of radio, stopped broadcasting the step error is eliminated, but then call radio parameter setting and the broadcast data API interface, will continue to 0 x08 mistake, but I can make sure my side set the parameters of the radio is normal, and radio data is and is not the same as before, May I ask why the error 0x08 is still reported here?

Reply
  • Check it again that article according to your opinion, I recorded the status of radio, stopped broadcasting the step error is eliminated, but then call radio parameter setting and the broadcast data API interface, will continue to 0 x08 mistake, but I can make sure my side set the parameters of the radio is normal, and radio data is and is not the same as before, May I ask why the error 0x08 is still reported here?

Children
  • Hi,

    You get an NRF_ERROR_INVALID STATE error after the sd_ble_gap_adv_stop. So, this could be because the advertising handle is not advertising, i.e you call the stop when there was nothing to stop.

    I am not exactly sure, but this may be because you call the stop function first, then the configure and then the start function. So you call a stop function when there was nothing to stop in the first place. Maybe if you configure, start and then stop, is it still showing an error?

    Regards,

    Priyanka

Related