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.
Dependents: TYBLE16_simple_data_logger TYBLE16_MP3_Air
PeriodicAdvertisingReportEvent Struct Reference
[Gap]
Event generated when periodic advertising packet is received. More...
#include <Events.h>
Public Member Functions | |
PeriodicAdvertisingReportEvent (periodic_sync_handle_t syncHandle, advertising_power_t txPower, rssi_t rssi, advertising_data_status_t dataStatus, const mbed::Span< const uint8_t > &payload) | |
Create periodic advertising report event. | |
periodic_sync_handle_t | getSyncHandle () const |
Get periodic advertising sync handle. | |
advertising_power_t | getTxPower () const |
Get TX power as reported by the advertising packet. | |
rssi_t | getRssi () const |
Get received signal strength. | |
const advertising_data_status_t & | getDataStatus () const |
Get data completeness status. | |
const mbed::Span< const uint8_t > & | getPayload () const |
Get payload. |
Detailed Description
Event generated when periodic advertising packet is received.
- See also:
- ble::Gap::EventHandler::onPeriodicAdvertisingReport().
Definition at line 416 of file Events.h.
Constructor & Destructor Documentation
PeriodicAdvertisingReportEvent | ( | periodic_sync_handle_t | syncHandle, |
advertising_power_t | txPower, | ||
rssi_t | rssi, | ||
advertising_data_status_t | dataStatus, | ||
const mbed::Span< const uint8_t > & | payload | ||
) |
Member Function Documentation
const advertising_data_status_t& getDataStatus | ( | ) | const |
const mbed::Span<const uint8_t>& getPayload | ( | ) | const |
periodic_sync_handle_t getSyncHandle | ( | ) | const |
advertising_power_t getTxPower | ( | ) | const |
Generated on Tue Jul 12 2022 13:55:40 by
