Connects in Notify mode, but no data sent
Trying to use a device with BLE 5.0 operating in notification mode.
GUI-O app reports proper connection but no response from the device.
Debugging the device software shows that no data (@INIT) seem to come from GUI-O.
I am really stuck here as I have no Idea of what GUI-O do to verify proper transmission?
I suppose that "connected" mean that all BLE-negotiations were settled ok?
I also suppose that "Connected device not responding" mean that GUI-O have sent @INIT
without problem and now is expecting at least some setup data coming back. Right?
Any hint how I can further characterize the problem?
Yes, you are correct - if the underlying descriptor supports notifications, the connection should be successful (a notification "Notifications for characteristic enabled" should be displayed and GUI-O should show "Connected" status).
Yes, "Connected device not responding" means that GUI-O application received no data (which was expected in a certain time interval after pressing the initialization button).
Firstly, you can try enabling local logging under the Developer mode menu. Navigate to Info menu and press Application version 10 times. A new menu entry should appear at the bottom (Developer mode). Please enable log incoming and log outgoing messages.
Retry your setup and exit the GUI-O app. Use a file manager to navigate to Android/data/com.guio.guioapp/files and check in_messages and out_messages logs. Is there any data there?
Note that for Android 11 you will probably need a PC to access this directory (due to Android restrictions).
Next, you could also try ignoring the initialize button and send the data from your device to the GUI-O application after successful connection (you don't need to trigger the @init command, GUI-O can still receive data).
I will try to check with my Bluetooth LE module tomorrow and will report back.
Here is a working example of Bluetooth LE with GUI-O, but it uses ESP32 module...
The tutorial video is coming soon.
Hope this helps.