Bluetooth disconnects after certain amount of time

Hey there,
I figured out what the problem is. As I learned reading repeatedly a device’s characteristic is not the same as enabling notifications via a descriptor.

I order to maintain a Bluetooth connection with the DWM1001 (maybe even in general with every BLE device, dunno) one has to subscribe to a characteristic. That is, one has to establish a connection to the device and then write a specific notification enable value to the characteristic’s descriptor in order to receive automatic updates from the device once the value of that characteristic has changed.

That’s why my connection each time was shut down because my DWM1001 has not received any request about enabling the notification of that particular location characteristic.

Currently, I am writing my own Android app and will post updates on whether or not I was able to maintain my connection.

Cheers,
Max

1 Like