• 8.BLE---错误码


    简介:

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

     

  • 相关阅读:
    Luogu 2254 [NOI2005]瑰丽华尔兹
    Luogu 3168 [CQOI2015]任务查询系统
    Luogu U15118 萨塔尼亚的期末考试(fail)
    POJ 2778 DNA Sequence AC自动机 + 矩阵快速幂
    HDU 2457 DNA repair AC自动机 + dp
    POJ 3522 Slim Span 暴力枚举 + 并查集
    POJ 2955 Brackets 区间dp
    hdu 2604 Queuing dp找规律 然后矩阵快速幂。坑!!
    UESTC
    java & SQL
  • 原文地址:https://www.cnblogs.com/yuqilihualuo/p/9566503.html
Copyright © 2020-2023  润新知