2.5.8. ioctl FE_DISEQC_RECV_SLAVE_REPLY

2.5.8.1. Name

FE_DISEQC_RECV_SLAVE_REPLY - Receives reply from a DiSEqC 2.0 command

2.5.8.2. Synopsis

int ioctl(int fd, FE_DISEQC_RECV_SLAVE_REPLY, struct dvb_diseqc_slave_reply *argp)

2.5.8.3. Arguments

fd
File descriptor returned by open().
argp
pointer to struct dvb_diseqc_slave_reply

2.5.8.4. Description

Receives reply from a DiSEqC 2.0 command.

dvb_diseqc_slave_reply
struct dvb_diseqc_slave_reply
uint8_t msg[4] DiSEqC message (framing, data[3])
uint8_t msg_len Length of the DiSEqC message. Valid values are 0 to 4, where 0 means no msg
int timeout Return from ioctl after timeout ms with errorcode when no message was received

2.5.8.5. Return Value

On success 0 is returned, on error -1 and the errno variable is set appropriately. The generic error codes are described at the Generic Error Codes chapter.