nl::Weave::Profiles::DataManagement_Current::CustomCommand::Parser
Stay organized with collections
Save and categorize content based on your preferences.
#include <src/lib/profiles/data-management/Current/MessageDef.h>
WDM Custom Command Request parser definition.
Summary
Inheritance
Inherits from: nl::Weave::Profiles::DataManagement_Current::DataElement::Parser
Public functions |
|
---|---|
CheckSchemaValidity(void) const
|
Roughly verify the message is correctly formed.
|
GetActionTimeMicroSecond(int64_t *const apActionTimeMicroSecond) const
|
Get the scheduled action time for this command.
|
GetCommandType(uint64_t *const apCommandType) const
|
Get the command type id for this command.
|
GetExpiryTimeMicroSecond(int64_t *const apExpiryTimeMicroSecond) const
|
Get the expiry time for this command.
|
GetInitiationTimeMicroSecond(int64_t *const apInitiationTimeMicroSecond) const
|
Get the initiation time for this command.
|
GetMustBeVersion(uint64_t *const apMustBeVersion) const
|
Get the must-be version for this command.
|
GetPath(Path::Parser *const apPath) const
|
Initialize a Path::Parser with the path component in this command.
|
GetReaderOnArgument(nl::Weave::TLV::TLVReader *const apReader) const
|
Initialize a TLVReader to point to the beginning of the argument component in this command.
|
GetReaderOnPath(nl::Weave::TLV::TLVReader *const apReader) const
|
Initialize a TLVReader to point to the beginning of the path component in this command.
|
Init(const nl::Weave::TLV::TLVReader & aReader)
|
Initialize the parser object with TLVReader.
|
Public functions
CheckSchemaValidity
WEAVE_ERROR CheckSchemaValidity( void ) const
Roughly verify the message is correctly formed.
Details | |||
---|---|---|---|
Return Values |
|
GetActionTimeMicroSecond
WEAVE_ERROR GetActionTimeMicroSecond( int64_t *const apActionTimeMicroSecond ) const
Get the scheduled action time for this command.
Details | |||||||
---|---|---|---|---|---|---|---|
Parameters |
|
||||||
Return Values |
|
GetCommandType
WEAVE_ERROR GetCommandType( uint64_t *const apCommandType ) const
Get the command type id for this command.
Details | |||||||
---|---|---|---|---|---|---|---|
Parameters |
|
||||||
Return Values |
|
GetExpiryTimeMicroSecond
WEAVE_ERROR GetExpiryTimeMicroSecond( int64_t *const apExpiryTimeMicroSecond ) const
Get the expiry time for this command.
Details | |||||||
---|---|---|---|---|---|---|---|
Parameters |
|
||||||
Return Values |
|
GetInitiationTimeMicroSecond
WEAVE_ERROR GetInitiationTimeMicroSecond( int64_t *const apInitiationTimeMicroSecond ) const
Get the initiation time for this command.
Details | |||||||
---|---|---|---|---|---|---|---|
Parameters |
|
||||||
Return Values |
|
GetMustBeVersion
WEAVE_ERROR GetMustBeVersion( uint64_t *const apMustBeVersion ) const
Get the must-be version for this command.
Details | |||||||
---|---|---|---|---|---|---|---|
Parameters |
|
||||||
Return Values |
|
GetPath
WEAVE_ERROR GetPath( Path::Parser *const apPath ) const
Initialize a Path::Parser with the path component in this command.
Details | |||||||
---|---|---|---|---|---|---|---|
Parameters |
|
||||||
Return Values |
|
GetReaderOnArgument
WEAVE_ERROR GetReaderOnArgument( nl::Weave::TLV::TLVReader *const apReader ) const
Initialize a TLVReader to point to the beginning of the argument component in this command.
Details | |||
---|---|---|---|
Parameters |
|
||
Return Values |
|
GetReaderOnPath
WEAVE_ERROR GetReaderOnPath( nl::Weave::TLV::TLVReader *const apReader ) const
Initialize a TLVReader to point to the beginning of the path component in this command.
Details | |||
---|---|---|---|
Parameters |
|
||
Return Values |
|
Init
WEAVE_ERROR Init( const nl::Weave::TLV::TLVReader & aReader )
Initialize the parser object with TLVReader.
Details | |||
---|---|---|---|
Parameters |
|
||
Return Values |
|