S112 SoftDevice v6.0.0
Data Fields
ble_gap_evt_connected_t Struct Reference

Event structure for BLE_GAP_EVT_CONNECTED. More...

#include <ble_gap.h>

Data Fields

ble_gap_addr_t peer_addr
 
uint8_t role
 
ble_gap_conn_params_t conn_params
 
uint8_t adv_handle
 
ble_gap_adv_data_t adv_data
 

Detailed Description

Event structure for BLE_GAP_EVT_CONNECTED.

Field Documentation

ble_gap_adv_data_t ble_gap_evt_connected_t::adv_data
               Advertising buffers corresponding to the terminated

advertising set. The advertising buffers provided in sd_ble_gap_adv_set_configure are now released. This variable is only set if role is set to BLE_GAP_ROLE_PERIPH.

uint8_t ble_gap_evt_connected_t::adv_handle
             Advertising handle in which advertising has ended.

This variable is only set if role is set to BLE_GAP_ROLE_PERIPH.

ble_gap_conn_params_t ble_gap_evt_connected_t::conn_params

GAP Connection Parameters.

ble_gap_addr_t ble_gap_evt_connected_t::peer_addr
              Bluetooth address of the peer device. If the peer_addr resolved: @ref ble_gap_addr_t::addr_id_peer is set to 1

and the address is the device's identity address.

uint8_t ble_gap_evt_connected_t::role

BLE role for this connection, see GAP Roles


Documentation feedback | Developer Zone | Subscribe | Updated