Enumerations

enum  ble_gap_get_conn_info_op_t {
  BLE_GAP_GET_CON_RSSI = 0,
  BLE_GAP_GET_CON_CHANNEL_MAP,
  BLE_GAP_GET_PHY,
  BLE_GAP_GET_CHAN_SEL_ALGO
}
 The operation code used to get connection info. More...
 
enum  ble_gap_get_peer_info_op_t {
  BLE_GAP_GET_PEER_VERSION = 0,
  BLE_GAP_GET_PEER_FEATURES
}
 The operation code used to get peer device info. More...
 
enum  ble_gap_ll_role_type_t {
  BLE_GAP_LL_ROLE_MASTER = 0,
  BLE_GAP_LL_ROLE_SLAVE = 1
}
 Device role of LL layer type. More...
 
enum  ble_gap_param_set_op_id_t {
  BLE_GAP_OPCODE_CHNL_MAP_SET,
  BLE_GAP_OPCODE_WHITELIST_SET,
  BLE_GAP_OPCODE_PER_ADV_LIST_SET,
  BLE_GAP_OPCODE_PRIVACY_MODE_SET
}
 Operation code used to set param(s). More...
 
enum  ble_gap_psm_manager_op_id_t {
  BLE_GAP_OPCODE_LEPSM_REGISTER,
  BLE_GAP_OPCODE_LEPSM_UNREGISTER
}
 Operation code used for LEPSM manager. More...
 
enum  ble_gap_disconn_reason_t {
  BLE_GAP_HCI_AUTHENTICATION_FAILURE = 0x05,
  BLE_GAP_HCI_REMOTE_USER_TERMINATED_CONNECTION = 0x13,
  BLE_GAP_HCI_REMOTE_DEV_TERMINATION_DUE_TO_LOW_RESOURCES = 0x14,
  BLE_GAP_HCI_REMOTE_DEV_TERMINATION_DUE_TO_POWER_OFF = 0x15,
  BLE_GAP_HCI_UNSUPPORTED_REMOTE_FEATURE = 0x1A,
  BLE_GAP_HCI_PAIRING_WITH_UNIT_KEY_UNSUPPORTED = 0X29,
  BLE_GAP_HCI_CONN_INTERVAL_UNACCEPTABLE = 0x3B
}
 The specified reason for terminating a connection. More...
 

Detailed Description

Enumeration Type Documentation

◆ ble_gap_disconn_reason_t

The specified reason for terminating a connection.

Enumerator
BLE_GAP_HCI_AUTHENTICATION_FAILURE 

Authentication Failure.

BLE_GAP_HCI_REMOTE_USER_TERMINATED_CONNECTION 

Remote User Terminated Connection.

BLE_GAP_HCI_REMOTE_DEV_TERMINATION_DUE_TO_LOW_RESOURCES 

Remote Device Terminated Connection due to Low Resources .

BLE_GAP_HCI_REMOTE_DEV_TERMINATION_DUE_TO_POWER_OFF 

Remote Device Terminated Connection due to Power Off.

BLE_GAP_HCI_UNSUPPORTED_REMOTE_FEATURE 

Unsupported Remote Feature.

BLE_GAP_HCI_PAIRING_WITH_UNIT_KEY_UNSUPPORTED 

Pairing With Unit Key Not Supported.

BLE_GAP_HCI_CONN_INTERVAL_UNACCEPTABLE 

Unacceptable Connection Parameters.

Definition at line 138 of file ble_gapc.h.

◆ ble_gap_get_conn_info_op_t

The operation code used to get connection info.

Enumerator
BLE_GAP_GET_CON_RSSI 

Get connection RSSI info.

BLE_GAP_GET_CON_CHANNEL_MAP 

Get connection channel map.

BLE_GAP_GET_PHY 

Get connection PHY.

BLE_GAP_GET_CHAN_SEL_ALGO 

Get selection algorithm for connection channel.

Definition at line 93 of file ble_gapc.h.

◆ ble_gap_get_peer_info_op_t

The operation code used to get peer device info.

Enumerator
BLE_GAP_GET_PEER_VERSION 

Get peer device version info.

BLE_GAP_GET_PEER_FEATURES 

Get peer device features info.

Definition at line 102 of file ble_gapc.h.

◆ ble_gap_ll_role_type_t

Device role of LL layer type.

Enumerator
BLE_GAP_LL_ROLE_MASTER 

Master role.

BLE_GAP_LL_ROLE_SLAVE 

Slave role.

Definition at line 109 of file ble_gapc.h.

◆ ble_gap_param_set_op_id_t

Operation code used to set param(s).

Enumerator
BLE_GAP_OPCODE_CHNL_MAP_SET 

Set Channel Map.

BLE_GAP_OPCODE_WHITELIST_SET 

Set white list.

BLE_GAP_OPCODE_PER_ADV_LIST_SET 

Set periodic advertising list.

BLE_GAP_OPCODE_PRIVACY_MODE_SET 

Set privacy mode for peer device.

Definition at line 118 of file ble_gapc.h.

◆ ble_gap_psm_manager_op_id_t

Operation code used for LEPSM manager.

Enumerator
BLE_GAP_OPCODE_LEPSM_REGISTER 

LEPSM register operation.

BLE_GAP_OPCODE_LEPSM_UNREGISTER 

LEPSM unregister operation.

Definition at line 129 of file ble_gapc.h.