我在BLE协议栈中定义一个数组,这个数组的长度为255字节,存储到一定数量之后我想一下输出来,但是由于CC2540的发送缓存为128B,无法将数据发送出来智能发送前128个字节,哪位有好的方法是实现这个功能?
程序大致是如下所示,只能发送128个‘-’。
for(uint16 i=0;i<255;i++)
{
HalUARTWrite(0,"-",1);
}
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.
我在BLE协议栈中定义一个数组,这个数组的长度为255字节,存储到一定数量之后我想一下输出来,但是由于CC2540的发送缓存为128B,无法将数据发送出来智能发送前128个字节,哪位有好的方法是实现这个功能?
程序大致是如下所示,只能发送128个‘-’。
for(uint16 i=0;i<255;i++)
{
HalUARTWrite(0,"-",1);
}