2.2.8 MTAG_USER_MESSAGE

The MTAG_USER_MESSAGE message indicates that a user (level-three protocol) message will be delivered on the specified connection.


0


1


2


3


4


5


6


7


8


9

1
0


1


2


3


4


5


6


7


8


9

2
0


1


2


3


4


5


6


7


8


9

3
0


1

MsgHeader (24 bytes)

...

...

...

MessageData (variable)

...

MsgHeader (24 bytes):  This field contains a MESSAGE_PACKET structure (section 2.2.2). The fields MUST be set as specified in section 2.2.2. In particular:

  • The MsgTag field MUST be set to 0x00000FFF (MTAG_USER_MESSAGE).

  • The dwcbVarLenData field MUST be set to the length in bytes of the MessageData field, if it is present, otherwise it MUST be set to 0x00000000.

MessageData (variable):  A byte array containing the body of the message. The format of this body is defined by the higher-layer software operating over this protocol, and it is generally indicated by the value of the dwUserMsgType field in the MsgHeader structure. The contents of this field MUST be treated as opaque.