This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

What should I do if I were to write a struct to a characteristics in Android?

It appears that, if I wanted to write characteristics to my BLE device, I can utilize the writeCharacteristic method of the BluetoothGatt class. Is this the right way to go, were I to write a series of data, up to 21 bytes, at struct to be more exact, to the corresponding characteristics of my BLE device?

Related