Dear Nordic,
We've faced with the issue on Zephyr Shell NUS module.
The other side is ble_uart_c example at nRF52840DK. (edited)

P.S. Do you have ready to use HEX with BLE_UART_C example compiled for nRF52840Dongle with UART-over-USB emulation?
Dear Nordic,
We've faced with the issue on Zephyr Shell NUS module.

P.S. Do you have ready to use HEX with BLE_UART_C example compiled for nRF52840Dongle with UART-over-USB emulation?
Hi,
Try setting CONFIG_SHELL_BT_NUS_RX_RING_BUFFER_SIZE to 256
I recommend using Putty terminal.
P.S. Do you have ready to use HEX with BLE_UART_C example compiled for nRF52840Dongle with UART-over-USB emulation?
No, I don't think so.
Dear Sigurd,
I've tried:
1. changing both RX and TX Shell NUS ring buffer sizes up to 4096 bytes.
2. turning off shell echo and disabling log output to shell.
3. turning off colorization.
No positive outcome on the issue.
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.
I've added this check and shell enable function call to connection handler, as metioned in shell_bt_nus example, as it can be seen on the first screenshot. It works, bt_nus$ prompt appears.
Ok, so the issue you described initially in this case has now been solved?
Not yet.
Please don't close the ticket until we report (hope this week).
Dear Sigurd,
I've found it works with two devboards (52840 + 5340) one running central_uart and another running shell_bt_nus examples. This issue definately related to some middleware modules of Zephyr that we enable on our board (e.g. USB or others). We'll check that.
Dear Sigurd,
I've found it works with two devboards (52840 + 5340) one running central_uart and another running shell_bt_nus examples. This issue definately related to some middleware modules of Zephyr that we enable on our board (e.g. USB or others). We'll check that.