#include <cctalk-operations.h>
Collaboration diagram for sCCTALK_OPERATION:

This structure is passed around inside the cctalk module. The user will fill out the structure with the Tx packet length. The maximum time this transaction is expected to take in mS. The biggest expected Rx packet size returned. Then send this cctalk operation to the cctalk module for it to be queued to be sent over the cctalk communications bus.
Data Fields | |
| sCCTALK_OPERATION * | psNext |
| int | zlCctalkSockHdl |
| teCCTALK_CHANNEL | eCctalkChannel |
| unsigned long | lTimeout |
| unsigned long | lTxPacketSize |
| unsigned long | lRxPacketSize |
| unsigned long | lMaxReplySize |
| unsigned char | abTxPacket [eCCT_MAX_PACKET_SIZE] |
| unsigned char | abRxPacket [eCCT_MAX_PACKET_SIZE] |
|
|
Location to store the data received from the cctalk device |
|
|
Packet to transmit on the tty |
|
|
The channel this packet is destined for |
|
|
The maximum size of the expected reply packet size must be less that eCCT_MAX_PACKET_SIZE will be silently truncated |
|
|
The number of actual received bytes |
|
|
Maximum time to wait in mS for a reply from the bus |
|
|
The number of bytes in the Tx packet buffer to send |
|
|
Pointer to the next operation in the list |
|
|
The socket handle to send the reply packet back on |
1.3.6