Minor temporary patch to allow DFU packet callback

Fork of BLE_API by Bluetooth Low Energy

Embed: (wiki syntax)

« Back to documentation index

GapAdvertisingParams Class Reference

GapAdvertisingParams Class Reference

This class provides a wrapper for the core advertising parameters, including the advertising type (Connectable Undirected, Non Connectable Undirected, etc.), as well as the advertising and timeout intervals. More...

#include <GapAdvertisingParams.h>

Public Types

enum  AdvertisingType { ADV_CONNECTABLE_UNDIRECTED, ADV_CONNECTABLE_DIRECTED, ADV_SCANNABLE_UNDIRECTED, ADV_NON_CONNECTABLE_UNDIRECTED }
 

Encapsulates the peripheral advertising modes, which determine how the device appears to other central devices in hearing range.

More...

Detailed Description

This class provides a wrapper for the core advertising parameters, including the advertising type (Connectable Undirected, Non Connectable Undirected, etc.), as well as the advertising and timeout intervals.

See the following for more information on advertising types:
  • Bluetooth Core Specification 4.0 (Vol. 6), Part B, Section 2.3.1
  • Bluetooth Core Specification 4.0 (Vol. 3), Part C, Section 9.3

Definition at line 35 of file GapAdvertisingParams.h.


Member Enumeration Documentation

Encapsulates the peripheral advertising modes, which determine how the device appears to other central devices in hearing range.

See the following for more information on advertising types:
  • Bluetooth Core Specification 4.0 (Vol. 6), Part B, Section 2.3.1
  • Bluetooth Core Specification 4.0 (Vol. 3), Part C, Section 9.3
Enumerator:
ADV_CONNECTABLE_UNDIRECTED 

Vol 3, Part C, Section 9.3.4 and Vol 6, Part B, Section 2.3.1.1.

ADV_CONNECTABLE_DIRECTED 

Vol 3, Part C, Section 9.3.3 and Vol 6, Part B, Section 2.3.1.2.

ADV_SCANNABLE_UNDIRECTED 

Include support for Scan Response payloads, see Vol 6, Part B, Section 2.3.1.4.

ADV_NON_CONNECTABLE_UNDIRECTED 

Vol 3, Part C, Section 9.3.2 and Vol 6, Part B, Section 2.3.1.3.

Definition at line 55 of file GapAdvertisingParams.h.