Hello everyone , I'm trying to read a sensor's data from PSoC4 BLE kit and display it on my android phone (Xiaomi Mi 9).
For this I have configured the BLE module of the PSoC's 4 BLE as a peripheral GAP and a GATT Server with a Custom Service. The characteristic has the read and notify properties, plus I have the UUID for service and characteristic. The value's type I'm trying to get is uint32.
I know it's working because I've read the value using CySmart App for debugging and it also works on the BLE Scanner app.
So far, the app connects succesfully to the PSoC but I don't seem to get the data.
I attach the app inventor project. If more info is needed please let me know
It is supposed to read the values everytime it gets a new value, as the notifications are enabled on the server but I need to set it up from the client too, on this specific app (LightBlue) I do this by touching the subscribe button so I have, somehow, to enable notifications from the Client application (AppInventor) before sending notifications
Yes, it has the location on
Sorry but I don't understand what you mean. If you refer to the PSoC's BLE tutorial, it works. I'm having problems only on the App Inventors side. Furthermore, the appinventor's app connects succesfully to my PSoC. The problem is I don't get any data.
So, hacked together an example App, but I can't test it here as I do not have a device available to send 32bit integers. It is however based on a basic framework that many others have used successfully. Note that by registering for Integers, data is streamed to your App whenever it is available.
Enter your UUIDs in the variables provided at the top of the Blocks.