nl:: Weave:: Profiles:: BDX_Development:: BlockQuery
#include <src/lib/profiles/bulk-data-transfer/Development/BDXMessages.h>
The BlockQuery message is used to request that a block of data be transferred from sender to receiver.
Summary
Inheritance
Direct Known Subclasses:nl::Weave::Profiles::BDX_Development::BlockAck
nl::Weave::Profiles::BDX_Development::BlockEOFAck
Constructors and Destructors |
|
---|---|
BlockQuery(void)
The no-arg constructor with defaults for the block query message.
|
Public types |
|
---|---|
@84
|
enum |
Public attributes |
|
---|---|
mBlockCounter
|
uint8_t
Counter of the block that we are asking for.
|
Public functions |
|
---|---|
init(uint8_t aCounter)
|
Initialize a BlockQuery message.
|
operator==(const BlockQuery &) const
|
bool
Equality comparison between BlockQuery messages.
|
pack(PacketBuffer *aBuffer)
|
Pack a block query message into an PacketBuffer.
|
packedLength(void)
|
uint16_t
Returns the packed length of this block query message.
|
Public static functions |
|
---|---|
parse(PacketBuffer *aBuffer, BlockQuery & aQuery)
|
Parse data from an PacketBuffer into a BlockQuery message format.
|
Public types
@84
@84
Public attributes
Public functions
BlockQuery
BlockQuery( void )
The no-arg constructor with defaults for the block query message.
init
WEAVE_ERROR init( uint8_t aCounter )
Initialize a BlockQuery message.
Details | |||
---|---|---|---|
Parameters |
|
||
Returns |
WEAVE_NO_ERROR if successful
|
operator==
bool operator==( const BlockQuery & ) const
Equality comparison between BlockQuery messages.
Details | |||
---|---|---|---|
Parameters |
|
||
Returns |
true iff they have all the same fields.
|
pack
WEAVE_ERROR pack( PacketBuffer *aBuffer )
Pack a block query message into an PacketBuffer.
Details | |||||
---|---|---|---|---|---|
Parameters |
|
||||
Return Values |
|
packedLength
uint16_t packedLength( void )
Returns the packed length of this block query message.
Details | |
---|---|
Returns |
length of the message when packed
|
Public static functions
parse
WEAVE_ERROR parse( PacketBuffer *aBuffer, BlockQuery & aQuery )
Parse data from an PacketBuffer into a BlockQuery message format.
Details | |||||
---|---|---|---|---|---|
Parameters |
|
||||
Return Values |
|