|int tfCheckXmitInterface||(ttUserInterface interfaceHandle);|
tfCheckXmitInterface() is used to check if data is ready to be sent on a particular device/interface (data queued to the interface send queue). This call can be used in environments where it is preferable to poll the device for data ready to be transmitted (i.e. a main loop). If you are using a separate task or thread to transmit data, then you should use the tfWaitXmitInterface() call. Upon a successful return, the user should call tfXmitInterface() to send the data ready to be transmitted from the bottom of the Treck stack to the device driver.
- The interface handle to poll to see if data needs to be received from the device driver.
- There is data waiting to be transmitted to the device driver.
- There is no data waiting to be trasnmitted to the device driver.