|
enum | GapAdv_advChannels_t {
GAP_ADV_CHAN_37 = BV(0),
GAP_ADV_CHAN_38 = BV(1),
GAP_ADV_CHAN_39 = BV(2),
GAP_ADV_CHAN_37_38,
GAP_ADV_CHAN_37_39,
GAP_ADV_CHAN_38_39,
GAP_ADV_CHAN_ALL
} |
| GAP Advertiser Defines for Advertiser Channels. More...
|
|
enum | GapAdv_dataTypes_t { GAP_ADV_DATA_TYPE_ADV,
GAP_ADV_DATA_TYPE_SCAN_RSP
} |
| Gap Advertising Data Types. More...
|
|
enum | GapAdv_enableOptions_t { GAP_ADV_ENABLE_OPTIONS_USE_MAX,
GAP_ADV_ENABLE_OPTIONS_USE_DURATION,
GAP_ADV_ENABLE_OPTIONS_USE_MAX_EVENTS
} |
| Enable options for GapAdv_enable. More...
|
|
enum | GapAdv_eventMaskFlags_t {
GAP_ADV_EVT_MASK_SCAN_REQ_NOTI = AE_NOTIFY_ENABLE_SCAN_REQUEST,
GAP_ADV_EVT_MASK_SET_TERMINATED = BV(1),
GAP_ADV_EVT_MASK_START_AFTER_ENABLE = AE_NOTIFY_ENABLE_ADV_SET_START,
GAP_ADV_EVT_MASK_START = AE_NOTIFY_ENABLE_ADV_START,
GAP_ADV_EVT_MASK_END = AE_NOTIFY_ENABLE_ADV_END,
GAP_ADV_EVT_MASK_END_AFTER_DISABLE = AE_NOTIFY_ENABLE_ADV_SET_END,
GAP_ADV_EVT_MASK_ALL
} |
|
enum | GapAdv_eventProps_t {
GAP_ADV_PROP_CONNECTABLE = BV(0),
GAP_ADV_PROP_SCANNABLE = BV(1),
GAP_ADV_PROP_DIRECTED = BV(2),
GAP_ADV_PROP_HDC = BV(3),
GAP_ADV_PROP_LEGACY = BV(4),
GAP_ADV_PROP_ANONYMOUS = BV(5),
GAP_ADV_PROP_TX_POWER = BV(6)
} |
| GAP Advertising Event Param Properties. More...
|
|
enum | GapAdv_filterPolicy_t { GAP_ADV_WL_POLICY_ANY_REQ,
GAP_ADV_WL_POLICY_WL_SCAN_REQ,
GAP_ADV_WL_POLICY_WL_CONNECT_IND,
GAP_ADV_WL_POLICY_WL_ALL_REQ
} |
| GAP Advertiser White List Policy. More...
|
|
enum | GapAdv_freeBufferOptions_t { GAP_ADV_FREE_OPTION_DONT_FREE,
GAP_ADV_FREE_OPTION_ADV_DATA,
GAP_ADV_FREE_OPTION_SCAN_RESP_DATA
} |
| Possible free options for Gap Advertiser API's. More...
|
|
enum | GapAdv_primaryPHY_t { GAP_ADV_PRIM_PHY_1_MBPS = 0x01,
GAP_ADV_PRIM_PHY_CODED_S8 = 0x03,
GAP_ADV_PRIM_PHY_CODED_S2 = 0x83
} |
| Gap Advertiser Options for advertising on the primary PHY. More...
|
|
enum | GapAdv_secondaryPHY_t { GAP_ADV_SEC_PHY_1_MBPS = 0x01,
GAP_ADV_SEC_PHY_2_MBPS = 0x02,
GAP_ADV_SEC_PHY_CODED_S8 = 0x03,
GAP_ADV_SEC_PHY_CODED_S2 = 0x83
} |
| Gap Advertiser Options for advertising on the secondary PHY. More...
|
|
Other defines used in the GapAdv module
§ GAPADV_PARAMS_AE_LONG_RANGE_CONN
#define GAPADV_PARAMS_AE_LONG_RANGE_CONN |
Value:{ \
.primIntMin = 160, \
.primIntMax = 160, \
.peerAddr = { 0xaa, 0xaa, 0xaa, 0xaa, 0xaa, 0xaa }, \
.sid = 0 \
}
All Channels.
Definition: gap_advertiser.h:363
coded-s2
Definition: gap_advertiser.h:400
#define GAP_ADV_TX_POWER_NO_PREFERENCE
Allow the controller to choose the Tx power.
Definition: gap_advertiser.h:393
Definition: gap_advertiser.h:375
Connectable advertising.
Definition: gap_advertiser.h:308
coded-s2
Definition: gap_advertiser.h:409
Public or Public ID Address.
Definition: gap.h:729
Default parameters for long range, connectable, advertising extension.
§ GAPADV_PARAMS_AE_NC_NS
#define GAPADV_PARAMS_AE_NC_NS |
Value:{ \
.eventProps = 0, \
.primIntMin = 160, \
.primIntMax = 160, \
.peerAddr = { 0xaa, 0xaa, 0xaa, 0xaa, 0xaa, 0xaa }, \
.sid = 1 \
}
All Channels.
Definition: gap_advertiser.h:363
1 mbps
Definition: gap_advertiser.h:398
#define GAP_ADV_TX_POWER_NO_PREFERENCE
Allow the controller to choose the Tx power.
Definition: gap_advertiser.h:393
Definition: gap_advertiser.h:375
1 mbps
Definition: gap_advertiser.h:406
Public or Public ID Address.
Definition: gap.h:729
Non-Connectable & Non-Scannable advertising set.
§ GAPADV_PARAMS_LEGACY_SCANN_CONN
#define GAPADV_PARAMS_LEGACY_SCANN_CONN |
Value:{ \
GAP_ADV_PROP_LEGACY, \
.primIntMin = 160, \
.primIntMax = 160, \
.peerAddr = { 0xaa, 0xaa, 0xaa, 0xaa, 0xaa, 0xaa }, \
.sid = 0 \
}
All Channels.
Definition: gap_advertiser.h:363
1 mbps
Definition: gap_advertiser.h:398
#define GAP_ADV_TX_POWER_NO_PREFERENCE
Allow the controller to choose the Tx power.
Definition: gap_advertiser.h:393
Scannable advertising.
Definition: gap_advertiser.h:309
Definition: gap_advertiser.h:375
1 mbps
Definition: gap_advertiser.h:406
Connectable advertising.
Definition: gap_advertiser.h:308
Public or Public ID Address.
Definition: gap.h:729
Default parameters for legacy, scannable, connectable advertising.
§ GapAdv_advChannels_t
GAP Advertiser Defines for Advertiser Channels.
Enumerator |
---|
GAP_ADV_CHAN_37 | Channel 37.
|
GAP_ADV_CHAN_38 | Channel 38.
|
GAP_ADV_CHAN_39 | Channel 39.
|
GAP_ADV_CHAN_37_38 | Channels 37 & 38.
|
GAP_ADV_CHAN_37_39 | Channels 37 & 39.
|
GAP_ADV_CHAN_38_39 | Channels 38 & 39.
|
GAP_ADV_CHAN_ALL | All Channels.
|
§ GapAdv_dataTypes_t
Gap Advertising Data Types.
Enumerator |
---|
GAP_ADV_DATA_TYPE_ADV | Advertising data.
|
GAP_ADV_DATA_TYPE_SCAN_RSP | Scan response data.
|
§ GapAdv_enableOptions_t
Enable options for GapAdv_enable.
Enumerator |
---|
GAP_ADV_ENABLE_OPTIONS_USE_MAX | Use the maximum possible value. This is the spec-defined maximum for directed advertising and infinite advertising for all other types
|
GAP_ADV_ENABLE_OPTIONS_USE_DURATION | Use the user-specified duration
|
GAP_ADV_ENABLE_OPTIONS_USE_MAX_EVENTS | Use the user-specified maximum number of events
|
§ GapAdv_eventMaskFlags_t
§ GapAdv_eventProps_t
GAP Advertising Event Param Properties.
Enumerator |
---|
GAP_ADV_PROP_CONNECTABLE | Connectable advertising.
|
GAP_ADV_PROP_SCANNABLE | Scannable advertising.
|
GAP_ADV_PROP_DIRECTED | Directed advertising.
|
GAP_ADV_PROP_HDC | High Duty Cycle Directed Advertising.
|
GAP_ADV_PROP_LEGACY | Use legacy advertising PDU's.
|
GAP_ADV_PROP_ANONYMOUS | Omit advertiser's address from PDU's.
|
GAP_ADV_PROP_TX_POWER | Include TxPower in the extended header of the advertising PDU
|
§ GapAdv_filterPolicy_t
GAP Advertiser White List Policy.
Enumerator |
---|
GAP_ADV_WL_POLICY_ANY_REQ | Process scan and connection requests from all devices (i.e., the White List is not in use)
|
GAP_ADV_WL_POLICY_WL_SCAN_REQ | Process connection requests from all devices and only scan requests from devices that are in the White List
|
GAP_ADV_WL_POLICY_WL_CONNECT_IND | Process scan requests from all devices and only connection requests from devices that are in the White List.
|
GAP_ADV_WL_POLICY_WL_ALL_REQ | Process scan and connection requests only from devices in the White List.
|
§ GapAdv_freeBufferOptions_t
Possible free options for Gap Advertiser API's.
Enumerator |
---|
GAP_ADV_FREE_OPTION_DONT_FREE | Don't free anything.
|
GAP_ADV_FREE_OPTION_ADV_DATA | Free the advertising data.
|
GAP_ADV_FREE_OPTION_SCAN_RESP_DATA | Free the scan response data.
|
§ GapAdv_primaryPHY_t
Gap Advertiser Options for advertising on the primary PHY.
Enumerator |
---|
GAP_ADV_PRIM_PHY_1_MBPS | 1 mbps
|
GAP_ADV_PRIM_PHY_CODED_S8 | coded-s8
|
GAP_ADV_PRIM_PHY_CODED_S2 | coded-s2
|
§ GapAdv_secondaryPHY_t
Gap Advertiser Options for advertising on the secondary PHY.
Enumerator |
---|
GAP_ADV_SEC_PHY_1_MBPS | 1 mbps
|
GAP_ADV_SEC_PHY_2_MBPS | 2 mbps
|
GAP_ADV_SEC_PHY_CODED_S8 | coded-s8
|
GAP_ADV_SEC_PHY_CODED_S2 | coded-s2
|