All of lore.kernel.org
 help / color / mirror / Atom feed
From: TANGAo Khaled <ktangao-neli@orange.fr>
To: linux-dvb@linuxtv.org
Subject: [linux-dvb] the function " int ioctl(int fd, int request = FE_READ_SNR, int16_t *snr); "
Date: Wed, 30 Jul 2008 15:34:07 +0200	[thread overview]
Message-ID: <48906DCF.6020300@orange.fr> (raw)

Hello.

   I am working to design a software and i am using Frontend APIs. But I 
still have a big problem witch, i do not understand. I want to know the 
unit (linear or dB) of the value returned by this function:

int ioctl(int fd, int request = FE_READ_SNR, int16_t *snr);

 I would like to display an information to the user of my program,about 
the quality of the signal his antenna picked up. To do this, i think the 
best way is to display a graphic representing a percentage. But the 
current value I read, (-258) is unusable like this. So can you please, 
give me the unit of the value or give me a link to find what i am seeking?

Thank you

-- 
Khaled TANGAO


_______________________________________________
linux-dvb mailing list
linux-dvb@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb

             reply	other threads:[~2008-07-30 13:34 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-07-30 13:34 TANGAo Khaled [this message]
2008-07-30 13:46 ` [linux-dvb] the function " int ioctl(int fd, int request = FE_READ_SNR, int16_t *snr); " Michael Krufky

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=48906DCF.6020300@orange.fr \
    --to=ktangao-neli@orange.fr \
    --cc=linux-dvb@linuxtv.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.