This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Disconnecting (0x8) with error when running SDK example

Hello,

I'm working with SDK 15.0 and Softdevice S132 6.0. I have two nRF52832 boards (the BMD-300 Evaluation Kit and the SparkFun nRF52832 Breakout).

I am running ble_app_hrs and ble_app_hrs_c on the two boards using the pre-compiled hex files (I've also tried running the code from Keil and the makefile). It was working perfectly for the past 2 weeks, but since yesterday the chips disconnect every few seconds, showing the following 3 lines in the log, before reconnecting:

<info> app: Disconnected, reason 0x8.
<error> app: Fatal error
<warning> app: System reset

I've attached a picture of what I see in PuTTY.

I sometimes, though rarely, also get the error "Disconnected, reason 0x3E." after which the chips cannot reconnect at all, I have to reset them.

Any ideas on how to fix this?

Thank you.

Parents
  • The disconnected reason 0x8 corresponds to a TIMEOUT. This means that the hrc_c application has lost contact with the hrs application for some reason. It could be that the hrs application crashed, or it was simply moved far away (physically) from the hrs_c among other reasons.

    The Disconnected reason 0x3E means 'Connection failed to be established'. This occurs when the hrs_c tried to connect to hrs but couldn't. The root cause for this should be the same as for the disconnect reason 0x8, only that it happens much earlier in the connection.

Reply
  • The disconnected reason 0x8 corresponds to a TIMEOUT. This means that the hrc_c application has lost contact with the hrs application for some reason. It could be that the hrs application crashed, or it was simply moved far away (physically) from the hrs_c among other reasons.

    The Disconnected reason 0x3E means 'Connection failed to be established'. This occurs when the hrs_c tried to connect to hrs but couldn't. The root cause for this should be the same as for the disconnect reason 0x8, only that it happens much earlier in the connection.

Children
Related