|
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.
|
|