When CENTRAL connects how can I read the UUID and ADDR of the peer?
static void ble_evt_handler(ble_evt_t const * p_ble_evt, void * p_context)
{
switch (p_ble_evt->header.evt_id)
{
case BLE_GAP_EVT_CONNECTED:
??
When CENTRAL connects how can I read the UUID and ADDR of the peer?
static void ble_evt_handler(ble_evt_t const * p_ble_evt, void * p_context)
{
switch (p_ble_evt->header.evt_id)
{
case BLE_GAP_EVT_CONNECTED:
??
Hi.
You can either check for the information in the BLE_GAP_EVT_ADV_REPORT.
Else, you can find this during service discovery of the device.
Best regards,
Joakim
Hi.
You can either check for the information in the BLE_GAP_EVT_ADV_REPORT.
Else, you can find this during service discovery of the device.
Best regards,
Joakim