| BlueNRG-1 ACI APIs and events callbacks

- Main Page
- Modules
- Classes
- Files

- File List
- File Members

hci_const.h
Go to the documentation of this file.
1
21 #ifndef __HCI_INTERNAL_H_
22 #define __HCI_INTERNAL_H_
23
24 /*** Data types ***/
29 #define HCI_UNKNOWN_COMMAND 0x01
30 #define HCI_NO_CONNECTION 0x02
31 #define HCI_HARDWARE_FAILURE 0x03
32 #define HCI_PAGE_TIMEOUT 0x04
33 #define HCI_AUTHENTICATION_FAILURE 0x05
34 #define HCI_PIN_OR_KEY_MISSING 0x06
35 #define HCI_MEMORY_FULL 0x07
36 #define HCI_CONNECTION_TIMEOUT 0x08
37 #define HCI_MAX_NUMBER_OF_CONNECTIONS 0x09
38 #define HCI_MAX_NUMBER_OF_SCO_CONNECTIONS 0x0a
39 #define HCI_ACL_CONNECTION_EXISTS 0x0b
40 #define HCI_COMMAND_DISALLOWED 0x0c
41 #define HCI_REJECTED_LIMITED_RESOURCES 0x0d
42 #define HCI_REJECTED_SECURITY 0x0e
43 #define HCI_REJECTED_PERSONAL 0x0f
44 #define HCI_HOST_TIMEOUT 0x10
45 #define HCI_UNSUPPORTED_FEATURE 0x11
46 #define HCI_INVALID_PARAMETERS 0x12
47 #define HCI_OE_USER_ENDED_CONNECTION 0x13
48 #define HCI_OE_LOW_RESOURCES 0x14
49 #define HCI_OE_POWER_OFF 0x15
50 #define HCI_CONNECTION_TERMINATED 0x16
51 #define HCI_REPEATED_ATTEMPTS 0x17
52 #define HCI_PAIRING_NOT_ALLOWED 0x18
53 #define HCI_UNKNOWN_LMP_PDU 0x19
54 #define HCI_UNSUPPORTED_REMOTE_FEATURE 0x1a
55 #define HCI_SCO_OFFSET_REJECTED 0x1b
56 #define HCI_SCO_INTERVAL_REJECTED 0x1c
57 #define HCI_AIR_MODE_REJECTED 0x1d
58 #define HCI_INVALID_LMP_PARAMETERS 0x1e
59 #define HCI_UNSPECIFIED_ERROR 0x1f
60 #define HCI_UNSUPPORTED_LMP_PARAMETER_VALUE 0x20
61 #define HCI_ROLE_CHANGE_NOT_ALLOWED 0x21
62 #define HCI_LMP_RESPONSE_TIMEOUT 0x22
63 #define HCI_LMP_ERROR_TRANSACTION_COLLISION 0x23
64 #define HCI_LMP_PDU_NOT_ALLOWED 0x24
65 #define HCI_ENCRYPTION_MODE_NOT_ACCEPTED 0x25
66 #define HCI_UNIT_LINK_KEY_USED 0x26
67 #define HCI_QOS_NOT_SUPPORTED 0x27
68 #define HCI_INSTANT_PASSED 0x28
69 #define HCI_PAIRING_NOT_SUPPORTED 0x29
70 #define HCI_TRANSACTION_COLLISION 0x2a
71 #define HCI_QOS_UNACCEPTABLE_PARAMETER 0x2c
72 #define HCI_QOS_REJECTED 0x2d
73 #define HCI_CLASSIFICATION_NOT_SUPPORTED 0x2e
74 #define HCI_INSUFFICIENT_SECURITY 0x2f
75 #define HCI_PARAMETER_OUT_OF_RANGE 0x30
76 #define HCI_ROLE_SWITCH_PENDING 0x32
77 #define HCI_SLOT_VIOLATION 0x34
78 #define HCI_ROLE_SWITCH_FAILED 0x35
79 #define HCI_EIR_TOO_LARGE 0x36
80 #define HCI_SIMPLE_PAIRING_NOT_SUPPORTED 0x37
81 #define HCI_HOST_BUSY_PAIRING 0x38
82 #define HCI_CONN_REJ_NO_CH_FOUND 0x39
83 #define HCI_CONTROLLER_BUSY 0x3A
84 #define HCI_UNACCEPTABLE_CONN_INTERV 0x3B
85 #define HCI_DIRECTED_ADV_TIMEOUT 0x3C
86 #define HCI_CONN_TERM_MIC_FAIL 0x3D
87 #define HCI_CONN_FAIL_TO_BE_ESTABL 0x3E
88 #define HCI_MAC_CONN_FAILED 0x3F
89
93 #endif /* __HCI_INTERNAL_H_ */