Question on using Byte array in characteristics #334
-
Dear all, I am looking for a way to use byte arrays in a characteristic. My application constantly streams data out via characteristic notifications, so the value of each notification is in the order of hundreds Bytes. I tried to define a streaming characteristic as:
But I apparently didn't set the data type correctly. What would be the correct/recommended way to set a byte array as the characteristic value? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
This issue should be already fixed by #322 , but you have to set a default value for this field. |
Beta Was this translation helpful? Give feedback.
-
Thank you @HaoboGu and @petekubiak , I confirm I could compile after adding the default value! Closing the question. |
Beta Was this translation helpful? Give feedback.
This issue should be already fixed by #322 , but you have to set a default value for this field.