Google is committed to advancing racial equity for Black communities.
See how.
錯誤
這個模組包含 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 中使用的錯誤代碼。 |
Typedefs
|
otError
|
typedef 這項列舉代表 OpenThread 中使用的錯誤代碼。 |
列舉
OTError
otError
這項列舉代表 OpenThread 中使用的錯誤代碼。
Typedefs
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. Thread is a registered trademark of the Thread Group, Inc.
Last updated 2021-12-30 UTC.