提供意見
透過集合功能整理內容
你可以依據偏好儲存及分類內容。
nl:: Weave:: ASN1
此命名空間包含 Weave 中所有與抽象語法 Notation One (ASN.1) 搭配使用的介面。
摘要
列舉
@334
@334
ASN1TagClasses
ASN1TagClasses
ASN1UniversalTags
Typedefs
函式
DumpASN1
ASN1_ERROR DumpASN1 (
ASN1Reader & reader ,
const char * prefix ,
const char * indent
)
bool FormatASN1Error(
char *buf,
uint16_t bufSize,
int32_t err
)
如果出現 ASN1 錯誤,會傳回使用者可理解的 NULL 結尾 C 字串說明錯誤。
詳細資料
參數
[in] buf
要放置錯誤字串的緩衝區。
[in] bufSize
提供的緩衝區大小 (以位元組為單位)。
[in] err
要說明的錯誤。
傳回
如果說明字串寫入提供的緩衝區中,則為 true。
傳回
如果提供的錯誤不是
ASN1 錯誤,則為 false。
GetEncodedObjectID
bool GetEncodedObjectID (
OID oid ,
const uint8_t *& encodedOID ,
uint16_t & encodedOIDLen
)
GetOIDCategory
OIDCategory GetOIDCategory(
OID oid
)
GetOIDName
const char * GetOIDName (
OID oid
)
HighestBit
uint8_t HighestBit(
uint32_t v
)
ParseObjectID
OID ParseObjectID (
const uint8_t * encodedOID ,
uint16_t encodedOIDLen
)
ReverseBits
uint8_t ReverseBits(
uint8_t v
)
ReverseBits
uint8_t ReverseBits(
uint8_t v
)
itoa2
void itoa2(
uint32_t val,
uint8_t *buf
)
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.
上次更新時間:2024-08-29 (世界標準時間)。
想進一步說明嗎?
[[["容易理解","easyToUnderstand","thumb-up"],["確實解決了我的問題","solvedMyProblem","thumb-up"],["其他","otherUp","thumb-up"]],[["缺少我需要的資訊","missingTheInformationINeed","thumb-down"],["過於複雜/步驟過多","tooComplicatedTooManySteps","thumb-down"],["過時","outOfDate","thumb-down"],["翻譯問題","translationIssue","thumb-down"],["示例/程式碼問題","samplesCodeIssue","thumb-down"],["其他","otherDown","thumb-down"]],["上次更新時間:2024-08-29 (世界標準時間)。"],[],[]]