nRF5340 - peripheral disconnection because out of range

Hi,
I'm working on nRF5340 Bluetooth LE peripheral (building environment: NCS 2.6.1, Zephyr 3.5.99).
The net core is populated with the Zephyr HCI RPMsg sample LE Controller as it is.
I experience a disconnection from peer with reason BT_HCI_ERR_CONN_TIMEOUT.
This occurs because the peer is moved out of range.

How to get the application notified in advance of this disconnection event ? 

Parents
  • Hi Gabriele

    Sorry, but what function are you referring to failing to send data here exactly? From the log, the error seems to come after the advertising fails to start and reporting that the devices are not connected, so I guess you first of all need to reconnect before trying to restart sending data between the devices.

    Best regards,

    Simon

Reply
  • Hi Gabriele

    Sorry, but what function are you referring to failing to send data here exactly? From the log, the error seems to come after the advertising fails to start and reporting that the devices are not connected, so I guess you first of all need to reconnect before trying to restart sending data between the devices.

    Best regards,

    Simon

Children
Related