接收和发送在同一任务中,当发完数据等待接收,连续3次,会有10%的丢包现象,如果单发单收没有问题。有没有好的解决方案。
Viki Shi:
参考下这里的例程,接收发送在同一任务中: e2echina.ti.com/…/106253
Felix ZF:
可以使用SDK中的rfEchoRx和rfEchoTx。
The Echo RX example start off by putting the radio in receiver mode and waits for a packet to be transmitted. When it receives a packet it switches the radio to transmitter mode and re-transmits the received packet (echo).
The Echo TX example the radio to transmit a packet and then switch over to the receiver mode and wait for its echo.