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

ble_app_uart rx and tx characteristic uuid

In ble_app_uart, the tx and rx characteristic uuid are shown below, and it supposed that the Tx characteristic enable notifications while the Rx characteristic enable write request and write command

#define BLE_UUID_NUS_TX_CHARACTERISTIC 0x0002                     
#define BLE_UUID_NUS_RX_CHARACTERISTIC 0x0003   

However, when I use a mobile app to access the characteristic, the mobile application shows that the UUID: 6E400003-B5A3-F393-E0A9-E50E24DCCA9E characteristic has notify properties, and UUID: 6E400002-B5A3-F393-E0A9-E50E24DCCA9E characteristic has write request and write command properties. When I write messaage to UUID: 6E400002-B5A3-F393-E0A9-E50E24DCCA9E, the data is output to uart port of the device. It seems that the Tx and Rx characteristic UUIDs are swapped. Please comment.

Related