Hi!
I am using SDK15.
I am using ble_app_uart and let's suppose that both of my characteristics (RX and TX) have char_md.char_props.write = 1; property so I am able to send some data from mobile app nRF Connect to Nordic chip.
How to tell if the data comes from RX Characteristic or TX Characteristic?
I have tried
static void on_write(ble_nus_t * p_nus, ble_evt_t const * p_ble_evt)
{
..
var1=p_evt_write->uuid.uuid;
..
}
but no success, variable values don't differ regardless of RX Char or TX Char.