Enumerations

enum  gap_role_t {
  BLE_GAP_ROLE_NONE = 0x00, BLE_GAP_ROLE_OBSERVER = 0x01, BLE_GAP_ROLE_BROADCASTER = 0x02, BLE_GAP_ROLE_CENTRAL = (0x04 | BLE_GAP_ROLE_OBSERVER),
  BLE_GAP_ROLE_PERIPHERAL = (0x08 | BLE_GAP_ROLE_BROADCASTER), BLE_GAP_ROLE_ALL = (BLE_GAP_ROLE_CENTRAL | BLE_GAP_ROLE_PERIPHERAL)
}
 GAP role options. More...
 
enum  gap_own_addr_t { BLE_GAP_OWN_ADDR_STATIC = 0, BLE_GAP_OWN_ADDR_GEN_RSLV, BLE_GAP_OWN_ADDR_GEN_NON_RSLV }
 Own BD address source of the device. More...
 
enum  gap_dev_name_write_perm_t {
  BLE_GAP_WRITE_PERM_DISABLE = 0, BLE_GAP_WRITE_PERM_NOAUTH, BLE_GAP_WRITE_PERM_UNAUTH, BLE_GAP_WRITE_PERM_AUTH,
  BLE_GAP_WRITE_PERM_SEC_CON
}
 Write permissions of the device name characteristic. More...
 
enum  gap_adv_data_type_t { BLE_GAP_ADV_DATA_TYPE_DATA = 0, BLE_GAP_ADV_DATA_TYPE_SCAN_RSP, BLE_GAP_ADV_DATA_TYPE_PER_DATA }
 Advertising data type. More...
 
enum  gap_dev_info_get_type_t {
  BLE_GAP_GET_DEV_VERSION = 0, BLE_GAP_GET_DEV_BDADDR, BLE_GAP_GET_SUGGESTED_DFLT_LE_DATA_LEN, BLE_GAP_GET_MAX_LE_DATA_LEN,
  BLE_GAP_GET_NB_ADV_SETS, BLE_GAP_GET_MAX_LE_ADV_DATA_LEN, BLE_GAP_GET_DEV_TX_POWER, BLE_GAP_GET_DEV_RF_RF_PATH_COMP
}
 Get device parameters operation code. More...
 
enum  gap_adv_mode_t {
  GAP_ADV_TYPE_ADV_IND = 0, GAP_ADV_TYPE_ADV_NONCONN_IND, GAP_ADV_TYPE_ADV_SCAN_IND, GAP_ADV_TYPE_ADV_HIGH_DIRECT_IND,
  GAP_ADV_TYPE_ADV_LOW_DIRECT_IND
}
 GAP advertising modes. More...
 
enum  gap_disc_mode_t { GAP_DISC_MODE_NON_DISCOVERABLE = 0, GAP_DISC_MODE_GEN_DISCOVERABLE, GAP_DISC_MODE_LIM_DISCOVERABLE, GAP_DISC_MODE_BROADCASTER }
 GAP discoverability modes. More...
 
enum  gap_adv_filter_policy_t { GAP_ADV_ALLOW_SCAN_ANY_CON_ANY = 0, GAP_ADV_ALLOW_SCAN_WLST_CON_ANY, GAP_ADV_ALLOW_SCAN_ANY_CON_WLST, GAP_ADV_ALLOW_SCAN_WLST_CON_WLST }
 Advertising filter policy. More...
 
enum  gap_le_phy_value_t { GAP_PHY_UNDEF_VALUE = 0, GAP_PHY_1MBPS_VALUE = 1, GAP_PHY_2MBPS_VALUE = 2, GAP_PHY_CODED_VALUE = 3 }
 Specify what PHY the Controller has changed for TX/RX. HCI:7.7.65.12. More...
 
enum  gap_adv_type_t { GAP_ADV_TYPE_LEGACY = 0, GAP_ADV_TYPE_EXTENDED, GAP_ADV_TYPE_PERIODIC }
 Advertising type. More...
 
enum  gap_adv_prop_pos_t {
  GAP_ADV_PROP_CONNECTABLE_POS = 0, GAP_ADV_PROP_SCANNABLE_POS, GAP_ADV_PROP_DIRECTED_POS, GAP_ADV_PROP_HDC_POS,
  GAP_ADV_PROP_USE_LEGACY_PDUS_POS, GAP_ADV_PROP_ANONYMOUS_POS, GAP_ADV_PROP_TX_PWR_POS, GAP_ADV_PROP_PER_TX_PWR_POS,
  GAP_ADV_PROP_SCAN_REQ_NTF_EN_POS
}
 Advertising properties bit field and bit positions. More...
 
enum  gap_adv_prop_t {
  GAP_ADV_PROP_CONNECTABLE_BIT = CO_BIT(GAP_ADV_PROP_CONNECTABLE_POS), GAP_ADV_PROP_SCANNABLE_BIT = CO_BIT(GAP_ADV_PROP_SCANNABLE_POS), GAP_ADV_PROP_DIRECTED_BIT = CO_BIT(GAP_ADV_PROP_DIRECTED_POS), GAP_ADV_PROP_HDC_BIT = CO_BIT(GAP_ADV_PROP_HDC_POS),
  GAP_ADV_PROP_USE_LEGACY_PDUS_BIT = CO_BIT(GAP_ADV_PROP_USE_LEGACY_PDUS_POS), GAP_ADV_PROP_ANONYMOUS_BIT = CO_BIT(GAP_ADV_PROP_ANONYMOUS_POS), GAP_ADV_PROP_TX_PWR_BIT = CO_BIT(GAP_ADV_PROP_TX_PWR_POS), GAP_ADV_PROP_PER_TX_PWR_BIT = CO_BIT(GAP_ADV_PROP_PER_TX_PWR_POS),
  GAP_ADV_PROP_SCAN_REQ_NTF_EN_BIT = CO_BIT(GAP_ADV_PROP_SCAN_REQ_NTF_EN_POS)
}
 Advertising properties bit field bit value.
 
enum  gap_scan_type_t { GAP_SCAN_ACTIVE = 0, GAP_SCAN_PASSIVE }
 Scanning types. More...
 
enum  gap_scan_mode_t { GAP_SCAN_GEN_DISC_MODE = 0, GAP_SCAN_LIM_DISC_MODE, GAP_SCAN_OBSERVER_MODE }
 Scanning modes. More...
 
enum  gap_scan_dup_filt_policy_t { GAP_SCAN_FILT_DUPLIC_DIS = 0, GAP_SCAN_FILT_DUPLIC_EN }
 Duplicate filter policy. More...
 
enum  gap_ext_scan_type_t {
  GAP_EXT_SCAN_TYPE_GEN_DISC = 0, GAP_EXT_SCAN_TYPE_LIM_DISC, GAP_EXT_SCAN_TYPE_OBSERVER, GAP_EXT_SCAN_TYPE_SEL_OBSERVER,
  GAP_EXT_SCAN_TYPE_CONN_DISC, GAP_EXT_SCAN_TYPE_SEL_CONN_DISC
}
 Extended scanning types. More...
 
enum  gap_scan_prop_t {
  GAP_EXT_SCAN_PROP_PHY_1M_BIT = (1 << 0), GAP_EXT_SCAN_PROP_PHY_CODED_BIT = (1 << 1), GAP_EXT_SCAN_PROP_ACTIVE_1M_BIT = (1 << 2), GAP_EXT_SCAN_PROP_ACTIVE_CODED_BIT = (1 << 3),
  GAP_EXT_SCAN_PROP_ACCEPT_RPA_BIT = (1 << 4), GAP_EXT_SCAN_PROP_FILT_TRUNC_BIT = (1 << 5)
}
 Scanning properties bit field bit value. More...
 
enum  gap_ext_scan_dup_filt_policy_t { GAP_EXT_DUP_FILT_DIS = 0, GAP_EXT_DUP_FILT_EN, GAP_EXT_DUP_FILT_EN_PERIOD }
 Filtering policy for duplicated packets. More...
 
enum  gap_init_type_t { GAP_INIT_TYPE_DIRECT_CONN_EST = 0, GAP_INIT_TYPE_AUTO_CONN_EST, GAP_INIT_TYPE_NAME_DISC }
 Initiating types. More...
 
enum  gap_init_prop_t { GAP_INIT_PROP_1M_BIT = (1 << 0), GAP_INIT_PROP_2M_BIT = (1 << 1), GAP_INIT_PROP_CODED_BIT = (1 << 2) }
 Initiating properties. More...
 
enum  gap_scan_prop {
  GAP_SCAN_PROP_PHY_1M_BIT = (1 << 0), GAP_SCAN_PROP_PHY_CODED_BIT = (1 << 1), GAP_SCAN_PROP_ACTIVE_1M_BIT = (1 << 2), GAP_SCAN_PROP_ACTIVE_CODED_BIT = (1 << 3),
  GAP_SCAN_PROP_ACCEPT_RPA_BIT = (1 << 4), GAP_SCAN_PROP_FILT_TRUNC_BIT = (1 << 5)
}
 Scanning properties bit field bit value. More...
 
enum  gap_per_sync_type { GAP_PER_SYNC_TYPE_GENERAL = 0, GAP_PER_SYNC_TYPE_SELECTIVE }
 Periodic synchronization types. More...
 
enum  gap_sec_lvl_type { GAP_SEC_LVL_NO_SECURITY = 0, GAP_SEC_LVL_ENC_NO_AUTH, GAP_SEC_LVL_LE_ENC_AUTH, GAP_SEC_LVL_SC_ENC_AUTH }
 Security level types. More...
 
enum  gap_ad_type_t {
  BLE_GAP_AD_TYPE_FLAGS = 0x01, BLE_GAP_AD_TYPE_MORE_16_BIT_UUID = 0x02, BLE_GAP_AD_TYPE_COMPLETE_LIST_16_BIT_UUID = 0x03, BLE_GAP_AD_TYPE_MORE_32_BIT_UUID = 0x04,
  BLE_GAP_AD_TYPE_COMPLETE_LIST_32_BIT_UUID = 0x05, BLE_GAP_AD_TYPE_MORE_128_BIT_UUID = 0x06, BLE_GAP_AD_TYPE_COMPLETE_LIST_128_BIT_UUID = 0x07, BLE_GAP_AD_TYPE_SHORTENED_NAME = 0x08,
  BLE_GAP_AD_TYPE_COMPLETE_NAME = 0x09, BLE_GAP_AD_TYPE_TRANSMIT_POWER = 0x0A, BLE_GAP_AD_TYPE_CLASS_OF_DEVICE = 0x0D, BLE_GAP_AD_TYPE_SP_HASH_C = 0x0E,
  BLE_GAP_AD_TYPE_SP_RANDOMIZER_R = 0x0F, BLE_GAP_AD_TYPE_TK_VALUE = 0x10, BLE_GAP_AD_TYPE_OOB_FLAGS = 0x11, BLE_GAP_AD_TYPE_SLAVE_CONN_INT_RANGE = 0x12,
  BLE_GAP_AD_TYPE_RQRD_16_BIT_SVC_UUID = 0x14, BLE_GAP_AD_TYPE_RQRD_32_BIT_SVC_UUID = 0x1F, BLE_GAP_AD_TYPE_RQRD_128_BIT_SVC_UUID = 0x15, BLE_GAP_AD_TYPE_SERVICE_16_BIT_DATA = 0x16,
  BLE_GAP_AD_TYPE_SERVICE_32_BIT_DATA = 0x20, BLE_GAP_AD_TYPE_SERVICE_128_BIT_DATA = 0x21, BLE_GAP_AD_TYPE_PUB_TGT_ADDR = 0x17, BLE_GAP_AD_TYPE_RAND_TGT_ADDR = 0x18,
  BLE_GAP_AD_TYPE_APPEARANCE = 0x19, BLE_GAP_AD_TYPE_ADV_INTV = 0x1A, BLE_GAP_AD_TYPE_LE_BT_ADDR = 0x1B, BLE_GAP_AD_TYPE_LE_ROLE = 0x1C,
  BLE_GAP_AD_TYPE_SPAIR_HASH = 0x1D, BLE_GAP_AD_TYPE_SPAIR_RAND = 0x1E, BLE_GAP_AD_TYPE_3D_INFO = 0x3D, BLE_GAP_AD_TYPE_MANU_SPECIFIC_DATA = 0xFF
}
 GAP advertising types. More...
 
enum  gap_adv_flags_t {
  GAP_ADV_FLAG_LE_LIMITED_DISC_MODE = 0x01, GAP_ADV_FLAG_LE_GENERAL_DISC_MODE = 0x02, GAP_ADV_FLAG_BR_EDR_NOT_SUPPORTED = 0x04, GAP_ADV_FLAG_SIMUL_BR_EDR_LE_CONTROLLER = 0x08,
  GAP_ADV_FLAG_SIMUL_BR_EDR_LE_HOST = 0x10
}
 AD Type Flag - Bit mask. More...
 
enum  privacy_mode_t { PRIVACY_MODE_NETWORK = 0x00, PRIVACY_MODE_DEVICE = 0x01 }
 Privacy mode. More...
 
enum  gap_activity_role_t { GAP_ACTIVITY_ROLE_ADV = 0, GAP_ACTIVITY_ROLE_CON = 1, GAP_ACTIVITY_ROLE_SCAN_INIT = 2, GAP_ACTIVITY_ROLE_UNKNOWN = 0xf }
 Possible roles of the activity. More...
 
enum  ble_actv_type_t { TYPE_ADV = 0, TYPE_SCAN, TYPE_INIT, TYPE_PER_SYNC }
 Activity type.
 

Detailed Description

Enumeration Type Documentation

◆ gap_activity_role_t

Possible roles of the activity.

Enumerator
GAP_ACTIVITY_ROLE_ADV 

Adertise role.

GAP_ACTIVITY_ROLE_CON 

Connect role.

GAP_ACTIVITY_ROLE_SCAN_INIT 

Scann role.

GAP_ACTIVITY_ROLE_UNKNOWN 

Unknown role.

◆ gap_ad_type_t

GAP advertising types.

Enumerator
BLE_GAP_AD_TYPE_FLAGS 

Flag.

BLE_GAP_AD_TYPE_MORE_16_BIT_UUID 

Use of more than 16-bit UUID.

BLE_GAP_AD_TYPE_COMPLETE_LIST_16_BIT_UUID 

Complete List of 16-bit UUID.

BLE_GAP_AD_TYPE_MORE_32_BIT_UUID 

Use of more than 32-bit UUD.

BLE_GAP_AD_TYPE_COMPLETE_LIST_32_BIT_UUID 

Complete List of 32-bit UUID.

BLE_GAP_AD_TYPE_MORE_128_BIT_UUID 

Use of more than 128-bit UUID.

BLE_GAP_AD_TYPE_COMPLETE_LIST_128_BIT_UUID 

Complete List of 128-bit UUID.

BLE_GAP_AD_TYPE_SHORTENED_NAME 

Shortened Device name.

BLE_GAP_AD_TYPE_COMPLETE_NAME 

Complete Device name.

BLE_GAP_AD_TYPE_TRANSMIT_POWER 

Transmit power.

BLE_GAP_AD_TYPE_CLASS_OF_DEVICE 

Class of device.

BLE_GAP_AD_TYPE_SP_HASH_C 

Simple Pairing Hash C.

BLE_GAP_AD_TYPE_SP_RANDOMIZER_R 

Simple Pairing Randomizer.

BLE_GAP_AD_TYPE_TK_VALUE 

Temporary key value.

BLE_GAP_AD_TYPE_OOB_FLAGS 

Out of Band Flag.

BLE_GAP_AD_TYPE_SLAVE_CONN_INT_RANGE 

Slave connection interval range.

BLE_GAP_AD_TYPE_RQRD_16_BIT_SVC_UUID 

Require 16-bit service UUID.

BLE_GAP_AD_TYPE_RQRD_32_BIT_SVC_UUID 

Require 32-bit service UUID.

BLE_GAP_AD_TYPE_RQRD_128_BIT_SVC_UUID 

Require 128-bit service UUID.

BLE_GAP_AD_TYPE_SERVICE_16_BIT_DATA 

Service data 16-bit UUID.

BLE_GAP_AD_TYPE_SERVICE_32_BIT_DATA 

Service data 32-bit UUID.

BLE_GAP_AD_TYPE_SERVICE_128_BIT_DATA 

Service data 128-bit UUID.

BLE_GAP_AD_TYPE_PUB_TGT_ADDR 

Public Target Address.

BLE_GAP_AD_TYPE_RAND_TGT_ADDR 

Random Target Address.

BLE_GAP_AD_TYPE_APPEARANCE 

Appearance.

BLE_GAP_AD_TYPE_ADV_INTV 

Advertising Interval.

BLE_GAP_AD_TYPE_LE_BT_ADDR 

LE Bluetooth Device Address.

BLE_GAP_AD_TYPE_LE_ROLE 

LE Role.

BLE_GAP_AD_TYPE_SPAIR_HASH 

Simple Pairing Hash C-256.

BLE_GAP_AD_TYPE_SPAIR_RAND 

Simple Pairing Randomizer R-256.

BLE_GAP_AD_TYPE_3D_INFO 

3D Information Data.

BLE_GAP_AD_TYPE_MANU_SPECIFIC_DATA 

Manufacturer specific data.

◆ gap_adv_data_type_t

Advertising data type.

Enumerator
BLE_GAP_ADV_DATA_TYPE_DATA 

Advertising data.

BLE_GAP_ADV_DATA_TYPE_SCAN_RSP 

Scan response data.

BLE_GAP_ADV_DATA_TYPE_PER_DATA 

Periodic advertising data.

◆ gap_adv_filter_policy_t

Advertising filter policy.

Enumerator
GAP_ADV_ALLOW_SCAN_ANY_CON_ANY 

Allow both scan and connection requests from anyone.

GAP_ADV_ALLOW_SCAN_WLST_CON_ANY 

Allow scan req from white-list devices only and connection req from anyone.

GAP_ADV_ALLOW_SCAN_ANY_CON_WLST 

Allow scan req from anyone and connection req from white-list devices only.

GAP_ADV_ALLOW_SCAN_WLST_CON_WLST 

Allow scan and connection requests from white-list devices only.

◆ gap_adv_flags_t

AD Type Flag - Bit mask.

Enumerator
GAP_ADV_FLAG_LE_LIMITED_DISC_MODE 

Limited discovery flag: AD Flag.

GAP_ADV_FLAG_LE_GENERAL_DISC_MODE 

General discovery flag: AD Flag.

GAP_ADV_FLAG_BR_EDR_NOT_SUPPORTED 

Legacy BT not supported: AD Flag.

GAP_ADV_FLAG_SIMUL_BR_EDR_LE_CONTROLLER 

Dual mode for controller supported (BR/EDR/LE): AD Flag.

GAP_ADV_FLAG_SIMUL_BR_EDR_LE_HOST 

Dual mode for host supported (BR/EDR/LE): AD Flag.

◆ gap_adv_mode_t

GAP advertising modes.

Enumerator
GAP_ADV_TYPE_ADV_IND 

Undirected connectable and scannable mode.

GAP_ADV_TYPE_ADV_NONCONN_IND 

Non-connectable and non-scanable mode.

GAP_ADV_TYPE_ADV_SCAN_IND 

Undirected scannable mode.

GAP_ADV_TYPE_ADV_HIGH_DIRECT_IND 

Directed high duty cycle mode.

GAP_ADV_TYPE_ADV_LOW_DIRECT_IND 

Directed low duty cycle mode.

◆ gap_adv_prop_pos_t

Advertising properties bit field and bit positions.

Enumerator
GAP_ADV_PROP_CONNECTABLE_POS 

Indicate that advertising is connectable, reception of CONNECT_REQ or UX_CONNECT_REQ PDUs is accepted. Not applicable for periodic advertising.

GAP_ADV_PROP_SCANNABLE_POS 

Indicate that advertising is scannable, reception of SCAN_REQ or AUX_SCAN_REQ PDUs is accepted.

GAP_ADV_PROP_DIRECTED_POS 

Indicate that advertising targets at a specific device. Only applicable in following cases:

  • Legacy advertising: if connectable
  • Extended advertising: connectable or (non-connectable and non-discoverable).
GAP_ADV_PROP_HDC_POS 

Indicate that High Duty Cycle has to be used for advertising on primary channel, applicable only if created advertising is not an extended advertising.

GAP_ADV_PROP_USE_LEGACY_PDUS_POS 

Use legacy advertising PDUs.

GAP_ADV_PROP_ANONYMOUS_POS 

Enable anonymous mode. Device address will not appear in sending PDUs. Valid only if the created advertising is an extended advertising.

GAP_ADV_PROP_TX_PWR_POS 

Include TX power in the extended header of the advertising PDU. Valid only if the created advertising is not a legacy advertising.

GAP_ADV_PROP_PER_TX_PWR_POS 

Include TX power in the periodic advertising PDU. Valid only if the created advertising is a periodic advertising.

GAP_ADV_PROP_SCAN_REQ_NTF_EN_POS 

Indicate if application must be informed about receiving scan request PDUs.

◆ gap_adv_type_t

Advertising type.

Enumerator
GAP_ADV_TYPE_LEGACY 

Legacy advertising.

GAP_ADV_TYPE_EXTENDED 

Extended advertising.

GAP_ADV_TYPE_PERIODIC 

Periodic advertising.

◆ gap_dev_info_get_type_t

Get device parameters operation code.

Enumerator
BLE_GAP_GET_DEV_VERSION 

Get version information for the local Controller.

BLE_GAP_GET_DEV_BDADDR 

Get local device BD Address.

BLE_GAP_GET_SUGGESTED_DFLT_LE_DATA_LEN 

Get suggested values (SuggestedMaxTxOctets and SuggestedMaxTxTime) for the Controller's maximum transmitted number of payload octets and maximum packet transmission time to be used for new connections.

BLE_GAP_GET_MAX_LE_DATA_LEN 

Get the Controller' maximum supported payload octets and packet duration times for transmission and reception (supportedMaxTxOctets and supportedMaxTxTime, supportedMaxRxOctets, and supportedMaxRxTime).

BLE_GAP_GET_NB_ADV_SETS 

Read the maximum number of advertising sets currently supported by the controller.

BLE_GAP_GET_MAX_LE_ADV_DATA_LEN 

Get maximum data length for advertising data.

BLE_GAP_GET_DEV_TX_POWER 

Read the minimum and maximum transmit powers supported by the Controller.

BLE_GAP_GET_DEV_RF_RF_PATH_COMP 

Get RF path compensation values.

◆ gap_dev_name_write_perm_t

Write permissions of the device name characteristic.

Enumerator
BLE_GAP_WRITE_PERM_DISABLE 

Disable write access.

BLE_GAP_WRITE_PERM_NOAUTH 

LE Security Mode 1, Level 1. Link does not need to be encrypted or authenticated.

BLE_GAP_WRITE_PERM_UNAUTH 

LE Security Mode 1, Level 2. Link needs to be encrypted, but not to be authenticated.

BLE_GAP_WRITE_PERM_AUTH 

LE Security Mode 1, Level 3. Link needs to be encrypted and authenticated (MITM).

BLE_GAP_WRITE_PERM_SEC_CON 

LE Security Mode 1, Level 4. Link needs to be encrypted and authenticated (secure connections).

◆ gap_disc_mode_t

GAP discoverability modes.

Enumerator
GAP_DISC_MODE_NON_DISCOVERABLE 

Non-discoverable mode.

GAP_DISC_MODE_GEN_DISCOVERABLE 

General-discoverable mode.

GAP_DISC_MODE_LIM_DISCOVERABLE 

Limited-discoverable mode.

GAP_DISC_MODE_BROADCASTER 

Broadcaster mode.

◆ gap_ext_scan_dup_filt_policy_t

Filtering policy for duplicated packets.

Enumerator
GAP_EXT_DUP_FILT_DIS 

Disable filtering of duplicated packets.

GAP_EXT_DUP_FILT_EN 

Enable filtering of duplicated packets.

GAP_EXT_DUP_FILT_EN_PERIOD 

Enable filtering of duplicated packets, reset for each scan period.

◆ gap_ext_scan_type_t

Extended scanning types.

Enumerator
GAP_EXT_SCAN_TYPE_GEN_DISC 

General discovery.

GAP_EXT_SCAN_TYPE_LIM_DISC 

Limited discovery.

GAP_EXT_SCAN_TYPE_OBSERVER 

Observer.

GAP_EXT_SCAN_TYPE_SEL_OBSERVER 

Selective observer.

GAP_EXT_SCAN_TYPE_CONN_DISC 

Connectable discovery.

GAP_EXT_SCAN_TYPE_SEL_CONN_DISC 

Selective connectable discovery.

◆ gap_init_prop_t

Initiating properties.

Enumerator
GAP_INIT_PROP_1M_BIT 

Scan connectable advertisements on the LE 1M PHY. Connection parameters for the LE 1M PHY are provided.

GAP_INIT_PROP_2M_BIT 

Connection parameters for the LE 2M PHY are provided.

GAP_INIT_PROP_CODED_BIT 

Scan connectable advertisements on the LE Coded PHY. Connection parameters for the LE Coded PHY are provided.

◆ gap_init_type_t

Initiating types.

Enumerator
GAP_INIT_TYPE_DIRECT_CONN_EST 

Direct connection establishment: establish a connection with an indicated device.

GAP_INIT_TYPE_AUTO_CONN_EST 

Automatic connection establishment: establish a connection with all devices whose address is present in the white list.

GAP_INIT_TYPE_NAME_DISC 

Name discovery: establish a connection with an indicated device in order to read content of its device name characteristic. Connection is closed once this operation is stopped.

◆ gap_le_phy_value_t

Specify what PHY the Controller has changed for TX/RX. HCI:7.7.65.12.

Enumerator
GAP_PHY_UNDEF_VALUE 

Undefined LE PHY.

GAP_PHY_1MBPS_VALUE 

LE 1M PHY.

GAP_PHY_2MBPS_VALUE 

LE 2M PHY.

GAP_PHY_CODED_VALUE 

LE Coded PHY.

◆ gap_own_addr_t

Own BD address source of the device.

Enumerator
BLE_GAP_OWN_ADDR_STATIC 

Public or Private Static Address according to device address configuration.

BLE_GAP_OWN_ADDR_GEN_RSLV 

Generated resolvable private random address.

BLE_GAP_OWN_ADDR_GEN_NON_RSLV 

Generated non-resolvable private random address.

◆ gap_per_sync_type

Periodic synchronization types.

Enumerator
GAP_PER_SYNC_TYPE_GENERAL 

Do not use periodic advertiser list for synchronization.

GAP_PER_SYNC_TYPE_SELECTIVE 

Use periodic advertiser list for synchronization.

◆ gap_role_t

enum gap_role_t

GAP role options.

Enumerator
BLE_GAP_ROLE_NONE 

No role set yet.

BLE_GAP_ROLE_OBSERVER 

Observer role.

BLE_GAP_ROLE_BROADCASTER 

Broadcaster role.

BLE_GAP_ROLE_CENTRAL 

Master/Central role.

BLE_GAP_ROLE_PERIPHERAL 

Peripheral/Slave role.

BLE_GAP_ROLE_ALL 

Device has all roles, both peripheral and central.

◆ gap_scan_dup_filt_policy_t

Duplicate filter policy.

Enumerator
GAP_SCAN_FILT_DUPLIC_DIS 

Disable filtering of duplicate packets.

GAP_SCAN_FILT_DUPLIC_EN 

Enable filtering of duplicate packets.

◆ gap_scan_mode_t

Scanning modes.

Enumerator
GAP_SCAN_GEN_DISC_MODE 

General discoverable mode.

GAP_SCAN_LIM_DISC_MODE 

Limited discoverable mode.

GAP_SCAN_OBSERVER_MODE 

Observer mode.

◆ gap_scan_prop

Scanning properties bit field bit value.

Enumerator
GAP_SCAN_PROP_PHY_1M_BIT 

Scan advertisement on the LE 1M PHY.

GAP_SCAN_PROP_PHY_CODED_BIT 

Scan advertisement on the LE Coded PHY.

GAP_SCAN_PROP_ACTIVE_1M_BIT 

Active scan on LE 1M PHY (scan request PDUs may be sent).

GAP_SCAN_PROP_ACTIVE_CODED_BIT 

Active scan on LE Coded PHY (scan request PDUs may be sent).

GAP_SCAN_PROP_ACCEPT_RPA_BIT 

Accept directed advertising packets if the used RPA and target address cannot be solved by the controller.

GAP_SCAN_PROP_FILT_TRUNC_BIT 

Filter truncated advertising or scan response reports.

◆ gap_scan_prop_t

Scanning properties bit field bit value.

Enumerator
GAP_EXT_SCAN_PROP_PHY_1M_BIT 

Scan advertisement on the LE 1M PHY.

GAP_EXT_SCAN_PROP_PHY_CODED_BIT 

Scan advertisement on the LE Coded PHY.

GAP_EXT_SCAN_PROP_ACTIVE_1M_BIT 

Active scan on LE 1M PHY (scan request PDUs may be sent).

GAP_EXT_SCAN_PROP_ACTIVE_CODED_BIT 

Active scan on LE Coded PHY (scan request PDUs may be sent).

GAP_EXT_SCAN_PROP_ACCEPT_RPA_BIT 

Accept directed advertising packets if the uesd RPA and target address cannot be solved by the controller.

GAP_EXT_SCAN_PROP_FILT_TRUNC_BIT 

Filter truncated advertising or scan response reports.

◆ gap_scan_type_t

Scanning types.

Enumerator
GAP_SCAN_ACTIVE 

Active scan type.

GAP_SCAN_PASSIVE 

Passive scan type.

◆ gap_sec_lvl_type

Security level types.

Enumerator
GAP_SEC_LVL_NO_SECURITY 

No encryption or auth.

GAP_SEC_LVL_ENC_NO_AUTH 

Encryption with no auth.

GAP_SEC_LVL_LE_ENC_AUTH 

Legacy encryption with auth.

GAP_SEC_LVL_SC_ENC_AUTH 

Security connection encryption with auth.

◆ privacy_mode_t

Privacy mode.

Enumerator
PRIVACY_MODE_NETWORK 

Set to the network privacy mode for the peer device.

PRIVACY_MODE_DEVICE 

Set to the device privacy mode for the peer device.