yashsingh1/xdaforums huggingface dataset:
[Windows Mobile Software Development] flywhc:
Mute does work. Set volume doesn't work before ver 0.4. Actual volume has no difference if set volume to 1 or 15 or 100 on my TP. It will be interesting if it is working on X1. I used undocumented system API to control volume in 0.4.

Mono or Stereo Blend seems not working - maybe my ears are not sensitive enough. Also stereo state is not changed when I can hear obvious stereo to mono change. I suspect this is a bug of FMS API because HTC FM Radio doesn't display stereo state.

Have to DIY one: Buy a ExtUSB to 3.5mm jack adapter with USB power supply port. Then connect L or R to car antenna? maybe have to add a resistor (>8 Ω ?) to G or pin 4 (Headset sense) to active the line.

The issue is not that simple. See here for more details for ExtUSB. It is different from standard USB so a USB cable can't work as antenna. Also the device uses audio line as a triger to switch on/off FM module (at least audio part). Maybe this is the reason CDMA TP doesn't support FM radio - the triger is not connected to audio line.

I have proved this is easy with xFMRadio: Click Mute and Headset button, and play MP3. Then I can only hear MP3 from loud speaker. It just two function calls so don't worry about this.

I have implemented AF parser and improved usability of AF selection. RSSI search level is set to 10 as default so you won't get channels only has noise. Also other improvement/bug fixings.

Thanks pelroig for donation. beemerTPPC would you like to setup a donation a/c for TMC? and others like kolomparrudi who has major contribute to RDS TMC project. It is one of way to say thank you.

To Anyone who using FMS API:

please be aware of this API is not that robust like OS api. Use thread safty to guard main thread and events thread, catch exceptions/errrors in your code, do not leak memory. otherwise user has to soft reset to recover from error state.
[Windows Mobile Software Development] kolomparrudi:
fm antenna + charger

If you want to have FM reception and use charger, you have to buy a gadget like this:

http://www.htcaccessorystore.com/uk/p_htc_item.aspx?i=179427
[Windows Mobile Software Development] beemerTPPC:
Yes, I think it has all I need. Thanks!

I only need time now, I think ;)
[Windows Mobile Software Development] beemerTPPC:
Probably I'll do, but not until like you, I have something that is working at least as a Beta version ;)
[Windows Mobile Software Development] pelroig:
let there be time for Beemer!
[Windows Mobile Software Development] flywhc:
When Headset off and Mute on, no sound but radio text is still updating.

unplug headset from the usb port, RSSI became lower but still more than 10.

Plug in usb cable, RSSI increased to 20. However no sound no RDS data.

Plug in headset cable (remote controller) but unplug earphone from 3.5mm port, RSSI was dropped to about 10. maybe this cable is e/m shielded but I still can get sound and RDS data occasionally.

So maybe the device uses pin G for antenna. PIN 4 should be the trigger.
[Windows Mobile Software Development] pelroig:
@flywhc, dunno what has changed, but xFMRadio version 0.4 does not have sound anymore...
[Windows Mobile Software Development] leaskovski:
Erm, here is the best info I have found on the pin connectors....

http://xdaforums.com/showpost.php?p=1063267&postcount=1

In the diagram you showed, it would be 4 for te trigger and 5 for the arial.

Edit:

And if you want to construct your own arial and radio trigger, you can buy a connector here...

http://www.podgizmo.com/index.php?act=viewProd&productId=29
[Windows Mobile Software Development] flywhc:
platform issue

It works fine on my Touch pro.

What device and ROM are you using? What is FMS version? (check Menu->About)

Does your device have HTC touch volume control or standard WM volume control (in popup bubble)?

Can you give me the log of xFMRadio related to volume control?

unfortunately I am not working for windows mobile at work anymore don't have access to other wm devices.

Can you please help me test attached 0.4B version?

I removed system volume initialization and have two menus: FM SetVolume and Sys SetVolume. Enter a number 0-15 in the top-left edit box and select on those menu. see which one is working?
[Windows Mobile Software Development] flywhc:
I am proposing a generic solution of FM RDS-TMC for all WM devices

It is pity Microsoft doesn't provide FM RDS interface. So we can define one!

OpenFMRDS API?

Minimize efforts for:

* supporting new HTC and Samsung and other devices

* implementing TMC driver for navigation software

* writing other FM Radio, RDS and TMC applications

We can encourage different implementation of TMC driver even help navigation software company to provide TMC solution for our device.

In short, avoid reinventing wheels.

I also posted on MoDaCo. Hope BeamRider we can work together to design a generic FM radio API.

I can do paper work if I have samsung interface.
[Windows Mobile Software Development] flywhc:
4 is AGND, which should be internally connected to DGND. That is why I could use USB GND for antenna. Then simply short HTC PIN 4 and 5 on nethopper's diagram (or 6-7 on Stal-Ker's diagram)

Can't believe HTC use this hardware trigger to switch on/off FM module.

Will dig into FMS.DLL see what happen there.

FMS.DLL communicates with bluetooth HCI BTHCI.DLL by using:

HCI_FMOpenConnection

HCI_FMReadPacket

HCI_FMWritePacket

HCI_FMCloseConnection

It also change ControlPanel\Volume to control volume.

And open WAV1: device. would be able to record FM audio?
[Windows Mobile Software Development] pelroig:
fm volume works, but gives only proper volume arround 6000 as input param.
[Windows Mobile Software Development] pelroig:
1) Device and Rom -> Sony Xperia X1i GENERIC_NL ROM2AA006

2) xFMRadio is using versio 1.2 of FMS

3) Standard WM Volume control

4) Will send log files this evening.
[Windows Mobile Software Development] lpad:
they seem to have it working on omnia

tmc with igo

http://www.htcspain.com/showthread.php?t=19333
[Windows Mobile Software Development] Kiiv:
Can we have a little translation, maybe? ^^

I have understood approximately but it's more difficult for details about configuration :p

And important question : they're talking about the Omnia, it will work on other device?
[Windows Mobile Software Development] ArtaxXP:
translation

translation by google....it's ok I think...

http://translate.google.com/transla...26hl%3Dde%26safe%3Doff%26sa%3DG&sl=auto&tl=en
[Windows Mobile Software Development] iseeka:
Ill try to translate.. maybe worse than google translation :).. just for omnia, tested, and working

First install SDK as duque said: http://www.megaupload.com/?d=DU8ZQFFJ

Download TMC from this thread:http://www.modaco.com/content/i9x0-...o-com/287075/updated-omniatmc-beta-1-relased/

Install and run OmniaTMCSetup

Press OmniaTMCSetup and make a softreset. After softreset run software again and in TCM PORT choose 4 and in GPS PORT chosse the same you have in IGO, in my case 3. Then press Activate TMCSetup. close program and open IGO

In IGo you have to go to SETTINGS---TMC and in protocol you have to choose Protocol:Royaltec port:4(the same as in TMC port).

TMC signal isn Spain is 99,5(RNE3). Do not forget to connect the headphones as they work as antenna.

If you need to connect to the car charger and the headphones you can buy this

http://cgi.ebay.es/Samsung-S-20-pin...QQitemZ380104298416QQcmdZViewItemQQptZUK_Mobi lePhones_MobilePhoneAccessories_MobilePhoneBatteri es?hash=item380104298416&_trksid=p3286.m20.l1116

Someone said that with the "wall" charger he can get TMC signal but with the car charger do not
[Windows Mobile Software Development] Kiiv:
@ArtaxXP : Ho it's true... It's understandable this time. I'm used to the translations english/french which are rarely correct ^^

@iseeka : thanks :)
[Windows Mobile Software Development] johnpatcher:
Whats this?
[Windows Mobile Software Development] flywhc:
From this thread we can see BeamRider's TMC driver was tested and fully work in London and Germany! Well done BeamRider and his Omnia team.
[Windows Mobile Software Development] switchgott:
Doesn´t work in HTC Diamond.

An where is the button activate ? :-))
[Windows Mobile Software Development] lpad:
the link refered is to the original Beamrider thread and probably of no use to htc users, sorry about that (he is already giving his contribution to the subject of this thread)

keep the good work guys and soon the solution will come.:)
[Windows Mobile Software Development] pelroig:
Very good proposal. Although I see that Beamer is very busy solving the OmniaTMC beta bugs. Would be nice if we could re-use parts of his coding.

What about progress from Beemer? Any news? Can you team-up with Beamer?

Scotty beam me up...(sorry getting to exited...):D
[Windows Mobile Software Development] leaskovski:
Woooh! Thats some cool news. We seriously need to cup his balls so we can use some of his TMC implementation. lol

That API idea is brill thinking though, as then we can add in what ever OpenTMC/GNS yada yada implementations whenever we need them.

God I wish I knew how to code for windows mobile.
[Windows Mobile Software Development] BeamRider:
You don't need to :) We are opening a direct line between the two projects.
[Windows Mobile Software Development] torpie13:
0.4b cab

The xFMRadio 0.4b version in cab format.

Cheers
[Windows Mobile Software Development] flywhc:
What is ROM version?

could you post logs displayed in it? you can save log from menu

Have you tried v0.4B? and soft reset? :P

Diamond should have very similar hardware even ROM with Raphael. Can't understand why it didn't work.

I am working with BeamRider for porting his TMC driver to HTC devices by using a generic FM RDS API.

Once this is done, we could provide FM API with RDS parser for both HTC and samsung devices, with C and .net framework interface.
[Windows Mobile Software Development] pelroig:
way to go Flywhc and BeamRider!

ready for Alpha testing...
[Windows Mobile Software Development] flywhc:
could you try to find what range of value are valid?

Is physic output impacted by this change?

Is system volume also impacted?

Can you use system volume control to adjust volume for FM radio?
[Windows Mobile Software Development] switchgott:
HI,

thanks for your help.

But i cant save log file.

Get an error.

But it work.

I get a german channel ffh, but no tmc messages.

Maybe there arnt any.

But tell me, how often tmc messages are transmitted?
[Windows Mobile Software Development] pelroig:
XFMRadio4B

1) 2^16 -1 param leads to maximum volume using FM Volume

2) Yes

3) nope

4) system volume control works, but log is indicating get volume value is fixed on 2^16 -1

btw: save log file complains about 'Cannot create file'
[Windows Mobile Software Development] darktron:
Hi everybody,

This project is a great idea !

I tried the XFMRadio on my HTC Polaris with Windows Mobile 6.1 from HTC.

In France, we can recieve the TMC informations from the France Inter radio station. (http://www.v-trafic.com/)

I provide you of sample of my log

Status: cmd: power on, status: successed, value: 255 .

Run SetAutoPath=1 Ret: 0

Run SetRDS=true Ret: 2

Run SetAF= true Ret: 2

Run FM_Seek forward Ret: 2

Status: cmd: set rds, status: successed, value: 1 .

Status: cmd: set AF, status: successed, value: 255 .

Status: cmd: seek, status: Seek successed, value: 87800 .

Run Tune(99600) = 2

Tuned: Status 0, Frequency 99600.

Set verbose to: all

TMC:8408-5A80-C56C

TMC:8408-5A80-C56C

TMC:8408-4ABD-B979

TMC:8408-4ABD-B979

TMC:8408-12E2-337A

TMC:8408-12E2-337A

TMC:8408-1191-3390

TMC:8408-1191-3390

TMC:8408-7191-2B56

TMC:8408-7191-2B56

TMC:8408-0A05-BA1F

TMC:8408-0A05-BA1F

TMC:8408-4ABD-B852

TMC:8408-4ABD-B852

TMC:8408-1280-32D1

TMC:8408-1280-32D1

TMC:8408-0AC0-B851

TMC:8408-0AC0-B851

TMC:8408-2280-3358

TMC:8408-2280-3358

...

99600KHz INTER

RSSI29​
[Windows Mobile Software Development] iseeka:
Comparative of the TMC: Germany-Spain

GERMANY

Transmission type multi-group, with redundancy 3. They are needed 2 groups by each event to transmit.

1 event TMC is received each 6"

SPAIN

Transmission type multi-group, with redundancy 2. They are needed 2 groups by each event to transmit.

1 event TMC is received each 2"

Minimum time necessary, to receive a cycle of 100 active events

Germany: 100 x 6 = 600" = 10'

Spain: 100 x 2 = 200" = 3' 20"

The speed of the TMC in Spain is 3 times greater (x3) than in Germany, but the transmission in Germany is a 33% more robust than in Spain.
[Windows Mobile Software Development] IBX1:
Interesting behaviour of Mute on X1

Hi, it's me again :(

When I play a MP3 or have the navigation software running, and I click Mute, the sound / voice goes to the headset! No sound from radio radio anywhere.

Then I click headset on and off -> Radio still muted, but I have the MP3 / voice on the speaker again.

Maybe this is a feature of the X1.

On http://developer.sonyericsson.com/site/global/docstools/windowsmobile/p_windowsmobile.jsp there is a "Sony Ericsson Beta SDK for Windows Mobile® 6.1" available. Maybe this can help some way.

IBX1
[Windows Mobile Software Development] IBX1:
Just a thought ...

I just had an idea:

Not every roadwork is annouced via TMC. For example, the motorway A1 from Hamburg to Bremen, I stopped counting, but there must be more than 6!

But who switches on his navigation system on the daily route?

I'm not yet sure, if it is really useful to feed in self generated TMC messages.

Could this be useful? Something like a EncodeRDS?

Just some thoughts (for a new thread?) ...
[Windows Mobile Software Development] SaBo:
ffh is private radio station sending out TMCpro which is encrypted

You need public radio station in order to receive TMC

Sascha
[Windows Mobile Software Development] darktron:
It's clearly different, but what is that data called TMC ?

Anything else, what is the TMC brodcasters in England ?

I will tried to post some log.
[Windows Mobile Software Development] iseeka:
from wikipedia

United Kingdom

The private company iTIS Holdings provides a commercial TMC service iTMC in the United Kingdom. It is broadcast nationally on Classic FM. The price of the service can be included in the price of the car or of the navigation system. This system uses traffic data collected from sensors installed on fleet vehicles known as a Floating Vehicle Data system consisting of approximately 50,000 vehicles. Eddie Stobart haulage have this system installed within 750 vehicles, AA Patrol 3,800, and National Express 530.

RAC Live operated by RAC Trafficmaster Telematics (RTT) a 50-50 joint venture between RAC Motoring Services and Trafficmaster also operates a national service. It uses the local and regional radio broadcaster Global Radio to ensure reception across mainland Britain. This system uses road-side infrastructure to measures a vehicle's travel time between sensors placed a few miles apart, and uses number plate recognition technology.

Both providers are responsible for their own location tables. The current location table version of ITIS is 5.1. The current location table version of Trafficmaster is 3.1 .

Within the United Kingdom TMC services are only offered as pay services. As such they are currently always carried by commercial radio stations rather than by the BBC, a public service broadcaster. The BBC is required by its charter to be free from both political and commercial influence and is therefore unable to carry a pay service unavailable to all.
[Windows Mobile Software Development] darktron:
UK

* TMC Service UK ITIS

* TMC Service UK TrafficMaster

* Classic FM Transmitter Listings

* ITIS Public Forum

(from Wikipedia) :p
[Windows Mobile Software Development] switchgott:
Hi,

not exactly right.

Hava a look at this page:

http://tmcforum.ertico.webhouse.net/en/about_tmc/tmc_services_today/germany.htm

But how can we use it in car?

Even if i charge with car charger my diamond?

Can we change a running dll to brigde the pins to get an signal?

With datacabel you have RSSI with max 12.

But no signal.

poor.
[Windows Mobile Software Development] Jose-Ramon:
The format and filter is different, but both are RDS data. These are your data, sorted into RDS groups:

RDS data: =========

0549-21 3784-22 4520-2C

B233-30 054F-29 5479-22 2020-2C

F210-28 0548-29 E39F-22 524E-24

E213-20 2544-29 204E-22 6163-2C

E213-20 2545-21 696F-2A 6E61-24

E213-28 355F-29 584C-22 CD46-2C

E213-20 ED95-29 53BA-2B E711-24

027F-38 2540-39 60E2-2A 0800-2C

E213-20 0549-21 379F-2A 4530-3C

E213-20 E555-21 37BA-22 E211-24

E213-28 E55D-29 1800-22 E211-24

E113-28 1540-29 08C2-32 0800-2C

E213-20 054F-21 3783-22 0038-3C

E213-28 0548-21 379B-22 524E-24

E213-20 0449-31 3779-2A 4520-2C

E213-20 2540-21 5261-22 6469-2C

E213-28

AF List changed: PI 57875 Size 1 Freq: 100600, .

RDS data: =========

2541-29 6F20-22 3320-2C

E213-28 E555-21 37BA-22 E711-24

E213-20 E55D-29 1460-22 E711-2C

E213-28 1540-29 00E2-22 0800-2C

E213-20 054A-29 379F-2A 3320-2C

E213-20 054F-21 375F-2A 2020-24

E213-28 0548-21 1737-2A 524E-24

E213-20 2542-29 37BA-22 E211-2C

E213-20 E55D-21 1800-2A E211-24

E213-20 1540-21 00E2-2A 9C00-2C

E213-28 0549-29 3784-22 4520-24

E213-28 054A-21 3756-32 2323-2C

E213-28 054F-21 375A-2A 2020-24

E213-20 2544-21 208E-32 6163-2C

E213-28 2545-31 696F-2A 6E61-24

E213-20 3540-21 40C0-22 1234-24

E213-20

====== End =====

RDS data: =========

E555-29 37BA-22 E711-24

E253-38 1540-29 00E2-2A 0800-2C

E213-20 0548-21 378B-22 524E-24

E213-28 0549-21 E782-22 4520-2C

E213-28 054A-21 3782-22 3320-24

E213-20 2546-21 6C20-22 E46F-2C

E213-28 2547-29 A07D-3A 7370-2C

E213-20 E555-21 37BA-22 E211-2C

E213-28 E55D-29 1800-2A E211-2C

82 84 22 20 20 2C

E213-20 0548-21 7882-2A 524E-24

E213-28 0549-29 E59B-2A 4520-24

E213-20 2548-21 619A-22 612E-24

E213-20 2D4B-31 2020-2A 20E6-34

E213-28 E55D-21 1800-22 E711-2C

E213-28 1540-29 00E2-22 0800-24

E213-28 254C-21 379B-2A

====== End =====

With the data provided, this is my analysis:

1) The log file shows 12 Bytes for each RDS group, with the data formatted in text. Shows only 8 of the 10 bit CRC Block (checkword)

2) This log file contains many errors.

3) The data belong to the RDS

CE Estella of the community of Navarre

(Spain). The date and time of capture can not say, as the data capture is less than 1 minute ... and not show the RDS-CT information.

4) This CE transmits information RDS-TMC, but their data show inactivity (Time-Out) ... possible failure of the data receiver (via satellite) that provides data to the RDS encoder.

5) The frequency is 100.5 MHz (Estella), in the file appear as AF's:

93.0 -> CE La Higa de Monreal (Navarra)

99.5 -> CE Zaldiarán (Alava)

103.4 -> CE Ibañeta (Navarra)

89.8 -> CE Leiza (Navarra)

6) RDS data:

PI:E213

PS:RNE 3

TP:1

TA:0

PTY:(10)Pop Music

RT:Radio 3 de Radio Nacional de España.

EON => PI:E711 - AF:106.1(method B) - PTY:(3)Info TA:0

ECC:E2
[Windows Mobile Software Development] SaBo:
This is a list of commercial radio stations emitting TMCpro which is encrypted.

Public radio stations in Germany use free TMC.

Sascha
[Windows Mobile Software Development] switchgott:
So please tell me some free tmc frequenzes.
[Windows Mobile Software Development] Jose-Ramon:
With the data provided... they are 10 events, is a TMC transmission in 'single mode' and redundancy 2.

If added the ODA-RDS and PI data information what is missing, this is the log generated by the DecoRDS software:

Date: 24/04/2009 10:46:22

PI:F201 - AID:4B02 - PS:________

LTN:F-32 (v6.1) / Op:________ / Gr:8A

________________________________

L:50540 -3/E:640 (D0) #0

* De Péage d'Anc. à Aire de Lau.

Slow vehicle lane closed

---(TMC: 1)---{@1}---

L:47481 -1/E:701 (D0) #0

* De Alençon à Pacé

Roadworks

---(TMC: 2)---{@2}---

L:13178 +2/E:738 (D0) #0

* De Aire d'Auza. à Sainte-Herm.

Roadworks.Left lane closed

---(TMC: 3)---{@3}---

L:13200 +2/E:401 (D0) #0

* De Créteil à Bondy

Closed

---(TMC: 4)---{@4}---

L:11094 -6/E:401 (D0) #0

# À N5,Bobigny, dir. SORT.

Closed

---(TMC: 5)---{@5}---

L:47647 +1/E:517 (D0) #0

* De Pleyben à Lennon-Blai.

Contraflow

---(TMC: 6)---{@6}---

L:47186 -1/E:701 (D0) #0

* De Saint-Georg. à Vautorte

Roadworks

---(TMC: 7)---{@7}---

L:13009 +2/E:640 (D0) #0

# À Aire de La ., dir. ENT.

Slow vehicle lane closed

---(TMC: 8)---{@8}---

L:47185 +1/E:704 (D0) #0

* De Vautorte à Saint-Georg.

Resurfacing work

---(TMC: 9)---{@9}---

L:13144 +4/E:640 (D0) #0

* De Aire de la . à Le Mans

Slow vehicle lane closed

---(TMC: 10)---{@10}---
[Windows Mobile Software Development] johnpatcher:
@flywhc: I'm using version 0.4B, as I'm using the standard Windows Mobile volume control (popup), and therefore I don't need any audio initialization.

It works great, but unfortunately it seems as there is a problem while closing the application. It takes really long to close the application (>1 min or so), but when I just plug out the headset cable, while it is closing, it shuts down instantly.

Is this normal behaviour, or is there something that takes so long? Previous versions haven't taken so long to shut down :confused:?

Futhermore it seems that there are some problems with the charset? In Germany we have umlauts, which means there are characters like "ö", "ä" and "ü". Instead of displaying them, I just can see "-". I realized that in the box, where the Radio Text (RT) is displayed.

Moreover I have a problem with saving the logfile. Whereas it worked just fine with 0.4, it seems that it doesn't work with 0.4B, as I become an error message saying "cannot create file!".

Another one: Mute doesn't work. I have to press mute twice, until I don't hear any sound anymore, pressing it only once, it gets getting quiet, but not silence at all.

Would be great if you could fix some of these issues, or at least, say whats the reason for them :p.

Just another question: What means [Music] in the "status" bar? Should this be an indicator whether a station airs music or speech? Because so far I haven't seen [Speech]. Is this not implemented yet, or are the stations not switching it?
[Windows Mobile Software Development] flywhc:
I believe all technical problems have been solved to produce a TMC driver and a full featured FM radio player.

I just need time to do things in right way.

The current xFMRadio has bugs: it crashes after a while, volume control has problems.

it is just an debugging and analysis tool so don't expect production quality. :P

I know solution but need time.

I am building a robust infrastructure.

Supporting TMC driver is my highest priority.

=======

Thanks pelroig. I will have to use different way to handle ms volume control and htc volume control.

johnpatcher, I guess you are experiencing same problem with pelroig. I guess I will have to borrow a device that using wm volume control - or find a ROM for my TP. But I won't do that now as it has lower priority.

iseeka, I don't see what is wrong.

checkword 2A or 2C means that block of data has checksum error. we had a few post in this thread discuss how RDS is encoded on HTC devices.

Jose-Ramon, your analysis is impressive. I hope we will see them automatically generated on the device soon.
[Windows Mobile Software Development] flohtc:
Thank you flywhc !!!

I am impatient to try it on iGo8. I have seen TMC work with iGo on an Eten x500, and I am very excited about this !

Again thank you for your hard work.
[Windows Mobile Software Development] paalkr:
Hi!

First of all I must say that I really appreciate the work you have started with the work on the FM radio possibilities in our beloved HTC devices :D. I personally is most eager to get a full featured FMradio player, especially with support for AF, and of course a finger friendly interface.

I have tried your latest release xFMradio 0.4 on my artemis, and got an error message saying Failede to init. FM radio. What can I do to get things working on the Artemis (HTC P3300) device? I has indeed FM radio, and I use the HTC FMradio application on a daily basis.

Regards,

PK
[Windows Mobile Software Development] johnpatcher:
Have you read the list of supported devices?

So, maybe, there is nothing you can do about it :(.