博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
8.BLE---错误码
阅读量:5136 次
发布时间:2019-06-13

本文共 2909 字,大约阅读时间需要 9 分钟。

简介:

错误代码通过控制包 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

  1. 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

 

转载于:https://www.cnblogs.com/yuqilihualuo/p/9566503.html

你可能感兴趣的文章
npm 常用指令
查看>>
20几个正则常用正则表达式
查看>>
TextArea中定位光标位置
查看>>
非常棒的Visual Studo调试插件:OzCode 2.0 下载地址
查看>>
判断字符串在字符串中
查看>>
hdu4374One hundred layer (DP+单调队列)
查看>>
类间关系总结
查看>>
properties配置文件读写,追加
查看>>
Linux环境下MySql安装和常见问题的解决
查看>>
lrzsz——一款好用的文件互传工具
查看>>
ZPL语言完成条形码的打印
查看>>
这20件事千万不要对自己做!
查看>>
Linux环境下Redis安装和常见问题的解决
查看>>
玩转小程序之文件读写
查看>>
HashPump用法
查看>>
cuda基础
查看>>
virutalenv一次行安装多个requirements里的文件
查看>>
Vue安装准备工作
查看>>
.NET 母版页 讲解
查看>>
Android Bitmap 和 Canvas详解
查看>>