Back to USDT Commands
USDT Event

Frame type:          FT_EVENT
Source:              SD_USDT
Source Channel:      Vehicle Network Protocol Channel ID
Destination:         SD_CLIENT
Destination Channel: Client ID

Description

The gusdt client sends this event to the last registered client for a channel when a sequence error or timeout occurs while receiving a USDT message from a CAN channel. A timeout event is sent if the first frame or the flow control frame is not received when receiving or sending a USDT message from or to a CAN channel. An informational event may be sent when the last frame of a USDT message is sent or when the first and last frames of a USDT message are received. USDT registration options determine whether or not the informational events are sent.


Event Data Format

Event Header length (bytes) Reserved Frame ID
1 byte 1 byte 2 bytes 4 bytes

Note:
If the Frame ID is two bytes long , it will be right justified in the four byte field. That is, data bytes 6 and 7 will contain the Frame ID and bytes 4 and 5 will not be used.
Event
 
USDT_DONE A complete USDT message has been transmitted.
USDT_SEQ_ERR A sequence error has occurred.
USDT_TIMEOUT A timeout has occurred
USDT_FIRSTFRAME The first frame of a USDT message has arrived
USDT_LASTFRAME The last frame of a USDT message has arrived

|Top|