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

Ble peripheral disconnects after a while.

Hi,

I am connecting nrf52832 to a windows computer, and it connects to it, but after a while (30 seconds), it disconnects automatically. When i try to debug it, i see a message on serial monitor (arduino), the message says 22, which corresponds to 0x16 when converted to hex, followed by the mac address in decimal.

Any idea why it disconnects?

Parents Reply
  • We made a program based on the ble_app_uart example. We are streaming data from our device and it does not connect to one of our laptops for some reason. We are printing the disconnect reason on Serial and it says 0x16, which is BLE_HCI_LOCAL_HOST_TERMINATED_CONNECTION. Why is it not connecting to this one computer and all of our other computers. When we connect a device with the Arduino ble uart code it connects fine, but the nordic one does not connect. Both are the same hardware, just running Arduino firmware or Nordic firmware.

Children
Related