Hi there,
I have a characteristic on my peripheral device with length of 10 byte. It has notification property and I can successfully send notification from my device. Can I change the size of notification I am sending?
For example, can I send notifications as following?
[0x00 0x01 0x02 0x03 0x04 0x05 0x06]
[0x00 0x01 0x02 0x03 0x04 0x05 0x06 0x07 0x08 0x09 0x0A]
[0x00 0x01 0x02 0x03 0x04]
I don't want to add 0x00 padding end of my notification byte stream. On the central device (an Android or an iOS device) I would like to receive notifications without 0x00 s in the message. For example, I don't want to receive notifications as following:
[0x00 0x01 0x02 0x03 0x04 0x05 0x06 0x00 0x00 0x00 0x00]
[0x00 0x01 0x02 0x03 0x04 0x05 0x06 0x07 0x08 0x09 0x0A]
[0x00 0x01 0x02 0x03 0x04 0x00 0x00 0x00 0x00 0x00 0x00]