Notices


Reply
Thread Tools
Posts: 94 | Thanked: 40 times | Joined on Jun 2010 @ Germany
#81
Anyone read the linux documentation about the fm transmitter chip?
There is also an example code to check frequencies for noise, shouldn't it be possible to use it to write a small daemon that checks the current frequency and if it gets noise there scans for a new one?
http://www.mjmwired.net/kernel/Docum...nux/si4713.txt
This is the code
Code:
int main (int argc, char *argv[])
{
	struct si4713_rnl rnl;
	int fd = open("/dev/radio0", O_RDWR);
	int rval;

	if (argc < 2)
		return -EINVAL;

	if (fd < 0)
		return fd;

	sscanf(argv[1], "%d", &rnl.frequency);

	rval = ioctl(fd, SI4713_IOC_MEASURE_RNL, &rnl);
	if (rval < 0)
		return rval;

	printf("received noise level: %d\n", rnl.rnl);

	close(fd);
}
 

The Following 7 Users Say Thank You to weißelstone For This Useful Post:
Posts: 739 | Thanked: 220 times | Joined on Dec 2009 @ Surrey, UK
#82
It would be fantastic if someone was working on something like this.......would it not?
__________________
There is a way that seems right to a man, but in the end it leads to death. Proverbs 14:12
 
Posts: 569 | Thanked: 462 times | Joined on Jul 2010 @ USA
#83
if it gets noise there scans for a new one?
That's an excellent idea.

It might also have a choice to scan the FM band for the most unpopulated frequency, so you could find the best frequency for your location.
 
Posts: 219 | Thanked: 21 times | Joined on May 2010
#84
is there a way you can get EVEN numbers though?like 88.2 or 92.0 etc?
 
Posts: 56 | Thanked: 14 times | Joined on Jan 2010 @ Cyprus
#85
Originally Posted by salah99 View Post
can you guys create a small application for normal users??
please? anyone?
 
Posts: 3,664 | Thanked: 1,530 times | Joined on Sep 2009 @ Hamilton, New Zealand
#86
Originally Posted by mangal_sk8erboy View Post
is there a way you can get EVEN numbers though?like 88.2 or 92.0 etc?
me second that. Where and how to get it in Even number? and how the hell do i make the transmitter volume louder? it is so bloody quiet.
 
Posts: 3,664 | Thanked: 1,530 times | Joined on Sep 2009 @ Hamilton, New Zealand
#87
 
Posts: 36 | Thanked: 14 times | Joined on Mar 2010 @ Slovakia
#88
It should be easy to make a simple GUI for set of command above. (Using Illumination)
I will look at it in a few days. (Just after I check my car radio frequency range :P)

edit_______________________

Damn, my car radio is out of game, but my old aiva hi-fi should support this frequency :P

Last edited by Deafboy; 2010-08-18 at 05:18.
 

The Following User Says Thank You to Deafboy For This Useful Post:
Reply

Thread Tools

 
Forum Jump


All times are GMT. The time now is 02:40.