I am looking a way to send a string without the terminal, ble_nus_string_send function only works in the uart_event_handle() and APP_UART_DATA_READY is only triggered when pressing enter in the terminal(termite). Can someone please post a solution
I am looking a way to send a string without the terminal, ble_nus_string_send function only works in the uart_event_handle() and APP_UART_DATA_READY is only triggered when pressing enter in the terminal(termite). Can someone please post a solution
Hi! Have you tried using the nRF Toolbox App?
Hello Joakim, I want to send the data to the Toolbox UART app without using terminal(termite)i.e directly from the program.
You just want to send a string that you have defined in your code? If so, you can use the ble_nus_string_send() function. Does that solve your problem?
The fact that the data comes from the terminal is irrelevant.
APP_UART_DATA_READY is only triggered when pressing enter in the terminal
So just do that on whatever event or condition you want to trigger the sending.
Can anyone have the code to sent data to uart app without using terminal???