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.

CC2540做主设备,获取到从设备数据之后,串口打印出错!!!



你们好,TI的工程师们和同行们:

   我想实现这样一个功能:主设备获取到从设备蓝牙数据之后自动串口输出。定义了两个Data_buff1和Data_buff2,通过strncat函数将数据排序并通过NPI_writeTransport函数串口输出:

串口打印结果却是这样:偶尔Data_buff1正常输出,Data_buff2偶尔没被输出。

望各位大神帮忙解答