MX Foundation 4
|
The BC allows the user to send messages with many error types (per message basis).
In order to send an erroneous message, the mxfASCBTxPeriodicUpdateMsgWrite() function may be used. The MXF_ASCB_DATAREC structure contains the control field that specifies the errors to inject.
To inject an error to a command that has no data associated to it (for example, a user request), the dataSize field of MXF_ASCB_DATAREC structure can be set to 0. That way, there is no need to provide any data.