nl:: Weave:: TLV:: Debug
This namespace includes types and interfaces for debugging and logging Weave TLV.
Summary
Typedefs |
|
---|---|
DumpWriter)(const char *aFormat,...)
|
typedefvoid(*
|
Functions |
|
---|---|
DecodeTagControl(const TLVTagControl aTagControl)
|
const char *
Decode a TLV tag control with a descriptive string.
|
DecodeType(const TLVType aType)
|
const char *
Decode a TLV type with a descriptive string.
|
Dump(const TLVReader & aReader, DumpWriter aWriter)
|
Dump the TLV data within the specified reader in human-readable form with the specified writer.
|
DumpHandler(DumpWriter aWriter, const char *aIndent, const TLVReader & aReader, size_t aDepth)
|
void
Dump the TLV element referenced by aReader in human-readable form using aWriter.
|
DumpHandler(const TLVReader & aReader, size_t aDepth, void *aContext)
|
Log the TLV data within the specified reader in human-readable form.
|
DumpIterator(DumpWriter aWriter, const TLVReader & aReader)
|
Log the TLV data within the specified reader in human-readable form to the specified writer.
|
Structs |
|
---|---|
nl:: |
Typedefs
DumpWriter
void(* DumpWriter)(const char *aFormat,...)
Functions
DecodeTagControl
const char * DecodeTagControl( const TLVTagControl aTagControl )
DecodeType
const char * DecodeType( const TLVType aType )
Dump
WEAVE_ERROR Dump( const TLVReader & aReader, DumpWriter aWriter )
Dump the TLV data within the specified reader in human-readable form with the specified writer.
Details | |||||
---|---|---|---|---|---|
Parameters |
|
||||
Return Values |
|
DumpHandler
void DumpHandler( DumpWriter aWriter, const char *aIndent, const TLVReader & aReader, size_t aDepth )
DumpHandler
WEAVE_ERROR DumpHandler( const TLVReader & aReader, size_t aDepth, void *aContext )
Log the TLV data within the specified reader in human-readable form.
Details | |||||||
---|---|---|---|---|---|---|---|
Parameters |
|
||||||
Return Values |
|
DumpIterator
WEAVE_ERROR DumpIterator( DumpWriter aWriter, const TLVReader & aReader )