Kenji Arai / mbed-os_TYBLE16

Dependents:   TYBLE16_simple_data_logger TYBLE16_MP3_Air

Embed: (wiki syntax)

« Back to documentation index

advertising_event_t Struct Reference

advertising_event_t Struct Reference
[Gap]

Properties of an advertising event. More...

#include <Types.h>

Public Member Functions

 advertising_event_t (uint8_t value)
 Create based on a raw value.
bool connectable () const
 Is advertising connectable.
bool scannable_advertising () const
 Is advertising scannable.
bool directed_advertising () const
 Is advertising directed.
bool scan_response () const
 Is this a scan response.
bool legacy_advertising () const
 Is this legacy advertising.
advertising_data_status_t data_status () const
 Payload completeness status.
bool complete () const
 Is payload complete.
bool more_data_to_come () const
 Is there more data coming.
bool truncated () const
 Is the payload truncated.

Detailed Description

Properties of an advertising event.

Definition at line 252 of file Types.h.


Constructor & Destructor Documentation

advertising_event_t ( uint8_t  value ) [explicit]

Create based on a raw value.

Parameters:
value

Definition at line 278 of file Types.h.


Member Function Documentation

bool complete (  ) const

Is payload complete.

Returns:
True if payload is coplete.

Definition at line 344 of file Types.h.

bool connectable (  ) const

Is advertising connectable.

Returns:
True if connectable.

Definition at line 288 of file Types.h.

advertising_data_status_t data_status (  ) const

Payload completeness status.

Returns:
See also:
advertising_data_status_t for details.

Definition at line 333 of file Types.h.

bool directed_advertising (  ) const

Is advertising directed.

Returns:
True if directed.

Definition at line 306 of file Types.h.

bool legacy_advertising (  ) const

Is this legacy advertising.

Returns:
True if legacy.

Definition at line 324 of file Types.h.

bool more_data_to_come (  ) const

Is there more data coming.

Returns:
True if more data coming.

Definition at line 353 of file Types.h.

bool scan_response (  ) const

Is this a scan response.

Returns:
True if scan response.

Definition at line 315 of file Types.h.

bool scannable_advertising (  ) const

Is advertising scannable.

Returns:
True if scannable

Definition at line 297 of file Types.h.

bool truncated (  ) const

Is the payload truncated.

Returns:
True if no more data coming.

Definition at line 362 of file Types.h.