MT2523 API Reference  LinkIt SDK v4
Define

Define HCI data types and values. More...

Overview

Define HCI data types and values.

Macros

#define BT_HCI_STATUS_SUCCESS   0x00
 HCI error codes, please refer to the Bluetooth core specification version 4.2 [VOL 2, part D]. More...
 
#define BT_HCI_STATUS_UNKNOWN_HCI_COMMAND   0x01
 The controller did not recognize the HCI command sent by the host. More...
 
#define BT_HCI_STATUS_UNKNOWN_CONNECTION_IDENTIFIER   0x02
 Unknown connection ID. More...
 
#define BT_HCI_STATUS_HARDWARE_FAILURE   0x03
 Hardware failure. More...
 
#define BT_HCI_STATUS_PAGE_TIMEOUT   0x04
 Page timeout. More...
 
#define BT_HCI_STATUS_AUTHENTICATION_FAILURE   0x05
 Authentication failure. More...
 
#define BT_HCI_STATUS_PIN_OR_KEY_MISSING   0x06
 PIN code missing. More...
 
#define BT_HCI_STATUS_MEMORY_CAPACITY_EXCEEDED   0x07
 Memory capacity exceeded. More...
 
#define BT_HCI_STATUS_CONNECTION_TIMEOUT   0x08
 Connection timeout. More...
 
#define BT_HCI_STATUS_CONNECTION_LIMIT_EXCEEDED   0x09
 Hardware connection limit has reached. More...
 
#define BT_HCI_STATUS_SYNCHRONOUS_CONNECTION_LIMIT_TO_A_DEVICE_EXCEEDED   0x0A
 Synchronous connection limit has reached. More...
 
#define BT_HCI_STATUS_ACL_CONNECTION_ALREADY_EXISTS   0x0B
 The connection already exists. More...
 
#define BT_HCI_STATUS_COMMAND_DISALLOWED   0x0C
 Command disallowed. More...
 
#define BT_HCI_STATUS_CONNECTION_REJECTED_DUE_TO_LIMITED_RESOURCES   0x0D
 Rejected due to a lack of resources. More...
 
#define BT_HCI_STATUS_CONNECTION_REJECTED_DUE_TO_SECURITY_REASONS   0x0E
 Rejected due to security. More...
 
#define BT_HCI_STATUS_CONNECTION_REJECTED_DUE_TO_UNACCEPTABLE_BDADDR   0x0F
 Rejected due to unacceptable device address. More...
 
#define BT_HCI_STATUS_CONNECTION_ACCEPT_TIMEOUT_EXCEEDED   0x10
 Connection attempt timeout. More...
 
#define BT_HCI_STATUS_UNSUPPORTED_FEATURE_OR_PARAMETER_VALUE   0x11
 Unsupported feature or parameter value. More...
 
#define BT_HCI_STATUS_INVALID_HCI_COMMAND_PARAMETERS   0x12
 Invalid command parameters. More...
 
#define BT_HCI_STATUS_REMOTE_USER_TERMINATED_CONNECTION   0x13
 Remote user terminated the connection. More...
 
#define BT_HCI_STATUS_REMOTE_TERMINATED_CONNECTION_DUE_TO_LOW_RESOURCES   0x14
 Connection terminated due to a lack of resources. More...
 
#define BT_HCI_STATUS_REMOTE_TERMINATED_CONNECTION_DUE_TO_POWER_OFF   0x15
 Connection terminated due to power off. More...
 
#define BT_HCI_STATUS_CONNECTION_TERMINATED_BY_LOCAL_HOST   0x16
 The local device terminated the connection. More...
 
#define BT_HCI_STATUS_REPEATED_ATTEMPTS   0x17
 The controller forbids an authentication or pairing procedure because too little time has elapsed since the last failed attempt for authentication or pairing. More...
 
#define BT_HCI_STATUS_PAIRING_NOT_ALLOWED   0x18
 Pairing is not allowed. More...
 
#define BT_HCI_STATUS_UNKNOWN_LMP_PDU   0x19
 Unknown LMP PDU. More...
 
#define BT_HCI_STATUS_UNSUPPORTED_REMOTE_FEATURE_OR_LMP_FEATURE   0x1A
 Unsupported remote feature. More...
 
#define BT_HCI_STATUS_SCO_OFFSET_REJECTED   0x1B
 The SCO offset is rejected. More...
 
#define BT_HCI_STATUS_SCO_INTERVAL_REJECTED   0x1C
 The SCO interval is rejected. More...
 
#define BT_HCI_STATUS_SCO_AIR_MODE_REJECTED   0x1D
 The SCO air mode is rejected. More...
 
#define BT_HCI_STATUS_INVALID_LMP_PARAMETERS_OR_LL_PARAMETERS   0x1E
 Invalid LMP PDU/LL Control PDU parameters. More...
 
#define BT_HCI_STATUS_UNSPECIFIED_ERROR   0x1F
 Unspecified error. More...
 
#define BT_HCI_STATUS_UPSUPPORTED_LMP_OR_LL_PARAMETER_VALUE   0x20
 Unsupported parameters. More...
 
#define BT_HCI_STATUS_ROLE_CHANGE_NOT_ALLOWED   0x21
 Role changing is not allowed. More...
 
#define BT_HCI_STATUS_LMP_RESPONSE_TIMEOUT_OR_LL_RESPONSE_TIMEOUT   0x22
 An LMP transaction failed to respond within the LMP response timeout. More...
 
#define BT_HCI_STATUS_LMP_ERROR_TRANSACTION_COLLISION   0x23
 An LMP transaction has collided with the same transaction that is already in progress. More...
 
#define BT_HCI_STATUS_LMP_PDU_NOT_ALLOWED   0x24
 LMP PDU is not allowed. More...
 
#define BT_HCI_STATUS_ENCRYPTION_MODE_NOT_ACCEPTABLE   0x25
 Encryption mode is not acceptable. More...
 
#define BT_HCI_STATUS_LINK_KEY_CANNOT_BE_CHANGED   0x26
 Link key cannot be changed because a fixed unit key is being used. More...
 
#define BT_HCI_STATUS_REQUESTED_QOS_NOT_SUPPORTED   0x27
 The requested QoS is not supported. More...
 
#define BT_HCI_STATUS_INSTANT_PASSED   0x28
 An LMP PDU or LL PDU that includes an instant cannot be performed because the instant when this would have occurred has passed. More...
 
#define BT_HCI_STATUS_PAIRING_WITH_UNIT_KEY_NOT_SUPPORTED   0x29
 Impossible to establish pairing as the requested unit key is not supported. More...
 
#define BT_HCI_STATUS_DIFFERENT_TRANSACTION_COLLISION   0x2A
 An initiated LMP transaction collided with an ongoing transaction. More...
 
#define BT_HCI_STATUS_QOS_UNACCEPTABLE_PARAMETER   0x2C
 The specified QoS parameters could not be accepted. More...
 
#define BT_HCI_STATUS_QOS_REJECTED   0x2D
 The specified QoS parameters cannot be accepted and QoS negotiation should be terminated. More...
 
#define BT_HCI_STATUS_CHANNEL_ASSESSMENT_NOT_SUPPORTED   0x2E
 Channel assessment is not supported. More...
 
#define BT_HCI_STATUS_INSUFFICIENT_SECURITY   0x2F
 Sending the HCI command or LMP PDU is only possible on an encrypted link. More...
 
#define BT_HCI_STATUS_PARAMETER_OUT_OF_MANADATORY_RANGE   0x30
 The parameter is out of mandatory range. More...
 
#define BT_HCI_STATUS_ROLE_SWITCH_PENDING   0x32
 Role switching is pending. More...
 
#define BT_HCI_STATUS_RESERVED_SLOT_VIOLATION   0x34
 Reserved slot violation error. More...
 
#define BT_HCI_STATUS_ROLE_SWITCH_FAILED   0x35
 Role switching failed. More...
 
#define BT_HCI_STATUS_EXTENDED_INQUIRY_RESPONSE_TOO_LARGE   0x36
 Extended inquiry response is too large. More...
 
#define BT_HCI_STATUS_SIMPLE_PAIRING_NOT_SUPPORTED_BY_HOST   0x37
 Simple pairing is not supported by the host. More...
 
#define BT_HCI_STATUS_HOST_BUSY_PAIRING   0x38
 The host is busy for pairing. More...
 
#define BT_HCI_STATUS_CONNECTION_REJECTED_DUE_TO_NOT_SUITABLE_CHANNEL_FOUND   0x39
 No suitable channel found, the connection is rejected. More...
 
#define BT_HCI_STATUS_CONTROLLER_BUSY   0x3A
 The controller is busy. More...
 
#define BT_HCI_STATUS_UNACCEPTABLE_CONNECTION_PARAMETERS   0x3B
 Unacceptable connection parameters. More...
 
#define BT_HCI_STATUS_DIRECTED_ADVERTISING_TIMEOUT   0x3C
 Directed advertising completed without a connection being created. More...
 
#define BT_HCI_STATUS_CONNECTION_TERMINATED_DUE_TO_MIC_FAILURE   0x3D
 Connection terminated due to MIC failure. More...
 
#define BT_HCI_STATUS_CONNECTION_FAILED_TO_BE_ESTABLISHED   0x3E
 The connection failed to establish. More...
 
#define BT_HCI_STATUS_MAC_CONNECTION_FAILED   0x3F
 MAC connection failed. More...
 
#define BT_HCI_STATUS_COARSE_CLOCK_ADJUSTMENT_REJECTED   0x40
 The coarse clock adjustment is rejected. More...
 
#define BT_HCI_STATUS_CHIP_LIMITATION   0xF1
 Hardware limitation. More...
 
#define BT_HCI_STATUS_FORCED_TERMINATE   0xF4
 The connection is terminated immediately without flushing the TX buffer. More...
 
#define BT_HCI_DISABLE   0x00
 Disable. More...
 
#define BT_HCI_ENABLE   0x01
 Enable. More...
 
#define BT_HCI_REJECT   0x00
 Reject. More...
 
#define BT_HCI_ACCEPT   0x01
 Accept. More...
 
#define BT_HCI_SCAN_TYPE_PASSIVE   0x00
 Passive scan. More...
 
#define BT_HCI_SCAN_TYPE_ACTIVE   0x01
 Active scan. More...
 
#define BT_HCI_SCAN_ADDR_PUBLIC   0x00
 Scan using a public address type. More...
 
#define BT_HCI_SCAN_ADDR_RANDOM   0x01
 Scan using a random address type. More...
 
#define BT_HCI_SCAN_ADDR_RESOLVE_PRIVATE_WITH_PUBLIC   0x02
 Scan using a public identity address type. More...
 
#define BT_HCI_SCAN_ADDR_RESOLVE_PRIVATE_WITH_RANDOM   0x03
 Scan using a random identity address type. More...
 
#define BT_HCI_SCAN_FILTER_ACCEPT_ALL_ADVERTISING_PACKETS   0x00
 No scanning filter. More...
 
#define BT_HCI_SCAN_FILTER_ACCEPT_ONLY_ADVERTISING_PACKETS_IN_WHITE_LIST   0x01
 Scan using the white list filter. More...
 
#define BT_HCI_CONN_FILTER_ASSIGNED_ADDRESS   0x00
 Direct connection. More...
 
#define BT_HCI_CONN_FILTER_WHITE_LIST_ONLY   0x01
 Auto connection. More...
 
#define BT_HCI_ADV_TYPE_CONNECTABLE_UNDIRECTED   0x00
 Connectable undirected advertising. More...
 
#define BT_HCI_ADV_TYPE_CONNECTABLE_DIRECTED_HIGH   0x01
 Connectable high duty cycle directed advertising. More...
 
#define BT_HCI_ADV_TYPE_SCANNABLE_UNDIRECTED   0x02
 Scannable undirected advertising. More...
 
#define BT_HCI_ADV_TYPE_NON_CONNECTABLE_UNDIRECTED   0x03
 Non connectable undirected advertising. More...
 
#define BT_HCI_ADV_TYPE_CONNECTABLE_DIRECTED_LOW   0x04
 Connectable low duty cycle directed advertising. More...
 
#define BT_GAP_LE_ADD_TO_RESOLVING_LIST   0x2027
 Operation type: add a device to the resolving list with the bt_hci_cmd_le_add_device_to_resolving_list_t pointer type parameters. More...
 
#define BT_GAP_LE_REMOVE_FROM_RESOLVING_LIST   0x2028
 Operation type: remove a device from the resolving list with the bt_hci_cmd_le_remove_device_from_resolving_list_t pointer type parameters. More...
 
#define BT_GAP_LE_CLEAR_RESOLVING_LIST   0x2029
 Operation type: clean the resolving list with NULL type parameters. More...
 

Typedefs

typedef uint8_t bt_hci_status_t
 Defines the status of the controller events. More...
 
typedef bt_hci_status_t bt_hci_disconnect_reason_t
 The reason to disconnect. More...
 
typedef uint8_t bt_hci_enable_t
 HCI boolean type. More...
 
typedef uint16_t bt_hci_accept_t
 Accept types. More...
 
typedef uint8_t bt_hci_scan_type_t
 Scan type. More...
 
typedef uint8_t bt_hci_scan_addr_type_t
 Scan address type. More...
 
typedef uint8_t bt_hci_scan_filter_type_t
 Scan filter type. More...
 
typedef uint8_t bt_hci_conn_filter_type_t
 Connection filter type. More...
 
typedef uint8_t bt_hci_advertising_type_t
 Advertising type. More...
 
typedef uint32_t bt_gap_le_set_resolving_list_op_t
 Operation type of the set resolving list. More...
 

Macro Definition Documentation

#define BT_GAP_LE_ADD_TO_RESOLVING_LIST   0x2027

Operation type: add a device to the resolving list with the bt_hci_cmd_le_add_device_to_resolving_list_t pointer type parameters.

#define BT_GAP_LE_CLEAR_RESOLVING_LIST   0x2029

Operation type: clean the resolving list with NULL type parameters.

#define BT_GAP_LE_REMOVE_FROM_RESOLVING_LIST   0x2028

Operation type: remove a device from the resolving list with the bt_hci_cmd_le_remove_device_from_resolving_list_t pointer type parameters.

#define BT_HCI_ACCEPT   0x01

Accept.

#define BT_HCI_ADV_TYPE_CONNECTABLE_DIRECTED_HIGH   0x01

Connectable high duty cycle directed advertising.

#define BT_HCI_ADV_TYPE_CONNECTABLE_DIRECTED_LOW   0x04

Connectable low duty cycle directed advertising.

#define BT_HCI_ADV_TYPE_CONNECTABLE_UNDIRECTED   0x00

Connectable undirected advertising.

#define BT_HCI_ADV_TYPE_NON_CONNECTABLE_UNDIRECTED   0x03

Non connectable undirected advertising.

#define BT_HCI_ADV_TYPE_SCANNABLE_UNDIRECTED   0x02

Scannable undirected advertising.

#define BT_HCI_CONN_FILTER_ASSIGNED_ADDRESS   0x00

Direct connection.

#define BT_HCI_CONN_FILTER_WHITE_LIST_ONLY   0x01

Auto connection.

#define BT_HCI_DISABLE   0x00

Disable.

#define BT_HCI_ENABLE   0x01

Enable.

#define BT_HCI_REJECT   0x00

Reject.

#define BT_HCI_SCAN_ADDR_PUBLIC   0x00

Scan using a public address type.

#define BT_HCI_SCAN_ADDR_RANDOM   0x01

Scan using a random address type.

#define BT_HCI_SCAN_ADDR_RESOLVE_PRIVATE_WITH_PUBLIC   0x02

Scan using a public identity address type.

#define BT_HCI_SCAN_ADDR_RESOLVE_PRIVATE_WITH_RANDOM   0x03

Scan using a random identity address type.

#define BT_HCI_SCAN_FILTER_ACCEPT_ALL_ADVERTISING_PACKETS   0x00

No scanning filter.

#define BT_HCI_SCAN_FILTER_ACCEPT_ONLY_ADVERTISING_PACKETS_IN_WHITE_LIST   0x01

Scan using the white list filter.

#define BT_HCI_SCAN_TYPE_ACTIVE   0x01

Active scan.

#define BT_HCI_SCAN_TYPE_PASSIVE   0x00

Passive scan.

#define BT_HCI_STATUS_ACL_CONNECTION_ALREADY_EXISTS   0x0B

The connection already exists.

#define BT_HCI_STATUS_AUTHENTICATION_FAILURE   0x05

Authentication failure.

#define BT_HCI_STATUS_CHANNEL_ASSESSMENT_NOT_SUPPORTED   0x2E

Channel assessment is not supported.

#define BT_HCI_STATUS_CHIP_LIMITATION   0xF1

Hardware limitation.

#define BT_HCI_STATUS_COARSE_CLOCK_ADJUSTMENT_REJECTED   0x40

The coarse clock adjustment is rejected.

#define BT_HCI_STATUS_COMMAND_DISALLOWED   0x0C

Command disallowed.

#define BT_HCI_STATUS_CONNECTION_ACCEPT_TIMEOUT_EXCEEDED   0x10

Connection attempt timeout.

#define BT_HCI_STATUS_CONNECTION_FAILED_TO_BE_ESTABLISHED   0x3E

The connection failed to establish.

#define BT_HCI_STATUS_CONNECTION_LIMIT_EXCEEDED   0x09

Hardware connection limit has reached.

#define BT_HCI_STATUS_CONNECTION_REJECTED_DUE_TO_LIMITED_RESOURCES   0x0D

Rejected due to a lack of resources.

#define BT_HCI_STATUS_CONNECTION_REJECTED_DUE_TO_NOT_SUITABLE_CHANNEL_FOUND   0x39

No suitable channel found, the connection is rejected.

#define BT_HCI_STATUS_CONNECTION_REJECTED_DUE_TO_SECURITY_REASONS   0x0E

Rejected due to security.

#define BT_HCI_STATUS_CONNECTION_REJECTED_DUE_TO_UNACCEPTABLE_BDADDR   0x0F

Rejected due to unacceptable device address.

#define BT_HCI_STATUS_CONNECTION_TERMINATED_BY_LOCAL_HOST   0x16

The local device terminated the connection.

#define BT_HCI_STATUS_CONNECTION_TERMINATED_DUE_TO_MIC_FAILURE   0x3D

Connection terminated due to MIC failure.

#define BT_HCI_STATUS_CONNECTION_TIMEOUT   0x08

Connection timeout.

#define BT_HCI_STATUS_CONTROLLER_BUSY   0x3A

The controller is busy.

#define BT_HCI_STATUS_DIFFERENT_TRANSACTION_COLLISION   0x2A

An initiated LMP transaction collided with an ongoing transaction.

#define BT_HCI_STATUS_DIRECTED_ADVERTISING_TIMEOUT   0x3C

Directed advertising completed without a connection being created.

#define BT_HCI_STATUS_ENCRYPTION_MODE_NOT_ACCEPTABLE   0x25

Encryption mode is not acceptable.

#define BT_HCI_STATUS_EXTENDED_INQUIRY_RESPONSE_TOO_LARGE   0x36

Extended inquiry response is too large.

#define BT_HCI_STATUS_FORCED_TERMINATE   0xF4

The connection is terminated immediately without flushing the TX buffer.

#define BT_HCI_STATUS_HARDWARE_FAILURE   0x03

Hardware failure.

#define BT_HCI_STATUS_HOST_BUSY_PAIRING   0x38

The host is busy for pairing.

#define BT_HCI_STATUS_INSTANT_PASSED   0x28

An LMP PDU or LL PDU that includes an instant cannot be performed because the instant when this would have occurred has passed.

#define BT_HCI_STATUS_INSUFFICIENT_SECURITY   0x2F

Sending the HCI command or LMP PDU is only possible on an encrypted link.

#define BT_HCI_STATUS_INVALID_HCI_COMMAND_PARAMETERS   0x12

Invalid command parameters.

#define BT_HCI_STATUS_INVALID_LMP_PARAMETERS_OR_LL_PARAMETERS   0x1E

Invalid LMP PDU/LL Control PDU parameters.

#define BT_HCI_STATUS_LINK_KEY_CANNOT_BE_CHANGED   0x26

Link key cannot be changed because a fixed unit key is being used.

#define BT_HCI_STATUS_LMP_ERROR_TRANSACTION_COLLISION   0x23

An LMP transaction has collided with the same transaction that is already in progress.

#define BT_HCI_STATUS_LMP_PDU_NOT_ALLOWED   0x24

LMP PDU is not allowed.

#define BT_HCI_STATUS_LMP_RESPONSE_TIMEOUT_OR_LL_RESPONSE_TIMEOUT   0x22

An LMP transaction failed to respond within the LMP response timeout.

#define BT_HCI_STATUS_MAC_CONNECTION_FAILED   0x3F

MAC connection failed.

#define BT_HCI_STATUS_MEMORY_CAPACITY_EXCEEDED   0x07

Memory capacity exceeded.

#define BT_HCI_STATUS_PAGE_TIMEOUT   0x04

Page timeout.

#define BT_HCI_STATUS_PAIRING_NOT_ALLOWED   0x18

Pairing is not allowed.

#define BT_HCI_STATUS_PAIRING_WITH_UNIT_KEY_NOT_SUPPORTED   0x29

Impossible to establish pairing as the requested unit key is not supported.

#define BT_HCI_STATUS_PARAMETER_OUT_OF_MANADATORY_RANGE   0x30

The parameter is out of mandatory range.

#define BT_HCI_STATUS_PIN_OR_KEY_MISSING   0x06

PIN code missing.

#define BT_HCI_STATUS_QOS_REJECTED   0x2D

The specified QoS parameters cannot be accepted and QoS negotiation should be terminated.

#define BT_HCI_STATUS_QOS_UNACCEPTABLE_PARAMETER   0x2C

The specified QoS parameters could not be accepted.

#define BT_HCI_STATUS_REMOTE_TERMINATED_CONNECTION_DUE_TO_LOW_RESOURCES   0x14

Connection terminated due to a lack of resources.

#define BT_HCI_STATUS_REMOTE_TERMINATED_CONNECTION_DUE_TO_POWER_OFF   0x15

Connection terminated due to power off.

#define BT_HCI_STATUS_REMOTE_USER_TERMINATED_CONNECTION   0x13

Remote user terminated the connection.

#define BT_HCI_STATUS_REPEATED_ATTEMPTS   0x17

The controller forbids an authentication or pairing procedure because too little time has elapsed since the last failed attempt for authentication or pairing.

#define BT_HCI_STATUS_REQUESTED_QOS_NOT_SUPPORTED   0x27

The requested QoS is not supported.

#define BT_HCI_STATUS_RESERVED_SLOT_VIOLATION   0x34

Reserved slot violation error.

#define BT_HCI_STATUS_ROLE_CHANGE_NOT_ALLOWED   0x21

Role changing is not allowed.

#define BT_HCI_STATUS_ROLE_SWITCH_FAILED   0x35

Role switching failed.

#define BT_HCI_STATUS_ROLE_SWITCH_PENDING   0x32

Role switching is pending.

#define BT_HCI_STATUS_SCO_AIR_MODE_REJECTED   0x1D

The SCO air mode is rejected.

#define BT_HCI_STATUS_SCO_INTERVAL_REJECTED   0x1C

The SCO interval is rejected.

#define BT_HCI_STATUS_SCO_OFFSET_REJECTED   0x1B

The SCO offset is rejected.

#define BT_HCI_STATUS_SIMPLE_PAIRING_NOT_SUPPORTED_BY_HOST   0x37

Simple pairing is not supported by the host.

#define BT_HCI_STATUS_SUCCESS   0x00

HCI error codes, please refer to the Bluetooth core specification version 4.2 [VOL 2, part D].

The operation completed successfully.

#define BT_HCI_STATUS_SYNCHRONOUS_CONNECTION_LIMIT_TO_A_DEVICE_EXCEEDED   0x0A

Synchronous connection limit has reached.

#define BT_HCI_STATUS_UNACCEPTABLE_CONNECTION_PARAMETERS   0x3B

Unacceptable connection parameters.

#define BT_HCI_STATUS_UNKNOWN_CONNECTION_IDENTIFIER   0x02

Unknown connection ID.

#define BT_HCI_STATUS_UNKNOWN_HCI_COMMAND   0x01

The controller did not recognize the HCI command sent by the host.

#define BT_HCI_STATUS_UNKNOWN_LMP_PDU   0x19

Unknown LMP PDU.

#define BT_HCI_STATUS_UNSPECIFIED_ERROR   0x1F

Unspecified error.

#define BT_HCI_STATUS_UNSUPPORTED_FEATURE_OR_PARAMETER_VALUE   0x11

Unsupported feature or parameter value.

#define BT_HCI_STATUS_UNSUPPORTED_REMOTE_FEATURE_OR_LMP_FEATURE   0x1A

Unsupported remote feature.

#define BT_HCI_STATUS_UPSUPPORTED_LMP_OR_LL_PARAMETER_VALUE   0x20

Unsupported parameters.

Typedef Documentation

Operation type of the set resolving list.

typedef uint16_t bt_hci_accept_t

Accept types.

typedef uint8_t bt_hci_advertising_type_t

Advertising type.

For more information, please refer to the Bluetooth core specification version 4.2 [VOL 2, part E] Section 7.8.5.

typedef uint8_t bt_hci_conn_filter_type_t

Connection filter type.

For more information, please refer to the Bluetooth core specification version 4.2 [VOL 2, part E] Section 7.8.12.

The reason to disconnect.

typedef uint8_t bt_hci_enable_t

HCI boolean type.

typedef uint8_t bt_hci_scan_addr_type_t

Scan address type.

For more information, please refer to the Bluetooth core specification version 4.2 [VOL 2, part E] Section 7.8.10.

typedef uint8_t bt_hci_scan_filter_type_t

Scan filter type.

For more information, please refer to the Bluetooth core specification version 4.2 [VOL 2, part E] Section 7.8.10.

typedef uint8_t bt_hci_scan_type_t

Scan type.

For more information, please refer to the Bluetooth core specification version 4.2 [VOL 2, part E] Section 7.8.10.

typedef uint8_t bt_hci_status_t

Defines the status of the controller events.

Please refer to BT_HCI_STATUS_XXX.