Rtos API example

Embed: (wiki syntax)

« Back to documentation index

Gap::AdvertisementCallbackParams_t Struct Reference

Gap::AdvertisementCallbackParams_t Struct Reference

Representation of a scanned advertising packet. More...

#include <Gap.h>

Data Fields

BLEProtocol::AddressBytes_t peerAddr
 BLE address of the device that has advertised the packet.
int8_t rssi
 RSSI value of the packet.
bool isScanResponse
 Flag indicating if the packet is a response to a scan request.
GapAdvertisingParams::AdvertisingType_t type
 Type of advertisement.
uint8_t advertisingDataLen
 Length of the advertisement data.
const uint8_t * advertisingData
 Pointer to the advertisement packet's data.

Detailed Description

Representation of a scanned advertising packet.

Instances of this type are passed to the callback registered in startScan().

Definition at line 581 of file Gap.h.


Field Documentation

const uint8_t* advertisingData

Pointer to the advertisement packet's data.

Definition at line 610 of file Gap.h.

Length of the advertisement data.

Definition at line 605 of file Gap.h.

Flag indicating if the packet is a response to a scan request.

Definition at line 595 of file Gap.h.

BLE address of the device that has advertised the packet.

Definition at line 585 of file Gap.h.

int8_t rssi

RSSI value of the packet.

Definition at line 590 of file Gap.h.

Type of advertisement.

Definition at line 600 of file Gap.h.