Hi,
I am trying to write a program that connects my phone to my nRF52840-DK board; I then send one of two commands from my phone, then the nRF52 will respond accordingly. I used the BLE UART example (ble_app_uart) to connect my phone to the board. Now I want to write "0x01" or "0x02" to make the board do something. When I write these into the Rx Characterstic nRF Connect app, nothing happens. I have checked if uart_evt_handle and ble_evt_handle functions can react to it, but they do not respond when I write something. I am using cases APP_UART_DATA_READY and BLE_GAP_EVT_PHY_UPDATE_REQUEST, but they do not respond to anything.
How should I solve this? Should I try something else entirely? I am very new to BLE and C programming.
Thanks,