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.

cc2541作从机与lightblue透传的问题,cc2541发送接收到的串口数据至手机时,会自动分包,但数据不超过15字节,请问是什么原因?

Other Parts Discussed in Thread: CC2541

cc2541作为从机接收到的串口数据为0e 02 03 04 05 06 07 08 09 10 11 12 13 14

但是lightblue上收到的数据是

0x03 0e 02 03

0x0b 04 05 06 07 08 09 10 11 12 13 14

0x02 0e 02

0x0c 03 04 05 06 07 08 09 10 11 12 13 14

0x01 0e

 0x0d 02 03 04 05 06 07 08 09 10 11 12 13 14

总之蓝牙传输时会自动分包,分成2帧数据传输,而不是一次传输完,请问是什么原因,谢谢?

在传输三个字节或以下时,有时能一次传完,有时候分两帧传完