maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Maemo 5 / Fremantle (https://talk.maemo.org/forumdisplay.php?f=40)
-   -   "Help needed" Noise level app (https://talk.maemo.org/showthread.php?t=63130)

flexxxv 2010-09-29 22:45

"Help needed" Noise level app
 
Hy
I just want a easy small prog to read out the noise level on one frequenzy. (One Job one Tool)
I found some source here: http://www.mjmwired.net/kernel/Docum...nux/si4713.txt

I just did some changes:
http://pastebin.com/9DquJKy1
(pretty dirty)

and pointed the compiler to this si4713.h: http://pastebin.com/ypVe631P

Compiles fine.
But when trying to do:
rval = ioctl(fd, SI4713_IOC_MEASURE_RNL, &rnl);
I get "invalid argument" :(

thx to guy at irc for helping!

edit:updated post


All times are GMT. The time now is 06:49.

vBulletin® Version 3.8.8