SetTimeout: To configure flow control timeouts of J1939 network
Synopsis
Section titled “Synopsis”UINT SetTimeout (BYTE TimeoutType, UINT TimeoutValue )```### Description
This function can be used to configure flow control timeouts in J1939 network.### InputsTimeoutType - Timeout type. Possible values are a. Tb (0): Time interval between two packets in broadcast transmission. b. Tr (1): Maximum wait period for a sender without receiving response from the receiver. c.Th (2): Time interval between two 'Clear to Send' message when delaying the data. d.T1 (3): Maximum wait period for a receiver when more packets were expected. e.T2 (4): Maximum wait period for a receiver to receive data packets after sending 'Clear to Send' message. f.T3 (5): Maximum wait period for a sender to receive 'End of Message Acknowledgement' after sending last data packet. g. T4 (6): Maximum wait period for a sender to receive another 'Clear to Send' message after receiving one to delay the data. TimeoutValue(ms) - Value to be set for the corresponding timeout type.
### Returns
TRUE success. FALSE if the handler is already in the specified state
---
**Authoritative source**: BUSMASTER DITA help source `SetTimeout.dita`, compiled into `BUSMASTER.CHM` with the application.