发送反馈
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
错误
本模块包含 OpenThread 中使用的错误定义。
摘要
枚举
otError { OT_ERROR_NONE = 0, OT_ERROR_FAILED = 1, OT_ERROR_DROP = 2, OT_ERROR_NO_BUFS = 3, OT_ERROR_NO_ROUTE = 4, OT_ERROR_BUSY = 5, OT_ERROR_PARSE = 6, OT_ERROR_INVALID_ARGS = 7, OT_ERROR_SECURITY = 8, OT_ERROR_ADDRESS_QUERY = 9, OT_ERROR_NO_ADDRESS = 10, OT_ERROR_ABORT = 11, OT_ERROR_NOT_IMPLEMENTED = 12, OT_ERROR_INVALID_STATE = 13, OT_ERROR_NO_ACK = 14, OT_ERROR_CHANNEL_ACCESS_FAILURE = 15, OT_ERROR_DETACHED = 16, OT_ERROR_FCS = 17, OT_ERROR_NO_FRAME_RECEIVED = 18, OT_ERROR_UNKNOWN_NEIGHBOR = 19, OT_ERROR_INVALID_SOURCE_ADDRESS = 20, OT_ERROR_ADDRESS_FILTERED = 21, OT_ERROR_DESTINATION_ADDRESS_FILTERED = 22, OT_ERROR_NOT_FOUND = 23, OT_ERROR_ALREADY = 24, OT_ERROR_IP6_ADDRESS_CREATION_FAILURE = 26, OT_ERROR_NOT_CAPABLE = 27, OT_ERROR_RESPONSE_TIMEOUT = 28, OT_ERROR_DUPLICATED = 29, OT_ERROR_REASSEMBLY_TIMEOUT = 30, OT_ERROR_NOT_TMF = 31, OT_ERROR_NOT_LOWPAN_DATA_FRAME = 32, OT_ERROR_LINK_MARGIN_LOW = 34, OT_ERROR_INVALID_COMMAND = 35, OT_ERROR_PENDING = 36, OT_ERROR_REJECTED = 37, OT_NUM_ERRORS , OT_ERROR_GENERIC = 255 }
枚举表示整个 OpenThread 中使用的错误代码。
类型定义符
otError
typedef表示整个 OpenThread 中使用的错误代码。
枚举
otError
otError
表示整个 OpenThread 中使用的错误代码。
类型定义符
otError
enum otError otError
表示整个 OpenThread 中使用的错误代码。
函数
otThreadErrorToString
const char * otThreadErrorToString(
otError aError
)
将 otError 枚举转换为字符串。
具体说明
参数
返回值
otError 的字符串表示法。
资源
OpenThread API 参考文档源自 GitHub 上提供的源代码。如需了解详情,或者为我们的文档做贡献,请参阅资源 。
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates. The OPENTHREAD and related marks are trademarks of the Thread Group and are used under license.
最后更新时间 (UTC):2023-12-01。