Main Page | Data Structures | File List | Data Fields | Globals

sCCTALK_OPERATION Struct Reference

#include <cctalk-operations.h>

Collaboration diagram for sCCTALK_OPERATION:

Collaboration graph
[legend]

Detailed Description

This is how the user does cctalk communications.

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_OPERATIONpsNext
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]


Field Documentation

unsigned char sCCTALK_OPERATION::abRxPacket[ eCCT_MAX_PACKET_SIZE ]
 

Location to store the data received from the cctalk device

unsigned char sCCTALK_OPERATION::abTxPacket[ eCCT_MAX_PACKET_SIZE ]
 

Packet to transmit on the tty

teCCTALK_CHANNEL sCCTALK_OPERATION::eCctalkChannel
 

The channel this packet is destined for

unsigned long sCCTALK_OPERATION::lMaxReplySize
 

The maximum size of the expected reply packet size must be less that eCCT_MAX_PACKET_SIZE will be silently truncated

unsigned long sCCTALK_OPERATION::lRxPacketSize
 

The number of actual received bytes

unsigned long sCCTALK_OPERATION::lTimeout
 

Maximum time to wait in mS for a reply from the bus

unsigned long sCCTALK_OPERATION::lTxPacketSize
 

The number of bytes in the Tx packet buffer to send

struct sCCTALK_OPERATION* sCCTALK_OPERATION::psNext
 

Pointer to the next operation in the list

int sCCTALK_OPERATION::zlCctalkSockHdl
 

The socket handle to send the reply packet back on


The documentation for this struct was generated from the following file:
Generated on Thu Jan 20 16:13:13 2005 for Axis cctalk sub-system by doxygen 1.3.6