Enumerations

enum  gap_get_conn_info_op_t { GAP_GET_CON_RSSI = 0, GAP_GET_CON_CHANNEL_MAP, GAP_GET_PHY, GAP_GET_CHAN_SEL_ALGO }
 The operation code used to get connection info. More...
 
enum  gap_get_peer_info_op_t { GAP_GET_PEER_VERSION = 0, GAP_GET_PEER_FEATURES }
 The operation code used to get peer device info. More...
 
enum  gap_adv_report_type_t {
  GAP_REPORT_TYPE_ADV_EXT = 0, GAP_REPORT_TYPE_ADV_LEG, GAP_REPORT_TYPE_SCAN_RSP_EXT, GAP_REPORT_TYPE_SCAN_RSP_LEG,
  GAP_REPORT_TYPE_PER_ADV
}
 Advertising report type. More...
 
enum  gap_adv_report_info_t { GAP_REPORT_INFO_COMPLETE_BIT = (1 << 0), GAP_REPORT_INFO_CONN_ADV_BIT = (1 << 1), GAP_REPORT_INFO_SCAN_ADV_BIT = (1 << 2), GAP_REPORT_INFO_DIR_ADV_BIT = (1 << 3) }
 Advertising report information. More...
 
enum  gap_stopped_reason_t { GAP_STOPPED_REASON_TIMEOUT = 0, GAP_STOPPED_REASON_ON_USER, GAP_STOPPED_REASON_CONN_EST }
 Stop reason code. More...
 
enum  gap_ll_role_type_t { GAP_LL_ROLE_MASTER = 0, GAP_LL_ROLE_SLAVE = 1 }
 Device role of LL layer type. More...
 
enum  gap_param_set_op_id_t { GAP_OPCODE_CHNL_MAP_SET, GAP_OPCODE_WHITELIST_SET, GAP_OPCODE_PER_ADV_LIST_SET, GAP_OPCODE_PRIVACY_MODE_SET }
 Operation code used to set param(s). More...
 
enum  gap_rslv_addr_read_op_id_t { GAP_OPCODE_LOCAL_RSLV_ADDR_READ, GAP_OPCODE_PEER_RSLV_ADDR_READ }
 Operation code used to read resolvable address. More...
 
enum  gap_psm_manager_op_id_t { GAP_OPCODE_LEPSM_REGISTER, GAP_OPCODE_LEPSM_UNREGISTER }
 Operation code used for LEPSM manager. More...
 
enum  gap_disconn_reason_t {
  GAP_HCI_AUTHENTICATION_FAILURE = 0x05, GAP_HCI_REMOTE_USER_TERMINATED_CONNECTION = 0x13, GAP_HCI_REMOTE_DEV_TERMINATION_DUE_TO_LOW_RESOURCES = 0x14, GAP_HCI_REMOTE_DEV_TERMINATION_DUE_TO_POWER_OFF = 0x15,
  GAP_HCI_UNSUPPORTED_REMOTE_FEATURE = 0x1A, GAP_HCI_PAIRING_WITH_UNIT_KEY_UNSUPPORTED = 0X29, GAP_HCI_CONN_INTERVAL_UNACCEPTABLE = 0x3B
}
 The specified reason for terminating a connection. More...
 

Detailed Description

Enumeration Type Documentation

◆ gap_adv_report_info_t

Advertising report information.

Enumerator
GAP_REPORT_INFO_COMPLETE_BIT 

Report is complete.

GAP_REPORT_INFO_CONN_ADV_BIT 

Connectable advertising.

GAP_REPORT_INFO_SCAN_ADV_BIT 

Scannable advertising.

GAP_REPORT_INFO_DIR_ADV_BIT 

Directed advertising.

◆ gap_adv_report_type_t

Advertising report type.

Enumerator
GAP_REPORT_TYPE_ADV_EXT 

Extended advertising report.

GAP_REPORT_TYPE_ADV_LEG 

Legacy advertising report.

GAP_REPORT_TYPE_SCAN_RSP_EXT 

Extended scan response report.

GAP_REPORT_TYPE_SCAN_RSP_LEG 

Legacy scan response report.

GAP_REPORT_TYPE_PER_ADV 

Periodic advertising report.

◆ gap_disconn_reason_t

The specified reason for terminating a connection.

Enumerator
GAP_HCI_AUTHENTICATION_FAILURE 

Authentication Failure.

GAP_HCI_REMOTE_USER_TERMINATED_CONNECTION 

Remote User Terminated Connection.

GAP_HCI_REMOTE_DEV_TERMINATION_DUE_TO_LOW_RESOURCES 

Remote Device Terminated Connection due to Low Resources .

GAP_HCI_REMOTE_DEV_TERMINATION_DUE_TO_POWER_OFF 

Remote Device Terminated Connection due to Power Off.

GAP_HCI_UNSUPPORTED_REMOTE_FEATURE 

Unsupported Remote Feature.

GAP_HCI_PAIRING_WITH_UNIT_KEY_UNSUPPORTED 

Pairing With Unit Key Not Supported.

GAP_HCI_CONN_INTERVAL_UNACCEPTABLE 

Unacceptable Connection Parameters.

◆ gap_get_conn_info_op_t

The operation code used to get connection info.

Enumerator
GAP_GET_CON_RSSI 

Get connection RSSI info.

GAP_GET_CON_CHANNEL_MAP 

Get connection channel map.

GAP_GET_PHY 

Get connection PHY.

GAP_GET_CHAN_SEL_ALGO 

Get selection algorithm for connection channel.

◆ gap_get_peer_info_op_t

The operation code used to get peer device info.

Enumerator
GAP_GET_PEER_VERSION 

Get peer device version info.

GAP_GET_PEER_FEATURES 

Get peer device features info.

◆ gap_ll_role_type_t

Device role of LL layer type.

Enumerator
GAP_LL_ROLE_MASTER 

Master role.

GAP_LL_ROLE_SLAVE 

Slave role.

◆ gap_param_set_op_id_t

Operation code used to set param(s).

Enumerator
GAP_OPCODE_CHNL_MAP_SET 

Set Channel Map.

GAP_OPCODE_WHITELIST_SET 

Set white list.

GAP_OPCODE_PER_ADV_LIST_SET 

Set periodic advertising list.

GAP_OPCODE_PRIVACY_MODE_SET 

Set privacy mode for peer device.

◆ gap_psm_manager_op_id_t

Operation code used for LEPSM manager.

Enumerator
GAP_OPCODE_LEPSM_REGISTER 

LEPSM register operation.

GAP_OPCODE_LEPSM_UNREGISTER 

LEPSM unregister operation.

◆ gap_rslv_addr_read_op_id_t

Operation code used to read resolvable address.

Enumerator
GAP_OPCODE_LOCAL_RSLV_ADDR_READ 

Local resolvable address operation.

GAP_OPCODE_PEER_RSLV_ADDR_READ 

Peer resolvable address operation.

◆ gap_stopped_reason_t

Stop reason code.

Enumerator
GAP_STOPPED_REASON_TIMEOUT 

Stop with timeout.

GAP_STOPPED_REASON_ON_USER 

Stop with user stopping it actively.

GAP_STOPPED_REASON_CONN_EST 

Stop with connection established.