Back to Utility Commands
CMD_UTIL_SET_INIT_STRATEGY

Command:              CMD_UTIL_SET_INIT_STRATEGY
Destination:          SD_UTIL
Destination Channel:  Channel ID

Description

Clients use this command to configure the automatic initialization strategy for the indicated channel.

A series of up to 8 Delay Times may be specified. An initialize command is sent to a channel after waiting the first Delay Time following the report of a bus off event. The next Delay Time is used for subsequent bus off events unless the number of successful transmitted messages is greater than the Reset Limit. The last Delay Time is used repeatedly following each bus off event until Reset Limit number of messages have been successfully transmitted.

Command data format

Reset Limit First Delay ... Last Delay Padding
4 bytes 1 byte ... 1 byte 0-3 bytes

The Reset Limit is the number of successful transmitted messages needed to reset the initialization strategy. When reset, the first, instead of the next, Delay Time is used as a delay before sending out an initialize command.

The Delay Times are in quarters of seconds. Infinite time is specified by a value of zero. Between zero and eight Delay Times may be returned in addition to the Reset Limit. No Delay Times and a first Delay Time of zero both indicate that no initialization command is to be sent automatically.

Response data format
none
Response return codes
RESP_OK Execution of the command was successful.
RESP_INVAL_CHAN The specified channel is invalid.
RESP_UNSUPPORTED This command is not supported on the specified channel.
RESP_UNREG The specified source channel is not registered with the server.
RESP_UNKNOWN_ERR An unknown error occurred.

|Top|