Using NUS on development board, not sending data to central

I have built and flashed the NUS example in the SDK and using nRFConnect on my phone I can send data to the dev board. However, I am unable to receive data at nRFConnect sent to the dev board by the attached terminal. I have seen data arrive sometimes but after a long time, maybe minutes. Is there something I need to do in addition to building the NUS example?

Sid

Parents
  • Hi Sid Price, 

    I would suggest to use the nRF Sniffer to check if the phone actually sending any data to the nRF5 chip. 

    Have you verified that the UART connection is working properly ? I would suggest to try put a break point in bt_receive_cb() function to see if the callback is called when you send something from the phone. 

    Have you made any modification to the peripheral_uart sample ? 
    Have you tried to test with other sample , for example peripheral_lbs ? 

Reply
  • Hi Sid Price, 

    I would suggest to use the nRF Sniffer to check if the phone actually sending any data to the nRF5 chip. 

    Have you verified that the UART connection is working properly ? I would suggest to try put a break point in bt_receive_cb() function to see if the callback is called when you send something from the phone. 

    Have you made any modification to the peripheral_uart sample ? 
    Have you tried to test with other sample , for example peripheral_lbs ? 

Children
Related