Name

FE_DISEQC_RECV_SLAVE_REPLY — Receives reply from a DiSEqC 2.0 command

Synopsis

int ioctl(int fd,
 int request,
 struct dvb_diseqc_slave_reply *argp);
 

Arguments

fd

File descriptor returned by open().

request

FE_DISEQC_RECV_SLAVE_REPLY

argp

pointer to struct dvb_diseqc_slave_reply

Description

Receives reply from a DiSEqC 2.0 command.

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.

Table 9.21. struct dvb_diseqc_slave_reply

uint8_tmsg[4]DiSEqC message (framing, data[3])
uint8_tmsg_lenLength of the DiSEqC message. Valid values are 0 to 4, where 0 means no msg
inttimeoutReturn from ioctl after timeout ms with errorcode when no message was received