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

Shell NUS issue

Dear Nordic, 

We've faced with the issue on Zephyr Shell NUS module. 

The captured reaction is just on 'Enter' press in terminal. It seems it has some kind of loopback inside, but why?
The other side is ble_uart_c example at nRF52840DK. (edited) 
We've tried a lot of different config changes (heap, stack increase for different threads), without any positive result. Do you have any meaning on that? What we should check here?

P.S. Do you have ready to use HEX with BLE_UART_C example compiled for nRF52840Dongle with UART-over-USB emulation?

Parents Reply
  • Dmitry Kr said:
    2) No, I can't run it with our board definition files, I'll try this example.

     Ok. Note that we have this issue mentioned in the known-issues section that might be relevant as well:

    NCSDK-8321: NUS shell transport sample does not display the initial shell prompt uart:~$ on the remote terminal.
    Also few logs with sending errors are displayed on the terminal connected directly to the DK. This issue is caused by the shell being enabled before turning on the notifications for the NUS service by the remote peer.
    
    Workaround: Enable the shell after turning on the NUS notifications or block it until turning on the notifications.

Children
Related