CL2.IsSendingActive (FUN)

 

This function of the CAA_CanL2.library specifies whether the CAN hard­ware is busy sending CAN messages or whether further messages are stored and waiting to be sent. In other words: Should this function return FALSE,  all messages (previously written with CL2.Write) have already been sent and new messages are sent as soon as the bus is free.

Input:

hDriver

CAA.HANDLE

handle of driver

peError

POINTER TO CL2.ERROR

pointer to error code (enumeration type)

Output:

xSendingActive

BOOL

FALSE: the sending queue is empty and the CAN hardware is not sending any messages at the moment