Has anyone implemented a characteristic using the sint16 array data type? How did you do it?

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
PaDo_1228851
Level 3
Level 3
25 replies posted 10 replies posted 10 questions asked

Thanks for your help.

0 Likes
1 Solution
Anonymous
Not applicable

Hi,

No matter what datatype you select in the GATT DB, when you perform BLE Write or Send notifications, it has to be converted into uint8 data type.

Regards,

- Madhu Sudhan

View solution in original post

5 Replies
PaDo_1228851
Level 3
Level 3
25 replies posted 10 replies posted 10 questions asked

I would like to add that I would prefer to send an array of uint32[3] to an iPhone.  So any ideas along that line would be great.  Thanks again.

0 Likes
Anonymous
Not applicable

Hi,

No matter what datatype you select in the GATT DB, when you perform BLE Write or Send notifications, it has to be converted into uint8 data type.

Regards,

- Madhu Sudhan

Anonymous
Not applicable

You would put the device into the characteristic as a uint8[12] (4 bytes for each 32 bit data)

It should work similar/the same as other characteristics.