Help: ICE_ICELIB_PIC_SENDRECV

Send a packet to a port/processor module and receive response with timeout

Function PIC_SENDRECV - Send a packet to a port/processor module and receive response with timeout

PIC	p	Handle to Device 
int	node	Port/Processor Module node ID (-1=useDefault)
int	*head	Pointer to packet header for RMIF packets
int	*data	Pointer to packet data 
int	bytes	Number of bytes to write 
int	maxbytes Number of bytes maximum to read 
int	flags   0=Normal, PKT_RMIF for RMIF packets, PKT_ACMD for command packets
int	timeout	Number of seconds to wait for response

This routine calls PIC_SEND followed by PIC_RECV with a desired timeout.
See PIC_MSG for node IDs.