Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Gap::AdvertisementCallbackParams_t Struct Reference
Representation of a scanned advertising packet. More...
#include <Gap.h>
Public Member Functions | |
AdvertisementCallbackParams_t () | |
Default constructor. | |
MBED_DEPRECATED_SINCE ("mbed-os-5.9.0","addressType won't work in connect when privacy is enabled; please""use peerAddrType") AddressType_t addressType | |
Type of the address received. | |
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. | |
PeerAddressType_t | peerAddrType |
Type of the address received. |
Detailed Description
Representation of a scanned advertising packet.
Instances of this type are passed to the callback registered in startScan().
Definition at line 667 of file Gap.h.
Constructor & Destructor Documentation
Member Function Documentation
MBED_DEPRECATED_SINCE | ( | "mbed-os-5.9.0" | , |
"addressType won't work in connect when privacy is enabled; please""use peerAddrType" | |||
) |
Type of the address received.
- Note:
- This value should be used in the connect function to establish a connection with the peer that has sent this advertisement packet.
Field Documentation
const uint8_t* advertisingData |
uint8_t advertisingDataLen |
bool isScanResponse |
Generated on Tue Aug 9 2022 00:37:33 by
