ble_gap_addr_t

S140 SoftDevice v6.1.0 API

Bluetooth Low Energy address. More...

#include <ble_gap.h>

Data Fields

uint8_t addr_id_peer : 1
uint8_t addr_type : 7
uint8_t addr [(6)]

Detailed Description

Bluetooth Low Energy address.

Field Documentation

uint8_t ble_gap_addr_t::addr[(6)]

48-bit address, LSB format. addr is not used if addr_type is BLE_GAP_ADDR_TYPE_ANONYMOUS .

uint8_t ble_gap_addr_t::addr_id_peer
    Only valid for peer addresses.

This bit is set by the SoftDevice to indicate whether the address has been resolved from a Resolvable Private Address (when the peer is using privacy). If set to 1, addr and addr_type refer to the identity address of the resolved address.

This bit is ignored when a variable of type ble_gap_addr_t is used as input to API functions.

uint8_t ble_gap_addr_t::addr_type