Mbed OS Reference
Loading...
Searching...
No Matches
PeriodicAdvertisingReportEvent Struct Reference

Event generated when periodic advertising packet is received. More...

#include <Events.h>

Public Member Functions

periodic_sync_handle_t getSyncHandle () const
 Get periodic advertising sync handle. More...
 
advertising_power_t getTxPower () const
 Get TX power as reported by the advertising packet. More...
 
rssi_t getRssi () const
 Get received signal strength. More...
 
const advertising_data_status_t & getDataStatus () const
 Get data completeness status. More...
 
const mbed::Span< const uint8_t > & getPayload () const
 Get payload. More...
 

Detailed Description

Event generated when periodic advertising packet is received.

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

Definition at line 474 of file Events.h.

Member Function Documentation

◆ getSyncHandle()

periodic_sync_handle_t getSyncHandle ( ) const

Get periodic advertising sync handle.

Definition at line 503 of file Events.h.

◆ getTxPower()

advertising_power_t getTxPower ( ) const

Get TX power as reported by the advertising packet.

Definition at line 509 of file Events.h.

◆ getRssi()

rssi_t getRssi ( ) const

Get received signal strength.

Definition at line 515 of file Events.h.

◆ getDataStatus()

const advertising_data_status_t & getDataStatus ( ) const

Get data completeness status.

Definition at line 521 of file Events.h.

◆ getPayload()

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

Get payload.

Definition at line 527 of file Events.h.