Can Activate Tx Self Ack
Syntax
int canActivateTxSelfAck (int channel, int activate);
Function
Activates/deactivates the transmitself ack featureinCANoefor the defined channel.
Parameters
channel CAN channel
activate
- 0 = deactivate
- 1 = activate
Return Values
0 = device does not support self ack
1 = successful
-1 = In case of error
on key a'{int channelint activate;// Activate TX Self-ACK for CAN channel 1channel = 1;activate = 1;canActivateTXSelfAck(channel, activate);}