Hi,
I'm trying to reproduce some android BLE code in ConnectIQ : the original application connect to a BLE device as a remote (turn off/on, etc).
I have connected my dongle to the BLE device and activated notifications which is working perfectly : change on device trigger callback function.
I can also read one characteristic and get a bytearray in return.
Now I want to write a request to the characteristic. But when i write the value (one byte), a read call returns the new value which contains the byte I sent and not the bytearray anymore.
And if I change something on the device, a read call returns the bytearray again.
My question is : the only missing thing in my code versus the android one (if I understand well) is that the client seems to call notifyCharacteristicChanged on the server after the write.
I don't know if this is what I'm missing but is it possible to do this in ConnectIQ ?