MrpSubTlvTest¶
Namespace: inet
class MrpSubTlvTest
MRP_SubTLVTest: Used for testing purposes within subTLV structures, not typically part of standard MRP.
Usage diagram¶
Inheritance diagram¶
Extends¶
Name |
Type |
Description |
|---|---|---|
class |
MRP_SubTLVHeader: Generic header for SubTLVs used in more detailed MRP configurations. |
Fields¶
Name |
Type |
Description |
|---|---|---|
id |
int |
|
mutable |
bool |
|
complete |
bool |
|
correct |
bool |
|
properlyRepresented |
bool |
|
chunkLength |
||
rawBin |
string[] |
|
rawHex |
string[] |
|
regionTags |
||
chunkLength |
||
subType |
||
subHeaderLength |
uint8_t |
|
chunkLength |
||
subType |
alternative: TEST_MGR_NACK |
|
subHeaderLength |
||
prio |
uint16_t |
|
sa |
||
otherMRMPrio |
uint16_t |
|
otherMRMSa |
Properties¶
Name |
Value |
Description |
|---|---|---|
beforeChange |
handleChange() |
|
descriptor |
readonly |
|
existingClass |
||
packetData |
Source code¶
//
// MRP_SubTLVTest: Used for testing purposes within subTLV structures,
// not typically part of standard MRP.
//
class MrpSubTlvTest extends MrpSubTlvHeader
{
chunkLength = B(18);
subType = TEST_PROPAGATE; // alternative: TEST_MGR_NACK
subHeaderLength = 16;
uint16_t prio;
MacAddress sa;
uint16_t otherMRMPrio;
MacAddress otherMRMSa;
}