簡介:
錯誤代碼通過控制包 LL_TERMINATE_IND 來反饋。具體參考第5章7.6小結。
1.0x00 Success
2.Unknown HCI Command
Unknown HCI Command錯誤代碼表示Controller不理解主機發送的HCI命令包OpCode。 給出的OpCode可能與本文檔中指定的任何OpCode或任何特定於供應商的OpCode不對應,或者該命令可能尚未實現
3.0x02 Unknown Connection Identifier
"未知連接標識符"錯誤代碼表示主機發送了識別連接的命令,但該連接不存在。
4.0x03 Hardware Failure
硬件故障錯誤代碼向主機指示控制器中的某些內容以無法用任何其他錯誤代碼描述的方式發生故障。 此錯誤代碼隱含的含義取決於實現。
5.0x04 Page Timeout
"頁面超時"錯誤代碼表示由於"頁面超時"配置參數而導致頁面超時。 僅使用Remote_Name_Request和Create_Connection命令可能會出現此錯誤代碼。
6. 0x05 Authentication Failure
7. 0x06 PIN or Key Missing
8. 0x07 Memory Capacity Exceeded
9. 0x08 Connection Timeout
10. 0x09 Connection Limit Exceeded
11. 0x0A Synchronous Connection Limit To A Device Exceeded
12. 0x0B ACL Connection Already Exists
13. 0x0C Command Disallowed
14. 0x0D Connection Rejected due to Limited Resources
15. 0x0E Connection Rejected Due To Security Reasons
16. 0x0F Connection Rejected due to Unacceptable BD_ADDR
17. 0x10 Connection Accept Timeout Exceeded
18. 0x11 Unsupported Feature or Parameter Value
19. 0x12 Invalid HCI Command Parameters
20. 0x13 Remote User Terminated Connection
21. 0x14 Remote Device Terminated Connection due to Low Resources
22. 0x15 Remote Device Terminated Connection due to Power Off
23. 0x16 Connection Terminated By Local Host
24. 0x17 Repeated Attempts
25. 0x18 Pairing Not Allowed
26. 0x19 Unknown LMP PDU
27. 0x1A Unsupported Remote Feature / Unsupported LMP Feature
28. 0x1B SCO Offset Rejected
29. 0x1C SCO Interval Rejected
30. 0x1D SCO Air Mode Rejected
31. 0x1E Invalid LMP Parameters / Invalid LL Parameters
32. 0x1F Unspecified Error
33. 0x20 Unsupported LMP Parameter Value / Unsupported LL Parameter Value
34. 0x21 Role Change Not Allowed
35. 0x22 LMP Response Timeout / LL Response Timeout
36. 0x23 LMP Error Transaction Collision
37. 0x24 LMP PDU Not Allowed
38. 0x25 Encryption Mode Not Acceptable
39. 0x26 Link Key cannot be Changed
40. 0x27 Requested QoS Not Supported
41. 0x28 Instant Passed
42. 0x29 Pairing With Unit Key Not Supported
43. 0x2A Different Transaction Collision
44. 0x2B Reserved
45. 0x2C QoS Unacceptable Parameter
46. 0x2D QoS Rejected
0x2E Channel Classification Not Supported
48. 0x2F Insufficient Security
49. 0x30 Parameter Out Of Mandatory Range
50. 0x31 Reserved
51. 0x32 Role Switch Pending
52. 0x33 Reserved
53. 0x34 Reserved Slot Violation
54. 0x35 Role Switch Failed
55. 0x36 Extended Inquiry Response Too Large
56. 0x37 Secure Simple Pairing Not Supported By Host
57. 0x38 Host Busy - Pairing
58. 0x39 Connection Rejected due to No Suitable Channel Found
59. 0x3A Controller Busy
60. 0x3B Unacceptable Connection Parameters
61. 0x3C Directed Advertising Timeout
62. 0x3D Connection Terminated due to MIC Failure
63. 0x3E Connection Failed to be Established
64. 0x3F MAC Connection Failed
65. 0x40 Coarse Clock Adjustment Rejected but Will Try to Adjust Using Clock Dragging
