yashsingh1/xdaforums huggingface dataset:
[Windows Mobile Software Development] 6Fg8:
brilliant work guys !

Besides whats already mentioned by ArtaxXP and pelroig, it works fantastic.

morning rush hour in Vienna attached :)
[Windows Mobile Software Development] beemerTPPC:
Thanks all for the great comments ;)

One thing I forgot to say is that the driver needs the GPS intermediate driver to have a COM: output port configured. It is the usual behaviour on devices with GPS, but for those of you that cannont connect to the driver at all, please verify this.

The driver is leaving a log in your root (\) folder called HyperGPS.log. Delete it from time to time. There is currently no way to avoid the log.

Automatic tunning is not implemented at this stage. So please don't activate automatic tunning on iGo because it will probably reset the tuned frequency. Be slow tunning the frecuency (two seconds each step that can be "hold" for scan) waiting for the new frequency to be shown before tapping again the iGo tuner.

This slow tunning behaviour is due to several serial port features that still aren't implemented in this driver.

Several of you have tried adding the configuration to iGo file sys.txt, I don't know why. The file I talked about in my post is \memory card name\iGO8\save\system.ini and should contain something like this:

[tmc]

saved_config_available="1"

saved_config_classname="NMEA_GPSTMC_ROYALTEK"

saved_config_portname="COM"

saved_config_port="9"

saved_last_tuning_mode="0"

saved_last_frequency="958"

The frequency shown in the test program with a format like 95.8,0,0 is simply a small bug. The interesting data is only the 95.8. The second field ,0, should be the RSSI but it doesn't work at this stage.

Next steps will be make all the functions to work, like GPS data integration, RSSI, automatic tunning, etc. I'm working with flywhc, the author of this great FMAPI, in solving the FM disconnection issue that causes the driver to disconnect slowly or even cannot activate for a second time.
[Windows Mobile Software Development] cescof:
Really good work.

Anybody knows if it' spossibile receive something free in Italy?

regards
[Windows Mobile Software Development] BeamRider:
Try with RAI Radio 1 or, if you have iGO 8.3.2.xxxx, with RTL 102.5.
[Windows Mobile Software Development] cescof:
I've tried with RTL but my Igo 8.3.2 doesen't find any tmc information...

I'l try again.

Thanks
[Windows Mobile Software Development] kardamomo:
Hi.

Is it possible to run xfmRadio on Omnia i900?

I tried 0.4 & 0.4b, also copying FMS.dll and FMS_API.DLL into the exe folder, but I always get "Failed to init FM radio".

I know that there's a TMC project dedicated to Omnia (and it works!), but I'm actually interested in a more powerful radio to listen frequencies out of 88-108 FM range.

Thanks a lot

Bye
[Windows Mobile Software Development] kardamomo:
Oops...double post! (please forgive me)
[Windows Mobile Software Development] starbase64:
Hi,

thanks for your goog work.

Now working in Germany with HTC Touch HD (Dutty 3.3) and iGO.

wfg

starbase64
[Windows Mobile Software Development] alexinc:
didnt try it yet on my polaris, but want to thank all involved people for your hard work on this project. seems to be a must-have when using navigation on our devices! thx again
[Windows Mobile Software Development] giggetto:
Also TMC Pro is working !!!
[Windows Mobile Software Development] w04g005:
Yeah i'm really enjoying it....but one little thing doesn't work.

in MENU/TEST no $RTTMC appears only RTRDS....i don't know why. also when i insert a TMC broadcasting radio frequency manual it doesn't say $RTTMC.

XFMradio was able to show that this frequency has TMC infos!

Thanks for al the grat work...i'm looking for tmc since 2 years now...tried also decords but i got nothing to work. now i'm very happy to see this.

My device is HTC Polaris WM6.1

Thanks in advance
[Windows Mobile Software Development] SaBo:
Navigon does not support Royaltek profile, only GNS

This is not true.

You can easily set up GPS and TMC ports seperately, but Royaltek protocol is not supported.

Sascha
[Windows Mobile Software Development] NEO130:
Hi, do you have a workarround by your handy-faq. forum ? Than I can ask you in german. Thanks.
[Windows Mobile Software Development] ArtaxXP:
hey beemerTPPC,

you're completely right...the settings have to be set in the system.ini not in the sys.txt!

in my configuration it's also possible to turn of the auto tuning directly if somebody got problems

[tmc]

auto_tuning="0"

saved_config_available="1"

saved_config_classname="NMEA_GPSTMC_ROYALTEK"

saved_config_portname="COM"

saved_config_port="9"

saved_last_tuning_mode="0"

saved_last_frequency="1067"
[Windows Mobile Software Development] LiquidP:
is there a chance to support the GNS protcol?
[Windows Mobile Software Development] starbase64:
look here: http://www.handy-faq.de/forum/htc_touch_hd_forum/76601-tmc_funktioniert_touch_hd.html
[Windows Mobile Software Development] jackleung:
With this driver in United States...

research shows TMC in United States is provided by subscriber service provider Clear Channel. My question is using the driver, would I able to use the traffic information from Clear Channel without subscription ? If not, this could be why iGo8 doesn't work in my area.
[Windows Mobile Software Development] bill340:
So I understand, there is no way to get it working with Navigon? :(
[Windows Mobile Software Development] beemerTPPC:
Perhaps it is related to the GPS intermediate driver configuration. See if you have a hardware output port defined in congiguration-GPS
[Windows Mobile Software Development] cescof:
Sorry for the silly question, but take tmc active drain battery?

Regards
[Windows Mobile Software Development] sebi112:
listen to police and so on

Can you make your software to listen to police or firefighters.

The frequenzes are near to ukw. like 86.375 ore 85.255
[Windows Mobile Software Development] SaBo:
Yes, i know, but open TMC isn't supported by any navigation software.

So what's the point then?

Sascha
[Windows Mobile Software Development] sc00basteve:
like iTrip??

I know you made some serious work on capturing FM frequencies, and thank you.

With all your new knowledge from digging around the FM for this chip... do you think a program for transmitting music through the FM chip is possible (like those ipod itrip modules).

Just curious... wireless is pretty convenient.
[Windows Mobile Software Development] SaBo:
HTC devices have a hardware FM receiver, not a transmitter (which is just the opposite).

Sascha
[Windows Mobile Software Development] johnpatcher:
iGO8 supports it, but, to be honest, this are details which aren't interesting yet, as it is still a long way to go :(.
[Windows Mobile Software Development] kaefert:
GNS TMC protocol (=gpstmc.dll) is supported by a much longer list of navigation systems than openTMC
[Windows Mobile Software Development] torpie13:
Hi flywhc,

Thanx for your hardwork.

I think you should focus first your api on the FM Radio Stations services you talked about, ie AF, RT PS ...etc.

I know, everyone wants TMC, but for a first version you have to make things simple :)

If you accept donation just tell us :) (even If apple pays well :) )

Cheers
[Windows Mobile Software Development] johnpatcher:
No argument for me, but as I already said this isn't important yet.

Back to topic: In order to get the maximum RSSI level you could try to put a FM transmitter next to your device. Normally FM transmitters outdo even the reception of the "normal" stations, so this could be a way.
[Windows Mobile Software Development] Kovacs Bela:
Ask cooperation to provide tmc driver

Hi,

I would like to solve a missing important feature from NavNGo iGO 8 navigation software: TMC support on HTC devices from internal RDS capable radio.

The missing component is an interface between the navigation software and the rds radio.

Now it seems you know how to access the rds data from the radio. I have information how is it possible to feed the navigation software with this data.

I would like to ask you is it possible to cooperate with me in this solution?

Many thanks!

Regards,

KB
[Windows Mobile Software Development] flywhc:
sebi112: Yes, you may listen to police or firefighters PPT with the latest version. Try Japan band.

torpie13 thanks for your support. I 've setup a donation account. And you said what I want to say: I can't do TMC before simple things are done.

Kovacs Bela: Yes I like to work with everyone to provide TMC solution if that is possible.

But I cannot separate TMC data from raw RDS data right now.

Even I am not clear the rule to extract PS, PI, AF etc from raw data.

If you have TMC knowledge, maybe you can try to get raw RDS data for a FM station that broadcasting TMC data, and guess what is the format.

I only guess each data packet is 3 bytes long. PI is present every 12 bytes (maybe 24 bytes)

I am confused when comparing the log with RDS tech spec.

This raw RDS data format must be HTC specific or chipset specific. Do you know which chipset HTC use for FM radio? Any document/user guide for that chipset?

I am starting digging out FMS.dll. It is a device driver/service so even harder to be understood.
[Windows Mobile Software Development] kolomparrudi:
TMC decoder

Hi,

I found an open source RDS-TMC decoder application in this project: http://dev.inversepath.com/rds/cansecwest_2007.pdf

Now I'm checking the xfmradio raw rds output with this application.

Hope it helps making TMC available!
[Windows Mobile Software Development] johnpatcher:
How do I change this?

Another thing I found for linux is rdsd. As it is open source you could try to look something up.
[Windows Mobile Software Development] flywhc:
kolomparrudi, Thanks that is a very good presentation for RDS system.

I think it is too hard to start from TMC.

It might be much easier comparing known decoded data such as AF, RT, PI etc with raw data and guess the format. Even that is hard to me. It likes a puzzle but obviously can be solved if you are good at math.

This is the blocker of this project.

johnpatcher, download the latest version, click on 87.5-108 World and select Japan.
[Windows Mobile Software Development] kolomparrudi:
decode RDS

I managed to decode the raw RDS-TMC output of the xfmradio and the perl script helps me understanding the whole rds:

An RDS frame structure is the following:

16 bit PI (Programme Identification, unique channel ID)

10 bit checksum for PI (called sumA)

4 bit Group type code

1 bit Group type version

1 bit TP (Traffic Program)

5 bit Programme Type

5 bit b2

10 bit checksum for b2 (sumB)

16 bit b3

10 bit checksum for b3 (sumC)

16 bit b4

10 bit checksum for b4 (sumD)

The group type code + version (5 bit) determines the group type:

$grp{'00000'} = "0A - Tuning";

$grp{'00001'} = "0B - Tuning";

$grp{'00010'} = "1A - Item Number";

$grp{'00011'} = "1B - Item Number";

$grp{'00100'} = "2A - RadioText";

$grp{'00101'} = "2B - RadioText";

$grp{'00110'} = "3A - ODA ID";

$grp{'00111'} = "3B - Open Data";

$grp{'01000'} = "4A - Clock/Time";

$grp{'01001'} = "4B - Open Data";

$grp{'01010'} = "5A - TDC / ODA";

$grp{'01011'} = "5B - TDC / ODA";

$grp{'01100'} = "6A - Open Data";

$grp{'01101'} = "6B - Open Data";

$grp{'01110'} = "7A - Radio Paging";

$grp{'01111'} = "7B - Open Data";

$grp{'10000'} = "8A - TMC";

$grp{'10001'} = "8B - Open Data";

$grp{'10010'} = "9A - Emerg / ODA";

$grp{'10011'} = "9B - Open Data" ;

$grp{'10100'} = "10A - PTN";

$grp{'10101'} = "10B - Open Data";

$grp{'10110'} = "11A - Open Data";

$grp{'10111'} = "11B - Open Data";

$grp{'11000'} = "12A - Open Data";

$grp{'11001'} = "12B - Open Data";

$grp{'11010'} = "13A - Radio Paging";

$grp{'11011'} = "13B - Open Data";

$grp{'11100'} = "14A - Net Info";

$grp{'11101'} = "14B - Net Info";

$grp{'11110'} = "15A - RDBS";

$grp{'11111'} = "15B - Switching Info";

example from hungarian radio (94.8), PI: B201 =

Here is an RDS frame:

B2 01 20 05 EF 21 E8 40 22 49 20 24

We have to work in binary, because not everything is 1 byte long.

kolomparrudi
[Windows Mobile Software Development] kolomparrudi:
Missing one byte?

Is is possible that one byte is missing from the RDS message? It should be 13 bytes, but the one I captured has only 12. It's easy to identify, because the first two byte is the PI, and every 12. byte is the PI.
[Windows Mobile Software Development] flywhc:
Excellent kolomparrudi.

You forgot mentioning type B, chunk C' is PI again, same as chunk A.

That is what I said, at least 1 byte, or actually 2 bits missing from each chunk.

and I don't think that 8 bits after each 16 bits data are checkword+offset as RDS specification. It must be HTC or chipset specific identifer.

Look at my reply #18 and #20 I had post some analysis. It is very easy to identify PI, RT, PS, maybe even AF. but I can't say what is that byte before or after that 16bits data.

Especially my post #20, string !YO"U and that !LI"ST, they don't have PI or other control data between two 16 bits data. clearly they are 3 bytes in a data chunk, not 16+10 bits like RDS spec.

I can write a function that output binary file but it will be harder to compare with other decoded data such as AF, RT etc.
[Windows Mobile Software Development] mr.jaguar:
has anyone tried looking into that omnia thread on modaco about the the virtual tmc driver and so forth?
[Windows Mobile Software Development] Kovacs Bela:
iGO TMC driver

Hi flywhc,

Yes, IT IS POSSIBLE! :)

There are 2 opportunity to provide TMC driver for iGO:

1. more complicated: implement opentmc standard; make it accessable thought a COM port. Link for the documentation: http://www.locosystech.com/download/oem/Open TMC V2.00-1.02pdf.pdf

2. easier: implement the following functions in a dll:

-Search UP/Search Down

-Set/Get frequency

-RDS health get

-RDS data get

-Reset hardware

-Power On/Off

-RDS function ON/OFF

-Band select

If you choose the second option:

Just send the dll with a header file, and I can help to work this dll with iGO.

Thank your help.

The TMC packet coding in RDS stream described in ISO 14819-1 standard. I found one pdf with google: http://www.sirim.my/iscg/tc_g_3/14819-1.pdf

Have nice day,

KB
[Windows Mobile Software Development] kolomparrudi:
RDS

I did some investigations and it seems, this HTC RDS has 8 bit checkwords.

I modified the srdsd decoder to word with 8 bit checkwords and it seems to give good results:

Got RDS message (frame 1)

Programme Identification: 1011001000000001 (b201)

Group type code/version: 0000/0 (0A - Tuning)

Traffic Program: 1

Programme Type: 01111 (15 - Other Music)

Decoded 0A group:

Traffic Announcement: 0

Music Speech switch: 0

Decoder Identification control: 111 (Stereo / PS char 7,8)

Alternative Frequencies: 01110001, 01001100 (98.8, 95.1)

Programme Service name: 0100100100100000 (I )

Collected PSN: I

Raw dump | Data Checkword Hex

Block 1: | 1011001000000001 00100000 b201

Block 2: | 0000010111101111 00100001 05ef

Block 3: | 0111000101001100 00100010 714c

Block 4: | 0100100100100000 00100100 4920

for a TMC event:

Got RDS message (frame 12)

Programme Identification: 1011001000000001 (b201)

Group type code/version: 1000/0 (8A - TMC)

Traffic Program: 1

Programme Type: 01111 (15 - Other Music)

Decoded 8A group:

Bit X4: 0 (User message)

Bit X3: 0 (Multi-group message - first group)

Continuity Index: 010

Direction: 1 (-)

Extent: 100 (4)

Event: 00111101101 (493 - restrictions)

Location: 0001000000110011 (4147)

Decoded Location:

<no location table specified>

Raw dump | Data Checkword Hex

Block 1: | 1011001000000001 00100000 b201

Block 2: | 1000010111100010 00100001 85e2

Block 3: | 1110000111101101 00100010 e1ed

Block 4: | 0001000000110011 00100100 1033
[Windows Mobile Software Development] snoopy20:
Tried this app but couldn't get any sound out to speaker. Shame.
[Windows Mobile Software Development] dunkelfalke:
The mute radio setting doesn't work - radio babbles all the time.

igo couldn't find any sender with tmc, although there were RTTMC blocks in the test.

HTC Touch HD, JuegoPowerV3 ROM.
[Windows Mobile Software Development] SaBo:
Not as long as GNS protocol is not supported

Sascha
[Windows Mobile Software Development] beemerTPPC:
Power consumption:

Currently the FM radio is activated on driver loading. On future version it will be activated on com openning, but due to the long time to close, I can't put now the FMClose on the COM_Close. That means that the driver active avoids the use of FM in other programs and has a small (30-40mA) aditional consumption. It is not bigger because the FM radio is active but OFF.
[Windows Mobile Software Development] bill340:
@beemerTPPC: Will you support GNS protocol in the future?
[Windows Mobile Software Development] iseeka:
beemer thank you again for your work

seems to work on my polaris with the same issues than others but...

i have problems with my tmc in spain navarra RNE3 maybe you know something

i only get

$RTTMC, 0,1,2,3 and 14 .... but no 8 !!

do you know why?

gracias mil

pd.que envidia a todo el mundo le funcionaaa
[Windows Mobile Software Development] Canaan:
does anyone know what the TMC radio frequency is for the UK?
[Windows Mobile Software Development] camro:
wau - great news - excellent work :)

i tested it also - looks fine. congratulation for developers :)

well, the questions for the the first init function.

sorry - can't remember now. if you need help i would have to disasm once again.

please let me know if you need my help - but for now i see you have more skills in it :)

cu camel
[Windows Mobile Software Development] johnpatcher:
Just another bug I've discovered: There are the same issues with the decoding as they are present in xFMRadio ...

I've reported them, but got no response to it:

I have the same issues with your program, for example a message reads "Mnchen", whereas it should be "München". Nearly every message has some kind of mistake therefore, as there are many cities containing such umlauts in their names :).

As already known there is something strange going on while closing the application, the log says:

Any chance to get information about this, maybe you can output the exception?
[Windows Mobile Software Development] Dean123:
It's on classic fm, 101.1.
[Windows Mobile Software Development] L_o_k_i:
same problem as johnpatcher: here in France, "é" is not displayed
[Windows Mobile Software Development] Canaan:
Thanks. Have you got a TMC lock on that frequency? I'm in London and can't seem to get TMC working on classic's frequency using the HGPSCLIENT attached in the first post.
[Windows Mobile Software Development] :
On THD stock ROM, Once U press mute sound volume decreases. another click permanent mute. Only way to get back volume is to restart app. Can U please look into it
[Windows Mobile Software Development] Dean123:
I get TMC using the config app everytime on that frequency, however, I've only once managed to get a lock in IGO8 on that frequency, I think it's more a problem like the other posters have for that issue.
[Windows Mobile Software Development] dunkelfalke:
I couldn't get a TMC lock in IGO either, so I deactivated the automatic tuner in IGO, minimized it, opened the test screen of the driver and tuned there. After that the station also locked in IGO.
[Windows Mobile Software Development] beemerTPPC:
I plan, but only when the current version became stable, and it will take time. Sorry.

A mi me funciona en la frecuencia de Madrid. Prueba a ver si puedes pillar otra emisora de la cadena RN3.

These are the kinds of issue that will go to the end of the development, sorry.

I have to remember all of you that this version is only a proof of concept and is not operational. It switches the audio randomly, takes a lot of battery and time to switch off, prevents the FM radio to be used if the driver is loaded, sometimes hungs, etc.

flywhc and myself are working hard on this but I don't think that we can have a bugfree version for sometime. There are a lot of things that we haven't solved at this moment and some of them even haven't a known solution.
[Windows Mobile Software Development] L_o_k_i:
@beemerTPPC

don't worry, I'm here to help in testing, and I can wait for a stable version even if it takes months... For now I'm very pleased TMC is working on the HTC touch HD so now I can forget my glofiish x800! :D
[Windows Mobile Software Development] pelroig:
@Beemer, no worries... the more bugs the more fun I have :D
[Windows Mobile Software Development] kolomparrudi:
Great work!

Great Work beemerTPPC!

I tested it on Hungary with my Diamond:

1. the test application works fine, receives TMC messages.

2. iGO found it, the auto scan won't recognize the right radio frequency.

With manual scanning (stepping 0.1 MHz / 2 sec) found and recognized, but next restart iGO won't recognize it. First time iGO decodes the Station name, but later it don't.
[Windows Mobile Software Development] flohtc:
First of all, great work and thank you.

I live in the south of France and the TMC frequency is 100.4 (radio station name: NRJ). HGPSClient works fine and lists all kind of messages starting with $RTTMC 8 for this frequency.

When I go into iGo, it recognizes the TMC hardware and everything works fine, but when I set the frequency at 100.4, I get the name of the radio station and some information concerning the music currently playing. However, I get the message "TMC Status Unknown" and the event list in iGo is empty even though the radio station is broadcasting a lot of $RTTMC 8 messages.

Does this mean that there is no traffic event ? Or does this mean that there is something something not working properly ?

Again great work, and I can't wait to test it live on the road...
[Windows Mobile Software Development] Griff1:
TESTED with some success,

Its difficult to match igo's freq to the driver/test app but i have managed it once or twice.

The tmc hardware will just vanish from time to time,port disconnects or something.

Tuning is slow.

After a reset on my Touch HD the driver can no longer be loaded,only fix is to overwrite Gfmapi.dll in windows dir.

Those issues aside YOU ROCK.

I wish you the best of luck.
[Windows Mobile Software Development] Mandragore:
No need to say sorry.. I'd like support for GNS and Navigon Mobile Navigator as well, but I understand your priorities and challenges. You guys are doing a great job!
[Windows Mobile Software Development] patp:
I Seem to have TMC on iGo in London. Amazing! Working on 101.0 but not 101.1 and I had to set frequency in the util rather than in iGo.
[Windows Mobile Software Development] atomera:
just wanted to say that TMC works on HTC Diamond, Igo8 installed.

need to change the frequency with the tool, otherwise igo8 wouldn´t lock the frequency. after that it works perfect. thanks :eek::eek::eek::eek:
[Windows Mobile Software Development] Kiiv:
Great work guys! This is the only thing I miss on my phone ^^

I can't get any traffic information at the moment, but I will try later or wait for an other release. The receiver is correctly detected in iGo but I can't find any radio with TMC messages... If someone have a frequency wich work fine on Paris, I take ^^
[Windows Mobile Software Development] L_o_k_i:
@Kiiv

try 87.8 or 90.4 or 99. I'm in Paris too and it's working fine!
[Windows Mobile Software Development] flohtc:
Bug

The first few times I used HGPSClient it worked but then after a while (even after a soft reset) nothing happens even with a frequency with TMC data.

In the "send" box, there is

$PSRF122,100.1,0,0,,1,0*0C​

In the "receive" box, there is

$PSRFTXT,Ack Input122*6D​

$RTRDS,100.4,0,0,0,2,1,1,000,255,5,2,50*6​

And then every time, I hit set the set button, the same lines appear. There is no more lines with $RTTMC,8. Before I use to have many lines like these.

Do you have any idea what is wrong ?

Even when I erase the files GFMAPI.dll, HyperGPS.dll, and HGPSClient.exe and replace with the originals, it does not work ! Please help me. I have a tried a soft reset and erased the HyperGPS.log, but it still does not work.

What have I done wrong ? :confused: