Android Question BLE manager.writeData

Dey

Active Member
Licensed User
Longtime User
Hi everyone
I try to write data with manager.writedata
but I don't get any changes
I can read them correctly, I get the requested data, I apply a small modification, I write but they don't change.
BLE for me is a new thing
thank you

Code:
dim hb(9)as byte
hb(0)=0
hb(1)=-43
hb(2)=10 'orginal 5
hb(3)=20
hb(4)=35
hb(5)=80
hb(6)=0
hb(7)=0
hb(8)=0
hb(9)=0
manager.writeData("00001554-1212-efde-1523-785feabcd123","0000155f-1212-efde-1523-785feabcd123",hb)
 
Can you write and read back the change using nRF Connect? Many interfaces uses separate characteristics for writing and reading what looks like the same piece of information, eg:

"In response to each write on UUID 00001524…, the device quickly sends a notification on a different bluetooth characteristic UUID = 00001525-1212-efde-1523-785feabcd123"

from (randomly chosen example) https://community.home-assistant.io/t/radoneye-ble-interface/94962
 
Upvote 0
Back
Top