Hi Evreyone,
I'm traying to comunicate with with a BLE DSD Relay Board to send commands to activate/deactivate relay.
Using the instructions in the post https://www.b4x.com/android/forum/threads/ble-2-bluetooth-low-energy.59937/ I've done the connection with the board, but I don't know how to write data to it, or better I don't understand what service/Characteristic use with the WriteData method.
How to identify which service and which Characteristic from the service list of the Connected event and/or by the AdvertisingData in the DeviceFound event.
The services that I've found are :
00001800-0000-1000-8000-00805f9b34fb
00001801-0000-1000-8000-00805f9b34fb
0000180a-0000-1000-8000-00805f9b34fb
0000ffe0-0000-1000-8000-00805f9b34fb
The advertisingdata are:
(MyMap) {1=[B@a9d29c6, 2=[B@cc94d87, 9=[B@4bf54b4, 18=[B@87e18dd, 10=[B@1321c52, 0=[B@633b23}
What are the steps to indetify the service and Characteristic to use with the writedata method to send commands to the board.
I wonder how does the App Serial Bluetooth Terminal to connect to the board easily (identifying it as BLE device) and permit to send the hexidecimal command without specify what service and Characteristic use.
Please help!
Thanks for the attention.
I'm traying to comunicate with with a BLE DSD Relay Board to send commands to activate/deactivate relay.
Using the instructions in the post https://www.b4x.com/android/forum/threads/ble-2-bluetooth-low-energy.59937/ I've done the connection with the board, but I don't know how to write data to it, or better I don't understand what service/Characteristic use with the WriteData method.
How to identify which service and which Characteristic from the service list of the Connected event and/or by the AdvertisingData in the DeviceFound event.
The services that I've found are :
00001800-0000-1000-8000-00805f9b34fb
00001801-0000-1000-8000-00805f9b34fb
0000180a-0000-1000-8000-00805f9b34fb
0000ffe0-0000-1000-8000-00805f9b34fb
The advertisingdata are:
(MyMap) {1=[B@a9d29c6, 2=[B@cc94d87, 9=[B@4bf54b4, 18=[B@87e18dd, 10=[B@1321c52, 0=[B@633b23}
What are the steps to indetify the service and Characteristic to use with the writedata method to send commands to the board.
I wonder how does the App Serial Bluetooth Terminal to connect to the board easily (identifying it as BLE device) and permit to send the hexidecimal command without specify what service and Characteristic use.
Please help!
Thanks for the attention.