假定从机的服务里有一个特征值,长度超过20字节,如50字节。
主机通过WriteLongCharValue函数将50字节分包发送。
那么从机的***_WriteAttrCB函数应该如何处理?要自己写代码将多个数据包根据offset拼接吗?
另外,50字节分为3个数据包,这3个数据包抵达从机后,是否会分别调用***_ProfileChangeCB函数?
第一次提问,如果能找到答案,万分感激
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
假定从机的服务里有一个特征值,长度超过20字节,如50字节。
主机通过WriteLongCharValue函数将50字节分包发送。
那么从机的***_WriteAttrCB函数应该如何处理?要自己写代码将多个数据包根据offset拼接吗?
另外,50字节分为3个数据包,这3个数据包抵达从机后,是否会分别调用***_ProfileChangeCB函数?
第一次提问,如果能找到答案,万分感激