MX Foundation 4
Sending Messages

MX Foundation provides one mode of transmission to send HDLC bytes on a given channel:

  • Aperiodic Transmission is used to send a buffer of HDLC bytes. The HDLC bytes are sent to one of three priority queues. The precise timing when each HDLC word transmission occurs can be defined using the time tag fields.

Error Injection can also be used to inject errors in transmission.

The channel must be configured as it is explained in the next section.


Configuring The Channel

Before any transmission or reception takes place, the channels should be configured explicitly by setting the appropriate attributes. The transmission channel attributes should always match the reception channel attributes.

An HDLC channel can (by default) be configured on another channel class. To configure a channel to HDLC, an initialization callback set with the mxfSystemInitAttributeUint64CallbackHandler() function must be used. It is a good programming practice to avoid relying on the default channel class value (or any other attributes for that matter) and set it to the desired value.

Updated 10/23/2023