Peripheral uart example - disconnection callback non called

Hello,

I'm running the "peripheral uart" example included in 2.7.0 SDK on a nRF52810.

It works fine but when central application disconnects no advertising messages are restarted and than no others connections are possible.

I tried to insert a call to bt_le_adv_start() in diconnected callback without success.

Adding some debug messages I discovered that when centrall application disconnects, no diconnected callback is actually called (instead, when central app connections, connection callback is correctly called).

So, it seems that nRF52810 doesn't feel the disconnection by central.

As central application I use nRFConnect App and others generic BLE master application (in particular BLE Scanner) on Android smartphone and the behaviour is always the same.

Please can you give some suggestions to fix this issue?

Many thanks and Best Regards

Fabiano

Parents
  • Hi, 

    I'm running the "peripheral uart" example included in 2.7.0 SDK on a nRF52810.

    Are you using the unmodified nrf\samples\bluetooth\peripheral_uart? Are you using a custom board? 

    I cannot reproduce the issue with unmodified nrf\samples\bluetooth\peripheral_uart and nRFConnect App or nrf\samples\bluetooth\central_uart sample on nRF52DK_nRF52810. The unmodified peripheral_uart will auto-advertise after disconnecting. Since nRF52810 has limited space to enable debug logs, you could use another device such as nRF52DK to debug them and move back to nRF52810. 

    Regards,
    Amanda H.

Reply
  • Hi, 

    I'm running the "peripheral uart" example included in 2.7.0 SDK on a nRF52810.

    Are you using the unmodified nrf\samples\bluetooth\peripheral_uart? Are you using a custom board? 

    I cannot reproduce the issue with unmodified nrf\samples\bluetooth\peripheral_uart and nRFConnect App or nrf\samples\bluetooth\central_uart sample on nRF52DK_nRF52810. The unmodified peripheral_uart will auto-advertise after disconnecting. Since nRF52810 has limited space to enable debug logs, you could use another device such as nRF52DK to debug them and move back to nRF52810. 

    Regards,
    Amanda H.

Children
No Data
Related