TCIL_OnRequest (Callback)
Valid for: CANoe DE • CANoe4SW DEFunction Syntax
Description
This callback function is called from the TC IL if a request (0xEA00) is received. The return value defines the node reaction to the request.Parameters
- rqPGN: Requested PGN
- sourceAddr: Source address from which the request was sent
- destinationAddress: Destination address on which the request was sent
Return Values
- 0: Do not respond to the request
- 1: Request with the message from the Tx list of the node
- 2: Send a negative acknowledgment (NACK)
- 3: Send a positive acknowledgment (ACK)