View Full Version : Can the FM receiver be used as a TMC?
beemerTPPC
28th December 2007, 02:00 PM
I'm wondering if the RDS data output of the FM receiver can be redirected to a virtual COM port to be used as a TMC receiver with GPS programs like destinator 7.
energy59
28th December 2007, 02:41 PM
Strange mate!:) :)
Rudegar
28th December 2007, 03:24 PM
even if it was possible then the reviewer said that it only worked when the headset was connected guess it act the role of antenna would be bothersome to have the wiredheadset hanging while using it as gps
cptn_dk
28th December 2007, 04:09 PM
Hi Rudegar, great to see the red/white flag ;-)
Headset vs. FM antenna can be handled software wise.. eg. on Eten G500
As soon as headset is plugged a popup asks to redirect sound to ext. speaker for navigation purpose.
As for the TMC / FM radio in HTC products.. (Polaris, Artemis etc.).. Haven't seen a solution yet, RDS is supported in both products, so if TMC mesages runs on the default RDS stream it should be technical possible.
Merry X-mas and Happy Newyear (go' bag(h)jul)
beemerTPPC
28th December 2007, 04:11 PM
even if it was possible then the reviewer said that it only worked when the headset was connected guess it act the role of antenna would be bothersome to have the wiredheadset hanging while using it as gps
I don't think that this could be a problem: I'm thinking on connecting the device in my car with a "Y" connector, one of the outputs to the sound system (car radio) and other to a power system. It is easy to connect the car antenna with a capacitor to the sound line.
Then the Device will be connected to a external headeset, with good antenna capacity, and at the same time to the car power.
beemerTPPC
28th December 2007, 04:17 PM
Hi Rudegar, great to see the red/white flag ;-)
Headset vs. FM antenna can be handled software wise.. eg. on Eten G500
As soon as headset is plugged a popup asks to redirect sound to ext. speaker for navigation purpose.
As for the TMC / FM radio in HTC products.. (Polaris, Artemis etc.).. Haven't seen a solution yet, RDS is supported in both products, so if TMC mesages runs on the default RDS stream it should be technical possible.
Merry X-mas and Happy Newyear (go' bag(h)jul)
Yes, TMC is only a filtered data stream of the RDS network. Obviously it will be needed to know the correct RDS chain that works in each country for TMC, but it is only information.
The question is: Is there any known way to extract online information of the RDS data from the FM receiver programatically?
I can do a program that attach to any API or hardware interface and present the data in a virtual port.
User22
28th December 2007, 08:36 PM
Yes, TMC is only a filtered data stream of the RDS network. Obviously it will be needed to know the correct RDS chain that works in each country for TMC, but it is only information.
The question is: Is there any known way to extract online information of the RDS data from the FM receiver programatically?
I can do a program that attach to any API or hardware interface and present the data in a virtual port.
Well, i can't help you too much but i remember that some time ago, perhaps a year ago, hackers been cheating on RDS and people been foolish when reading on their car radios notices like "alarm because of ..." . I don't remember also wich country, perhaps Australia or Usa.
beemerTPPC
28th December 2007, 09:45 PM
Well, i can't help you too much but i remember that some time ago, perhaps a year ago, hackers been cheating on RDS and people been foolish when reading on their car radios notices like "alarm because of ..." . I don't remember also wich country, perhaps Australia or Usa.
I also remember that, but I'm talking of the opossite side of teh RDS: Trafic information is sent like these RDS hackers sent their "information" but in a data format called TMC. Inserting this RDS transmited-TMC coded information into some GPS navigation software helps the software to create optimized routes.
I've seen the Polaris manual and the FM receiver is RDS compliant, then the RDS data transmited over the FM modulation is decoded iniside the Polaris and shown in the screen. But: If we could extract these RDS information from the decoder and make it available in a serial virtual port, then GPS navigation software running in the polaris could take advantage of it.
Mc0815
29th December 2007, 09:32 PM
I need the FMS_API.DLL, then there is TMC/TMC Pro !!!
drkbg
31st December 2007, 03:02 PM
from what I've read most navigation software support combined gps/tmc on the same com port. this means someone should extract also the gps data and combine both...
beemerTPPC
31st December 2007, 06:52 PM
At least Destinator 7 supports two separate comports for GPS and TMC.
Mc0815
31st December 2007, 09:34 PM
At least Destinator 7 supports two separate comports for GPS and TMC.
it must be changed gpstmc.dll. but the FMS_API.DLL penetrate needed!!!
dominique2222
13th September 2008, 07:26 PM
IGO 8 supports TMC too with different data port.
iseeka
15th September 2008, 04:57 PM
igo 8 autodetect polaris as tmc
cant find a station though... i think in spain tmc use am not fm
InfX
15th September 2008, 09:21 PM
Can you please explain step by step how to do this ? Cause it doesn't looks likes igo8 detects any TMC on my Polaris. It just seems to try all ports and protocols available in it and claims it "TMC device not found" at the end.
InfX
15th September 2008, 09:23 PM
Forgot to mention, the TMC protocols available for selection in the igo8 version i did this attempt on are:
GNS
Royaltek
Eten
Amaryllo
Open TMC v1
Open TMC v2
Ngai Lik
Samsung
Fx
AVANTEQ
NikMel
15th September 2008, 09:36 PM
There is NO TMC support for our POLARIS
The hardware is not there!
InfX
15th September 2008, 09:40 PM
Demodulating the RDS data is all that hardware is supposed to do, the rest can be done by software. Polaris got an FM radio receiver that seems to show the station names. The only place it can get those names from is an RDS stream, so it is already doing the demodulation of that !
wis38
27th November 2008, 03:43 PM
I need the FMS_API.DLL, then there is TMC/TMC Pro !!!
If still interested, here (http://forum.xda-developers.com/showthread.php?p=2511016) there is a nice original HTC test package (from the Diamond) containing test FM dll and exe.
Works on Cruise too, and looks more flexible than standard FM radio application. Maybe this code is more useful than standard ROM one.
Imperium
28th November 2008, 07:33 AM
*BUMP*
Any progress? i'd love to have this on a blackstone.
beemerTPPC
29th November 2008, 10:42 AM
*BUMP*
Any progress? i'd love to have this on a blackstone.
I haven't forgotten this, in fact I'm currently working on a virtual port driver that implements inertial gps navigation and I plan to add TMC support also to it.
defroster
30th November 2008, 06:03 AM
i made a post in general/accessories awhile back asking if we could wire a car's aerial into the polaris somehow to boost fm radio reception (hadn't thought of GPS!) is that what you guys are talking about? if so, cool! if not, could you elaborate in dummy terms?
rparslow
30th November 2008, 04:57 PM
I have done some searching I found that users of the ETEN X500+ are looking for the same solution http://eten-users.eu/index.php?showtopic=7229&st=15
There exists a soft only in Spanish & Italian which sends the TMC info from the RDS radio to TT 5 & TT 6 I have tried using TT7.45 no joy.
Any Spanish speakers want to contact the authors to have an English version with compatabiliy with TT7? I am sure that with all the people on here we can help make a European version with all countries that use/have TMC.
Modders are invited to find the above mentioned soft at http://www.lacasadelgps.com/modules.php?name=Downloads&d_op=viewdownload&cid=8
Also found the Mio make an RDS/TMC antenna for their GPS Smartphone A501/A701 http://www.mio-tech.be/shop/product_info.php?manufacturers_id=31&products_id=583
More reading on ETEN forum states a modded fm.dll gives TMC http://eten-users.eu/index.php?showtopic=10840
Can anyone get futher than my feeble attempts ?
Update found soft DecoRDS in English but with TMC info for Belgium (where I live !!) lets see If I can make some progress.
http://rs125.rapidshare.com/files/43989401/DecoRDS_Belgium_beta.zip
wis38
2nd December 2008, 11:19 AM
I understood that to have softs like DecoRDS processing TMC data, we have first to get them from the FM/RDS radio.
It looks like HTC FM radio libraries (FMS.dll) is filtering out the TMC messages from the RDS flux, keeping only basic RDS messages.
So, if we want to get TMC working on the Polaris we have first to hack the radio library to get the TMC data. Then, is wanting to use iGO or Navigon we need a serial port emulator on which to output the TMC flux.
beemerTPPC
2nd December 2008, 11:38 AM
I can do easily the serial por emulator.
in fact I've one already done and working on my Diamond. I can connect the GPS navigator to it and it reads the real GPS and ouputs the data in another port.
If someone manages to extract the TMC data from the FM radio I can present it on the virtual port.
PsychoTribe
19th December 2008, 11:02 AM
Hello to all.
Im not shure that its work correct but with my TouchCruise and iGO2008 i was able to dettect TMC reciever with autosearching. But im not shure it is working couse im in Bulgaria and here there are no TMC transmitions. I hope that will help some.
lince
1st April 2009, 11:28 AM
Hi!.
It appears to be very interesting to have traffic info, but I can't see any progress on this thread, is there any other option to receivetraffic info in our Polaris? (of course appart from having a data connection ongoing continously...)
beemerTPPC
1st April 2009, 08:04 PM
I tried it, but none of the exported functions of the dlls seems to have the rds data :(
flywhc
3rd April 2009, 07:04 PM
If Polaris can use Diamond/Raphael FMS driver, you can get RDS-TMC data.
FMS API provides RDS data.
Good luck.
beemerTPPC
3rd April 2009, 07:40 PM
I've opened the FMS dlls with IDA and have not wondered how to extract the RDS data. Do you have more information or a link on this?
flywhc
3rd April 2009, 08:54 PM
please click on Radio in my signature
check export table of fms api dll
beemerTPPC
3rd April 2009, 11:24 PM
Great! You have found the way!!! Congratulations. ;)
I've done the code for doing a virtual serial port driver that reads from the GPS and also from the FM radio, then presents the data as mixed or in separate virtual ports.
The idea is to add TMC to the GPS signal for software that supports so.
I don't mind if you want to finish the project (I'll give you the code), or if you want me to do it (give me your API finds), but I think it could be interesting.
flywhc
3rd April 2009, 11:49 PM
Great! You have found the way!!! Congratulations. ;)
I've done the code for doing a virtual serial port driver that reads from the GPS and also from the FM radio, then presents the data as mixed or in separate virtual ports.
The idea is to add TMC to the GPS signal for software that supports so.
I don't mind if you want to finish the project (I'll give you the code), or if you want me to do it (give me your API finds), but I think it could be interesting.
First of all, can you test that xFMRadio, or Raphael HTC FM Radio on Polaris?
If works with RDS data, join us in my thread and let's make TMC working for all HTC devices with FM feature!
beemerTPPC
4th April 2009, 12:20 AM
Unfortunately I only have a Diamond. My polaris was sold long time ago :(
I'll test the soft on my Diamond tomorrow, but I suspect that you already know it will work ;)
flywhc
7th April 2009, 01:48 PM
Great! You have found the way!!! Congratulations. ;)
I've done the code for doing a virtual serial port driver that reads from the GPS and also from the FM radio, then presents the data as mixed or in separate virtual ports.
The idea is to add TMC to the GPS signal for software that supports so.
I don't mind if you want to finish the project (I'll give you the code), or if you want me to do it (give me your API finds), but I think it could be interesting.
beember can you go to my thread to download the RDS API with source code?
Or it is also great if you can share your code.
beemerTPPC
7th April 2009, 04:24 PM
I'm now a little busy with the next PhoneWeaver version, but be sure I'll test the API ASAP. I've tried your XFMRadio program in my Diamond but I don't see the RDS data in the main panel, Maybe I'm doing something wrong.
I think the next step, provided that with your API it could be possible is to do the following:
-Create a small program that using your API scans the FM range searching for TMC data.
-Then make that program to store in the registry the station identifier and uses RDS to follow that station across the frecuency range on itinerance when the station reception level is low.
-Make the TMP data available as a function result.
Once this small program is working, add its functions directly to the serial port driver code:
-Modify the code to accept the GPS data from the internal GPS or a specified port instead as it does now that has to be defined previously to compilation. For the first beta a registry key could be enought.
-Another registry key can define if the output data must be GPS + TMC or only TMC. This way a navigation program can use one or two ports.
-Make the TMP output from the functions created in the test program in the output port of the driver, mixed or not with the GPS data.
The serial port driver attached is a slight modification of one found on CodeProject for WM2002 devices. It works on WM2003 to WM6.1 devices but on devices WM5 and Up, it must be signed.
To make it work, edit the dwManagePort variable on line 13 to match your GPS port or modify COM_Open to automatically find the internal GPS port (code commented), compile the dll and copy to your \windows folder od the PDA.
You must provide another certificate and sing the code with it, of course.
Then you have to either create a program that loads the driver or edit a registry subkey under HKLM\Drivers\BuiltIn. The last option is not convenient in development state because the driver is not unloadable. I've attached a small code that can load and unload the driver having a registry subkey under HKLM\Drivers
In either case there must be three values in the subkey:
Dll \Windows\HyperGPS.dll
Prefix COM
Index 7 (or the com port number you want for the output)
Feel free to contact me to beemer@teleline.es for more project definitions ;)
I'll tell you something as soon as I have taken a look to your code.
flywhc
7th April 2009, 04:55 PM
Thanks for details.
I used developers certificate for tmail plugin before.
You can see in the RDS Radio thread many people get RDS data even extracted TMC data from raw RDS.
beemerTPPC
7th April 2009, 05:34 PM
I'll try to read all the RDS Radio Thread this evening and start to post directly there. Probably we can make something usable in a few weeks.
flywhc
7th April 2009, 07:28 PM
beemerTPPC if you delete ncb file from zip files, they will be much much smaller :)
beemerTPPC
7th April 2009, 08:43 PM
I did, but the I .(discovered that I can't upload rar files. When I zipped the files again I forgot it. Sorry
lince
26th May 2009, 02:34 PM
Hi, guys.
Any news about this issue?. I consider that it could be very interesting if this possibility could be finallyused in Polaris to get real time traffic updates, do you agree?
TIA
flywhc
26th May 2009, 06:14 PM
Hi, guys.
Any news about this issue?. I consider that it could be very interesting if this possibility could be finallyused in Polaris to get real time traffic updates, do you agree?
TIA
Polaris supports TMC now:
http://forum.xda-developers.com/showthread.php?t=512630
vBulletin® v3.8.7, Copyright ©2000-2012, vBulletin Solutions, Inc.