add "LE Device Address" 0x1B to advertising data types
Fork of BLE_API by
GapAdvertisingParams Class Reference
This class provides a wrapper for the core advertising parameters, including the advertising type (Connectable Undirected, Non Connectable Undirected and so on), as well as the advertising and timeout intervals. More...
#include <GapAdvertisingParams.h>
Public Types | |
enum | AdvertisingType_t { ADV_CONNECTABLE_UNDIRECTED, ADV_CONNECTABLE_DIRECTED, ADV_SCANNABLE_UNDIRECTED, ADV_NON_CONNECTABLE_UNDIRECTED } |
Public Member Functions | |
uint16_t | getInterval (void) const |
uint16_t | getIntervalInADVUnits (void) const |
Static Public Attributes | |
static const uint16_t | UNIT_0_625_MS = 625 |
Number of microseconds in 0.625 milliseconds. |
Detailed Description
This class provides a wrapper for the core advertising parameters, including the advertising type (Connectable Undirected, Non Connectable Undirected and so on), as well as the advertising and timeout intervals.
Definition at line 26 of file GapAdvertisingParams.h.
Member Enumeration Documentation
enum AdvertisingType_t |
Encapsulates the peripheral advertising modes, which determine how the device appears to other central devices in hearing range.
- Enumerator:
Definition at line 37 of file GapAdvertisingParams.h.
Member Function Documentation
uint16_t getInterval | ( | void | ) | const |
- Returns:
- the advertisement interval (in milliseconds).
Definition at line 95 of file GapAdvertisingParams.h.
uint16_t getIntervalInADVUnits | ( | void | ) | const |
- Returns:
- the advertisement interval in advertisement duration units (0.625ms units).
Definition at line 102 of file GapAdvertisingParams.h.
Field Documentation
const uint16_t UNIT_0_625_MS = 625 [static] |
Number of microseconds in 0.625 milliseconds.
Definition at line 80 of file GapAdvertisingParams.h.
Generated on Fri Jul 15 2022 20:49:45 by 1.7.2