adaptation for book and plug demo

Dependents:   BookAndPlug

Fork of BLE_API by Bluetooth Low Energy

Embed: (wiki syntax)

« Back to documentation index

Gap::AdvertisementCallbackParams_t Struct Reference

Gap::AdvertisementCallbackParams_t Struct Reference

Structure containing data and metadata of a scanned advertising packet. More...

#include <Gap.h>

Data Fields

BLEProtocol::AddressBytes_t peerAddr
 The peer's BLE address.
int8_t rssi
 The advertisement packet RSSI value.
bool isScanResponse
 Whether this packet is the response to a scan request.
GapAdvertisingParams::AdvertisingType_t type
 The type of advertisement.
uint8_t advertisingDataLen
 Length of the advertisement data.
const uint8_t * advertisingData
 Pointer to the advertisement packet's data.

Detailed Description

Structure containing data and metadata of a scanned advertising packet.

Definition at line 199 of file Gap.h.


Field Documentation

const uint8_t* advertisingData

Pointer to the advertisement packet's data.

Definition at line 205 of file Gap.h.

Length of the advertisement data.

Definition at line 204 of file Gap.h.

Whether this packet is the response to a scan request.

Definition at line 202 of file Gap.h.

The peer's BLE address.

Definition at line 200 of file Gap.h.

int8_t rssi

The advertisement packet RSSI value.

Definition at line 201 of file Gap.h.

The type of advertisement.

Definition at line 203 of file Gap.h.