BLE characteristic syntax question

In the Arduino reference pages at
it says that several values can be stored in a single characteristic.

Can anybody Please post here the correct syntax of how to declare and invoke such a characteristic?

Thank you so much!

look at the BLECharacteristic class constructor

you have various way of instantiating one, see

if you want a bunch of bytes (a struct payload for example), just use the BLECharacteristic constructor and provide the right value size.

If I understand you correct, your idea is being more explicit here:
Marking as solution
Many thanks

Yes, I'm sure there are lots of tutorials out there.

The other option is to build a string with the data and send that. it will make the information readable easily by BLE scanning apps

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.