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

BLE characteristic array/set

i know that it's not up to you guys to tell me this but maybe you can give me a hint: right now i'm using the bluetooth developer studio together with the nordic plugin for code generation to design my communication/GATT.

i'm transferring sensor values (xyz acceleration raw values) which should be processed by the central (much more powerful than the sensor). i want to keep the communication cycles to a minimum and thus the idea would be to transfer a set of xyz values.

is it possible to transfer a set of (structured) values / is there a proper way to design this?

i know that i could simply define a characteristic with an array type and fill it up to the MTU of 23 byte (is that correct?) and simply parse it properly on the central side, but i though it might not hurt to ask if there's a better way to do this ...

also > do you maybe have an example for array-type characteristics?

thanks!

Related