FE_READ_SNR.rst 1.31 KB

FE_READ_SNR

DESCRIPTION

This ioctl call returns the signal-to-noise ratio for the signal currently received by the front-end. For this command, read-only access to the device is sufficient.

SYNOPSIS

int ioctl(int fd, int request = :ref:`FE_READ_SNR`, uint16_t *snr);

PARAMETERS

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 :ref:`Generic Error Codes <gen-errors>` chapter.