ble_app_uart example sending ble data is not work

i use ble_app_uart example code.

i have some problem that sometimes MCU can send data to application. but sometimes MCU can't..

ex) Success : 0x01 0x02 0x03 0x04 0x05 \r\n

                       0x01 0x02 0x03 0x04 0x05 \r\n

                       0x01 0x02 0x03 0x04 0x05 \r\n

     Fail :          0x01 0x02 0x03 0x04 0x05 0x01 0x02 0x03 0x04 0x05 0x01 0x02 0x03 0x04 0x05 0x06 \r\n

After I sent packet and have some delay, i send next packet. but sometimes sent data continuously.

Please answer to me.

Thanks

Parents Reply
  • ex) Success : 0x01 0x02 0x03 0x04 0x05 \r\n

                           0x01 0x02 0x03 0x04 0x05 \r\n

                           0x01 0x02 0x03 0x04 0x05 \r\n

         Fail :          0x01 0x02 0x03 0x04 0x05 0x01 0x02 0x03 0x04 0x05 0x01 0x02 0x03 0x04 0x05 0x06 \r\n

    How should I interpret this then? I can't help troubleshoot without a clear description of the problem. Note  that the app uart library on the nRF only uses 1-byte DMA receive buffers so it cannot receive multiple bytes at a time.

Children
No Data
Related