发送反馈
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
nl:: Weave:: ASN1
此命名空间包括 Weave 中的所有接口,可与 Abstract Syntax Notation One (ASN.1) 搭配使用。
摘要
枚举
@334
@334
ASN1TagClasses
ASN1TagClasses
ASN1UniversalTags
类型定义符
函数
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。
返回值
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.
最后更新时间 (UTC):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"]],["最后更新时间 (UTC):2024-08-29。"],[],[]]