I'm new to Bluetooth low energy. I have a module BLE that notify some data that are changing, but I'm not able to extract the values from the respective characteristics.
We've just been on a similar adventure, and the following path might be your quickest to the finishing line...
Per the three posts starting at: https://www.b4x.com/android/forum/threads/bluetooth-4-0-data-exchange.103107/#post-646660
- Check that your Android device supports BLE first using BLE Checker
- Connect to and read data from your module using nRF Connect. Ideally make sure the data changes, ie, that you're not just reading some static sample value.
- Note the address of your device, and the service and characteristic UUIDs of the data you need to read.
- Disconnect from the device (otherwise it will likely not be emitting advertisements, making it harder to connect to later)
No worries. You're not alone with this, it's like every couple of days there's somebody heading off on a BLE safari on this forum. Erel's BLE2 example is great, but I get the feeling it's also a bit comprehensive and maybe intimidating for people who are also coming to grips with B4A at the same time. So I've tried to simplify things, and the only assumption I think remains is that you know to save the new project into a blank directory and let B4A create its own directory structure under that.
If there is anything about those instructions that makes things harder rather than easier, let me know (I promise not to take it personally ;-) and if I ever get around to tidying up the mess, I'll factor all suggestions in then.
Now... don't let me distract you here, get back into that jungle
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.