Hi guys,
is it possible to get the mac address of the connected device?
Didn't find anything in ble_evt_t
..
Thanks!
Edit: Sorry, i found it:
its in the ble_evt_t, iff p_ble_evt->header.evt_id == BLE_GAP_EVT_CONNECTED
:
ble_evt_t* p_ble_evt ... ;
ble_gap_addr_t addr = p_ble_evt->evt.gap_evt.params.connected.peer_addr;