Martijn van Welie

Results 123 comments of Martijn van Welie

This looks like an issue with your tablet....

The method autoConnectPeripheral() will work as long as the app is running. If your app gets killed often you need to use a ForegroundService....

I think your question is going beyond the scope of this library, so I am closing the issue

...running Bluez 5.64 on Ubuntu Server 22.04 on a Raspberry CM4

the error is very clear: the app is trying to write to a characteristic that the scale doesn't have. Apparently, not all QN scales have the same characteristics....

Yes, something like that might work. It would need some experimentation to be sure. What still bothers me the most is if we can reliably detect whether a central or...

Just released version 2.4.1. that contains a possible fix for your issue. You now need to tell the PeripheralManager who the Central is and then I check every connected event...

Alternatively you could have a look here: https://github.com/weliem/bluez_inc

...even if i make the characteristic only Write With Response, the app that connects to my peripheral gets an error: ERR_UNLIKELY (Error 14 (0xe)) Do I have to do something...

In later versions of Android, the location permissions are not needed anymore as they were replaced by dedicated BLE permissions. So if you need it for GPS functionality, you'll have...