BLE - nRF5340-DK: Unsolicited auto-reconnect by PC

Hello,

I'm having trouble with BLE communication on the nRF5340-DK

I've implemented data transmission and pairing/bonding (LE type, level 4). When I connect from a PC application to the nRF5340 and enter the pairing key, it works fine.

However, when I close the application, it remains connected to BLE in Windows, and I have to turn off Bluetooth on PC manually. It would be better if closing the PC application also closed the BLE connection and the peripheral device (nRF5340-DK) restarted advertising.

Is this possible, or is it simply a feature of Windows Bluetooth?

Thank you

Parents
  • Worse: Its likely your PC/OS configuration. Windows normally closes BTLE connections when no app keeps it open. Some profiles like HID are always connected though.

    I've seen this problem on some DELL models, the OS or some 3rd party software refuses to disconnect. Very annoying, and we could not identify the source -or reproduce the problem- here.

Reply
  • Worse: Its likely your PC/OS configuration. Windows normally closes BTLE connections when no app keeps it open. Some profiles like HID are always connected though.

    I've seen this problem on some DELL models, the OS or some 3rd party software refuses to disconnect. Very annoying, and we could not identify the source -or reproduce the problem- here.

Children
Related