| BlueNRG-1 ACI APIs and events callbacks

- Main Page
- Modules
- Classes
- Files

Macros
HCI Error codes

## Macros

#define | HCI_UNKNOWN_COMMAND 0x01
#define | HCI_NO_CONNECTION 0x02
#define | HCI_HARDWARE_FAILURE 0x03
#define | HCI_PAGE_TIMEOUT 0x04
#define | HCI_AUTHENTICATION_FAILURE 0x05
#define | HCI_PIN_OR_KEY_MISSING 0x06
#define | HCI_MEMORY_FULL 0x07
#define | HCI_CONNECTION_TIMEOUT 0x08
#define | HCI_MAX_NUMBER_OF_CONNECTIONS 0x09
#define | HCI_MAX_NUMBER_OF_SCO_CONNECTIONS 0x0a
#define | HCI_ACL_CONNECTION_EXISTS 0x0b
#define | HCI_COMMAND_DISALLOWED 0x0c
#define | HCI_REJECTED_LIMITED_RESOURCES 0x0d
#define | HCI_REJECTED_SECURITY 0x0e
#define | HCI_REJECTED_PERSONAL 0x0f
#define | HCI_HOST_TIMEOUT 0x10
#define | HCI_UNSUPPORTED_FEATURE 0x11
#define | HCI_INVALID_PARAMETERS 0x12
#define | HCI_OE_USER_ENDED_CONNECTION 0x13
#define | HCI_OE_LOW_RESOURCES 0x14
#define | HCI_OE_POWER_OFF 0x15
#define | HCI_CONNECTION_TERMINATED 0x16
#define | HCI_REPEATED_ATTEMPTS 0x17
#define | HCI_PAIRING_NOT_ALLOWED 0x18
#define | HCI_UNKNOWN_LMP_PDU 0x19
#define | HCI_UNSUPPORTED_REMOTE_FEATURE 0x1a
#define | HCI_SCO_OFFSET_REJECTED 0x1b
#define | HCI_SCO_INTERVAL_REJECTED 0x1c
#define | HCI_AIR_MODE_REJECTED 0x1d
#define | HCI_INVALID_LMP_PARAMETERS 0x1e
#define | HCI_UNSPECIFIED_ERROR 0x1f
#define | HCI_UNSUPPORTED_LMP_PARAMETER_VALUE 0x20
#define | HCI_ROLE_CHANGE_NOT_ALLOWED 0x21
#define | HCI_LMP_RESPONSE_TIMEOUT 0x22
#define | HCI_LMP_ERROR_TRANSACTION_COLLISION 0x23
#define | HCI_LMP_PDU_NOT_ALLOWED 0x24
#define | HCI_ENCRYPTION_MODE_NOT_ACCEPTED 0x25
#define | HCI_UNIT_LINK_KEY_USED 0x26
#define | HCI_QOS_NOT_SUPPORTED 0x27
#define | HCI_INSTANT_PASSED 0x28
#define | HCI_PAIRING_NOT_SUPPORTED 0x29
#define | HCI_TRANSACTION_COLLISION 0x2a
#define | HCI_QOS_UNACCEPTABLE_PARAMETER 0x2c
#define | HCI_QOS_REJECTED 0x2d
#define | HCI_CLASSIFICATION_NOT_SUPPORTED 0x2e
#define | HCI_INSUFFICIENT_SECURITY 0x2f
#define | HCI_PARAMETER_OUT_OF_RANGE 0x30
#define | HCI_ROLE_SWITCH_PENDING 0x32
#define | HCI_SLOT_VIOLATION 0x34
#define | HCI_ROLE_SWITCH_FAILED 0x35
#define | HCI_EIR_TOO_LARGE 0x36
#define | HCI_SIMPLE_PAIRING_NOT_SUPPORTED 0x37
#define | HCI_HOST_BUSY_PAIRING 0x38
#define | HCI_CONN_REJ_NO_CH_FOUND 0x39
#define | HCI_CONTROLLER_BUSY 0x3A
#define | HCI_UNACCEPTABLE_CONN_INTERV 0x3B
#define | HCI_DIRECTED_ADV_TIMEOUT 0x3C
#define | HCI_CONN_TERM_MIC_FAIL 0x3D
#define | HCI_CONN_FAIL_TO_BE_ESTABL 0x3E
#define | HCI_MAC_CONN_FAILED 0x3F

## Detailed Description

## Macro Definition Documentation

#define HCI_ACL_CONNECTION_EXISTS 0x0b

Definition at line 39 of file hci_const.h.

#define HCI_AIR_MODE_REJECTED 0x1d

Definition at line 57 of file hci_const.h.

#define HCI_AUTHENTICATION_FAILURE 0x05

Definition at line 33 of file hci_const.h.

#define HCI_CLASSIFICATION_NOT_SUPPORTED 0x2e

Definition at line 73 of file hci_const.h.

#define HCI_COMMAND_DISALLOWED 0x0c

Definition at line 40 of file hci_const.h.

#define HCI_CONN_FAIL_TO_BE_ESTABL 0x3E

Definition at line 87 of file hci_const.h.

#define HCI_CONN_REJ_NO_CH_FOUND 0x39

Definition at line 82 of file hci_const.h.

#define HCI_CONN_TERM_MIC_FAIL 0x3D

Definition at line 86 of file hci_const.h.

#define HCI_CONNECTION_TERMINATED 0x16

Definition at line 50 of file hci_const.h.

#define HCI_CONNECTION_TIMEOUT 0x08

Definition at line 36 of file hci_const.h.

#define HCI_CONTROLLER_BUSY 0x3A

Definition at line 83 of file hci_const.h.

#define HCI_DIRECTED_ADV_TIMEOUT 0x3C

Definition at line 85 of file hci_const.h.

#define HCI_EIR_TOO_LARGE 0x36

Definition at line 79 of file hci_const.h.

#define HCI_ENCRYPTION_MODE_NOT_ACCEPTED 0x25

Definition at line 65 of file hci_const.h.

#define HCI_HARDWARE_FAILURE 0x03

Definition at line 31 of file hci_const.h.

#define HCI_HOST_BUSY_PAIRING 0x38

Definition at line 81 of file hci_const.h.

#define HCI_HOST_TIMEOUT 0x10

Definition at line 44 of file hci_const.h.

#define HCI_INSTANT_PASSED 0x28

Definition at line 68 of file hci_const.h.

#define HCI_INSUFFICIENT_SECURITY 0x2f

Definition at line 74 of file hci_const.h.

#define HCI_INVALID_LMP_PARAMETERS 0x1e

Definition at line 58 of file hci_const.h.

#define HCI_INVALID_PARAMETERS 0x12

Definition at line 46 of file hci_const.h.

#define HCI_LMP_ERROR_TRANSACTION_COLLISION 0x23

Definition at line 63 of file hci_const.h.

#define HCI_LMP_PDU_NOT_ALLOWED 0x24

Definition at line 64 of file hci_const.h.

#define HCI_LMP_RESPONSE_TIMEOUT 0x22

Definition at line 62 of file hci_const.h.

#define HCI_MAC_CONN_FAILED 0x3F

Definition at line 88 of file hci_const.h.

#define HCI_MAX_NUMBER_OF_CONNECTIONS 0x09

Definition at line 37 of file hci_const.h.

#define HCI_MAX_NUMBER_OF_SCO_CONNECTIONS 0x0a

Definition at line 38 of file hci_const.h.

#define HCI_MEMORY_FULL 0x07

Definition at line 35 of file hci_const.h.

#define HCI_NO_CONNECTION 0x02

Definition at line 30 of file hci_const.h.

#define HCI_OE_LOW_RESOURCES 0x14

Definition at line 48 of file hci_const.h.

#define HCI_OE_POWER_OFF 0x15

Definition at line 49 of file hci_const.h.

#define HCI_OE_USER_ENDED_CONNECTION 0x13

Definition at line 47 of file hci_const.h.

#define HCI_PAGE_TIMEOUT 0x04

Definition at line 32 of file hci_const.h.

#define HCI_PAIRING_NOT_ALLOWED 0x18

Definition at line 52 of file hci_const.h.

#define HCI_PAIRING_NOT_SUPPORTED 0x29

Definition at line 69 of file hci_const.h.

#define HCI_PARAMETER_OUT_OF_RANGE 0x30

Definition at line 75 of file hci_const.h.

#define HCI_PIN_OR_KEY_MISSING 0x06

Definition at line 34 of file hci_const.h.

#define HCI_QOS_NOT_SUPPORTED 0x27

Definition at line 67 of file hci_const.h.

#define HCI_QOS_REJECTED 0x2d

Definition at line 72 of file hci_const.h.

#define HCI_QOS_UNACCEPTABLE_PARAMETER 0x2c

Definition at line 71 of file hci_const.h.

#define HCI_REJECTED_LIMITED_RESOURCES 0x0d

Definition at line 41 of file hci_const.h.

#define HCI_REJECTED_PERSONAL 0x0f

Definition at line 43 of file hci_const.h.

#define HCI_REJECTED_SECURITY 0x0e

Definition at line 42 of file hci_const.h.

#define HCI_REPEATED_ATTEMPTS 0x17

Definition at line 51 of file hci_const.h.

#define HCI_ROLE_CHANGE_NOT_ALLOWED 0x21

Definition at line 61 of file hci_const.h.

#define HCI_ROLE_SWITCH_FAILED 0x35

Definition at line 78 of file hci_const.h.

#define HCI_ROLE_SWITCH_PENDING 0x32

Definition at line 76 of file hci_const.h.

#define HCI_SCO_INTERVAL_REJECTED 0x1c

Definition at line 56 of file hci_const.h.

#define HCI_SCO_OFFSET_REJECTED 0x1b

Definition at line 55 of file hci_const.h.

#define HCI_SIMPLE_PAIRING_NOT_SUPPORTED 0x37

Definition at line 80 of file hci_const.h.

#define HCI_SLOT_VIOLATION 0x34

Definition at line 77 of file hci_const.h.

#define HCI_TRANSACTION_COLLISION 0x2a

Definition at line 70 of file hci_const.h.

#define HCI_UNACCEPTABLE_CONN_INTERV 0x3B

Definition at line 84 of file hci_const.h.

#define HCI_UNIT_LINK_KEY_USED 0x26

Definition at line 66 of file hci_const.h.

#define HCI_UNKNOWN_COMMAND 0x01

Definition at line 29 of file hci_const.h.

#define HCI_UNKNOWN_LMP_PDU 0x19

Definition at line 53 of file hci_const.h.

#define HCI_UNSPECIFIED_ERROR 0x1f

Definition at line 59 of file hci_const.h.

#define HCI_UNSUPPORTED_FEATURE 0x11

Definition at line 45 of file hci_const.h.

#define HCI_UNSUPPORTED_LMP_PARAMETER_VALUE 0x20

Definition at line 60 of file hci_const.h.

#define HCI_UNSUPPORTED_REMOTE_FEATURE 0x1a

Definition at line 54 of file hci_const.h.