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

Nordic UART service

Hi , I'm intrested in using the BLE UART apllication provided by Nordic for the nRF51 422 developpement kit and I have a little question to ask and please forgive its simplicity : if jump the RX pin to the TX pin will I be receiving the msg sent by the android app provided as an RX ? Thank you in advance

  • Hi

    The ble_app_uart example in the nRF5 SDK 11.0.0 is TX and RX both over UART hardware and over the BLE NUS (Nordic UART Service) service. This means that when you write something from UART peer device, it is fowarded to the BLE peer device. Similarly, when you transfer data from the BLE peer device, the data is forwarded to the UART peer device. So if you connect RX and TX pin together the result is that if you write data to the RX characteristic from the BLE peer device it will appear in the TX characteristic on the BLE peer device.

  • hi , well first thank u for having time to answer my question ... well I expected that too but i got no response from the DK ... to be more precise I tried to run the ble_app_uart example on the DK I have so i load it with IAR but it didn't work (no advertizing) so i've copied th .hex file so I got the DK connected to the android app but yet no respond in the way you explained

  • Hi

    If you use e.g. Master Control Panel for Android, you first connect to the UART service, then you enable notifications on the TX characteristic, then you must write 20 bytes to the RX characteristic in order for it to appear on the TX characteristic. It must be 20 bytes because that is how the uart_event_handle handler is set up in the ble_app_uart example. On the nRF51-DK I connect together pins P0.09 and P0.11

Related