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

Event produced when a peer requests a scan response from the advertiser. More...

#include <Events.h>

Public Member Functions

advertising_handle_t getAdvHandle () const
 Get advertising handle. More...
 
const peer_address_type_tgetPeerAddressType () const
 Get peer address type. More...
 
const address_tgetPeerAddress () const
 Get peer address. More...
 

Detailed Description

Event produced when a peer requests a scan response from the advertiser.

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

Definition at line 725 of file Events.h.

Member Function Documentation

◆ getAdvHandle()

advertising_handle_t getAdvHandle ( ) const

Get advertising handle.

Definition at line 748 of file Events.h.

◆ getPeerAddressType()

const peer_address_type_t & getPeerAddressType ( ) const

Get peer address type.

Definition at line 754 of file Events.h.

◆ getPeerAddress()

const address_t & getPeerAddress ( ) const

Get peer address.

Definition at line 760 of file Events.h.