This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

nRF5_SDK_16.0.0 board nRF52840 CLI uart problem.

Using nRF5_SDK_16.0.0 with the example: examples\ble_central_and_peripheral\experimental\ble_app_interactive. The terminal has been replaced by a PC application sending commands to the CLI over the serial link @ 115200 baud using hardware handshake. When sending long commands as: "gatt write request XX:XX:XX:XX:XX:XX YYYY 01 00 00 00 00 FF 03" the uart receive routine seem to loose the first part of the command and only passes the last "F 03" on to the cli_execute() function.  If I split the command in individual tokens and send them one-by-one with a short delay, everything is working as it should.  Looks like a problem in the uart receive functionality.

Parents Reply Children
Related