Event generated when an advertising packet is seen during passive scanning or a scan response is received during active scanning. More...
#include <Events.h>
Public Member Functions | |
const advertising_event_t & | getType () const |
Get event type. More... | |
const peer_address_type_t & | getPeerAddressType () const |
Get peer address type. More... | |
const address_t & | getPeerAddress () const |
Get peer address. More... | |
const phy_t & | getPrimaryPhy () const |
Get primary PHY. More... | |
const phy_t & | getSecondaryPhy () const |
Get secondary PHY. More... | |
advertising_sid_t | getSID () const |
Get advertising set identifier. More... | |
advertising_power_t | getTxPower () const |
Get TX power. More... | |
rssi_t | getRssi () const |
Get received signal strength. More... | |
bool | isPeriodicIntervalPresent () const |
Indicate if periodic interval is valid. More... | |
periodic_interval_t | getPeriodicInterval () const |
Get interval. More... | |
const peer_address_type_t & | getDirectAddressType () const |
Get target address type in directed advertising. More... | |
const address_t & | getDirectAddress () const |
Get target address in directed advertising. More... | |
const mbed::Span< const uint8_t > & | getPayload () const |
Get payload. More... | |
void | setPeerAddress (const address_t &newPeerAddress) |
Set peer address. More... | |
void | setPeerAddressType (const peer_address_type_t &newPeerAddressType) |
Set peer address type. More... | |
void | setAdvertisingData (const mbed::Span< const uint8_t > &newAdvertisingData) |
Set new advertising payload. More... | |
Event generated when an advertising packet is seen during passive scanning or a scan response is received during active scanning.
const address_t& getDirectAddress | ( | ) | const |
const peer_address_type_t& getDirectAddressType | ( | ) | const |
const mbed::Span<const uint8_t>& getPayload | ( | ) | const |
const address_t& getPeerAddress | ( | ) | const |
const peer_address_type_t& getPeerAddressType | ( | ) | const |
periodic_interval_t getPeriodicInterval | ( | ) | const |
advertising_sid_t getSID | ( | ) | const |
const advertising_event_t& getType | ( | ) | const |
bool isPeriodicIntervalPresent | ( | ) | const |
void setAdvertisingData | ( | const mbed::Span< const uint8_t > & | newAdvertisingData | ) |
void setPeerAddress | ( | const address_t & | newPeerAddress | ) |
void setPeerAddressType | ( | const peer_address_type_t & | newPeerAddressType | ) |