Question about Notification

3 posts / 0 new
Last post
sklin
Offline
Last seen:5 years 6 months ago
Expert
加入:2014-08-12 08:01
Question about Notification

Hi Dialog
I see sample code use the below function to send a notification to a peer device:
void prf_server_send_event(prf_env_struct *p_env, bool indication, uint16_t handle);

Now,the length of characteris value is 19 Bytes in my profile.
But sometimes I hope to send a notification with the value length is changeable but not always 19 Bytes.
What should I do?

sklin
Offline
Last seen:5 years 6 months ago
Expert
加入:2014-08-12 08:01
Oh !

Oh !
I have solve the problem.The length of the charateristic notifcation is equal to the length when I set the characteristic value.

JE_Dialog
Offline
Last seen:1 day 14 hours ago
Staff
加入:2013-12-05 14:02
谢谢你的通知你

谢谢你的通知你solved your issue sklin...

BR JE_Dialog