Mistake on this page?
Report an issue in GitHub or email us
Public Member Functions
AdvertisingReportEvent Struct Reference
Ble » Gap

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_tgetType () const
 Get event type. More...
 
const peer_address_type_tgetPeerAddressType () const
 Get peer address type. More...
 
const address_tgetPeerAddress () const
 Get peer address. More...
 
const phy_tgetPrimaryPhy () const
 Get primary PHY. More...
 
const phy_tgetSecondaryPhy () 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_tgetDirectAddressType () const
 Get target address type in directed advertising. More...
 
const address_tgetDirectAddress () const
 Get target address in directed advertising. More...
 
const mbed::Span< const uint8_t > & getPayload () const
 Get payload. More...
 

Detailed Description

Event generated when an advertising packet is seen during passive scanning or a scan response is received during active scanning.

See also
ble::Gap::EventHandler::onPeriodicAdvertisingReport()

Definition at line 38 of file Events.h.

Member Function Documentation

const address_t& getDirectAddress ( ) const

Get target address in directed advertising.

Definition at line 153 of file Events.h.

const peer_address_type_t& getDirectAddressType ( ) const

Get target address type in directed advertising.

Definition at line 147 of file Events.h.

const mbed::Span<const uint8_t>& getPayload ( ) const

Get payload.

Definition at line 159 of file Events.h.

const address_t& getPeerAddress ( ) const

Get peer address.

Definition at line 100 of file Events.h.

const peer_address_type_t& getPeerAddressType ( ) const

Get peer address type.

Definition at line 94 of file Events.h.

periodic_interval_t getPeriodicInterval ( ) const

Get interval.

Definition at line 141 of file Events.h.

const phy_t& getPrimaryPhy ( ) const

Get primary PHY.

Definition at line 106 of file Events.h.

rssi_t getRssi ( ) const

Get received signal strength.

Definition at line 130 of file Events.h.

const phy_t& getSecondaryPhy ( ) const

Get secondary PHY.

Definition at line 112 of file Events.h.

advertising_sid_t getSID ( ) const

Get advertising set identifier.

Definition at line 118 of file Events.h.

advertising_power_t getTxPower ( ) const

Get TX power.

Definition at line 124 of file Events.h.

const advertising_event_t& getType ( ) const

Get event type.

Definition at line 88 of file Events.h.

bool isPeriodicIntervalPresent ( ) const

Indicate if periodic interval is valid.

Definition at line 136 of file Events.h.

Important Information for this Arm website

This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies. If you are not happy with the use of these cookies, please review our Cookie Policy to learn how they can be disabled. By disabling cookies, some features of the site will not work.