yashsingh1/xdaforums huggingface dataset:
[Windows Mobile Software Development] flywhc:
could you try turn on RDS log in EtenTest menu->RDS log on?

If that menu works, please upload some of RDS log so I can check what's wrong.

I have been very busy on my office job with pressures from my boss.

I will try to find some time to make progress.

About HD2, you can see I tried looking at everything new in that HD2 FM thread. I have to do that after Eten adaption. It is unlikely to have progress in short time. in the mean time, find someone has very strong VC++ and ARM skills with HD2, or hack into broadcomm to get their documents ;)
[Windows Mobile Software Development] damikey:
Help is greatly appreciated

Any help with be appreciated,

with HyperGPS running, Igo8 recognizes the TMC driver but it state that "TMC States Unknown". My region is Vancouver, BC with two station broadcasting TMC signals (94.5Mhz and 103.5Mhz). Are there solution to my area?

Thanks in advance.
[Windows Mobile Software Development] damikey:
Ca-TMC (No key) <-- What does this mean?
[Windows Mobile Software Development] kolomparrudi:
TMC Pro

RSSI 12 is not enough :(

As far as I now TMC Pro is an encrypted TMC service, the protocol is the same.

About encryption:

- defined in ISO-14819-6 (http://el8.org/wp-content/uploads/2008/09/14819_6.pdf)

- only the location are encrypted, so you can see TMC events on raw RDS, but the location code is encrypted.

- the decoding is made by the navigation software
[Windows Mobile Software Development] IBX1:
xFMRadio and goodies from R3A do not work together

Hi!

xFMRadio works fine under X1i_O2_DE_CDF1215-1634_R2AA012.

But when I install the ActiveX Deployment Flash Plug-in, the Panel Manager from R3A, the new MEDIA XPERIENCE PANEL (the radio application inside is enhanced very much) and the R3A CAMERA with AutoFlash, it does not work anymore:

- No RSSI

- Crash while closing

Logfile:

Set verbose to: all

Run Tune(96300) = 3

Run SetRDS(96300)=3

RSSI:

RT:

(For the new things from R3A see http://xdaforums.com/showthread.php?t=498934 , http://xdaforums.com/showthread.php?t=499154)

Thanks you all for your good work!

IBX1
[Windows Mobile Software Development] NEO130:
By me the same. The problem is the new Xperia Media Panel.
[Windows Mobile Software Development] flywhc:
FMS driver only allow one FM context created at same time.

I guess that X1 panel integrated FM radio player inside and always open a FM Radio context.

I don't have X1 so can't tell you the reason.

Shall we build a team and split works to make things faster?

Progress will be very slow if only rely on me especially TMC features - there is no free TMC in the UK and I don't have a navigation system supports TMC.

I like to share my knowledge and donations (although only received 1 donation so far :D)

Currently I am working on disasemble HTC FM Radio to understand how volume control works.

I have to guess and build a VTable to reverse the data structure of FM Radio wrapper class.

It is even harder to find the caller to use them, they are something like MOV PC, [RC6 + #28]

I think the first parameter of FM_Create should be a big struct but I don't know the definition yet.

algorithm to identify PI:

if(stream == stream[i-12]

&& stream[i+1] == stream[i-11]

&& stream[i+2] == stream[i-10]

&& stream[i+2] ==0x20

&& stream[i+2+3] ==0x22

&& stream[i+2+6] ==0x24

&& stream[i+2+9] ==0x28)

{

PI = MAKEWORD(stream[i+1], stream)

}

note that FM events are running in another thread.
[Windows Mobile Software Development] johnpatcher:
To be honest thats the only thing I'm interested in. And, since the api is already discovered for this undertaking, I would love to see this as the first step, but its totally up to you :).

Unfortunately I can't really help, as I'm not familiar with programming C (for the PocketPC) :(.

Is there anyone else, who could try to make TMC possible? I think its not that much work, but knowledge will be needed :).
[Windows Mobile Software Development] cr2:
Thanks, that looks good enough. Now i'll try to backtrace them to raw HCI/.bts
[Windows Mobile Software Development] iseeka:
tcm is the only thing for me to though a radio with rds is nice too

jus write to confirm it works on polaris
[Windows Mobile Software Development] flywhc:
beemerTPPC explained how to write a virtual COM port and mix RDS-TMC with GPS data

http://xdaforums.com/showpost.php?p=3585022&postcount=36
[Windows Mobile Software Development] johnpatcher:
I'm attaching an updated version of the openTMC specification. openTMC itself is quite simple (some kind of NMEA). I guess implementing it with the known api isn't that hard as well, but unfortunately I'm not able to do it at all :(.

So, anyone out there, who has already planned to implement it?
[Windows Mobile Software Development] iseeka:
road end?......................
[Windows Mobile Software Development] flywhc:
I am writting a raw RDS parser...
[Windows Mobile Software Development] SamsungGalaxySamsung:
Guys,

i live in the Netherlands. I have a touch pro with route 66 installed on it.

In the menu of Route 66 there's an option: SOURCE FOR TMC

You have 2 options for source. 1) The Internet 2) RDS!

If you choose RDS, an greyed out option becomes grey. It's called :

Activate TMC PRO (Yes/NO)

If i want to use the TMC option i have to go to Route 66 store.

I think this also can be free with the prog you're all working on. Or am i wrong?

Let me now if i can be of any help for you.

Thank you very much!
[Windows Mobile Software Development] Zuzler:
Is it possible to have the frequency entered manually and it won't get changed to 100 steps? (e.g. I enter 98123khz, it will not be changed to 98100khz)
[Windows Mobile Software Development] BigDiesel07:
CDMA Touch Pro?

Does this work on CDMA Touch Pro?
[Windows Mobile Software Development] flywhc:
the chipset only support 50KHz step so you can enter 98350 in the inputbox on top left, and click "Set Feq"

actually FM uses a range of frequency so it doesn't make sense to use smaller steps.

It should work with CDMA touch pro. why not have a try? no harm
[Windows Mobile Software Development] Captain_Throwback:
As far as I know, the CDMA Touch Pro doesn't have FM radio hardware, so no, it won't work (unless I'm misinformed, and in that case, my apologies).
[Windows Mobile Software Development] NLS:
well, an easy question is: does the CDMA TP have in ROM the program to play FM radio?

if not, maybe it's not just the software missing
[Windows Mobile Software Development] SamsungGalaxySamsung:
Guys,

please check my previous post

i had a question
[Windows Mobile Software Development] flywhc:
FM radio is part of bluetooth chipset so there is no reason HTC removing it or change it.

try to use the FMS driver (first page of this thread) and htc fm radio maybe it works
[Windows Mobile Software Development] Matthes42:
please read the previous post to your question. without the hardware you cannot use it.
[Windows Mobile Software Development] boiacchi:
Unfortunately even if i switch rdslog on, i cannot get any rds raws.

now i'll try to download the erarlyer versions.

Don't feel pressure also from us, this is not your job, so take your time don't worry.
[Windows Mobile Software Development] wyx:
I have tested the 2.3.0 with the etentest beta6 dll on Acer F1.

The test program seems to be work properly on the Acer F1 but some functions does not.

The powerradio (with the copied dll frok etentest b6) starts and works but the band scanning is working false. No band found. I have heard noise in loudspeeker after pushing the headset button twice and sometimes herad bad radio signal too. If you need moore information just write . wyx@freemail.hu
[Windows Mobile Software Development] boiacchi:
Flywhc,

i'm back in italy and discovered that rds functions are not working since the fifth version of eten test.

I didn't not noticed it earlier, i'm sorry of that, my fault.

Have a nice evening
[Windows Mobile Software Development] flywhc:
just upgraded my PC and install win7 etc.

I am improving APITest, which is platform independent test program.

so I can compare results between eten and my htc raphael.

added PS parser for displaying station name.

Will add something like auto test feature.
[Windows Mobile Software Development] boiacchi:
i think you are a genius.... the dll now makes poweradio working almost perfectly, rds, tmc and so on are working, the only thing not perfect is the volume managing.

About apitest, please find a log attached.
[Windows Mobile Software Development] flywhc:
if RDS data such as PS (Station name), RT (Radio text) etc can be seen in power radio, sign it with a privileged certificate and copy to \Windows, it should work with hyperGPS.
[Windows Mobile Software Development] boiacchi:
ehm... you know i'm an ignorant about programming...:(

Could you please explain that in an easier way?

Thank you :D

P.S.

What about the new rev 8 ?

What is the differece between the two files? what kind of tests do you need? why is the dll missing?

Thank you.
[Windows Mobile Software Development] flywhc:
my bad. just updated previous post.

the B8 was a mistake - I didn't upload correct file.
[Windows Mobile Software Development] flywhc:
should be correct now.

EtenTest beta 8. Try to solve volume issue.
[Windows Mobile Software Development] tinutac:
I've tested the beta8 on S200 (with the newest official rom for EN). I tried it with the power radio v 2.3.0 but I don't manage to get any RDS data. Did anyone succeed in making it work on S200?

PS Thanks flywhc for your work.
[Windows Mobile Software Development] flywhc:
I don't know because I don't have any eten device.

boiacchi wrote that beta 7 worked with powerradio and can see RDS data.

Can you try that?
[Windows Mobile Software Development] tinutac:
Tried 7 and then also 4 because I saw that boiacchi wrote that from version 5 he didn't get RDS anymore. With 4 I don't hear anything. With 7/8 I can seek stations using the testapi but it seems not to get rds info. And I tried to enable the RDS log but it seems not to work.

Maybe the problem is that my model is an S200 (wm6.5) and his is an M900 (wm6.1)? I saw that for newer HTCs there's a similar problem.
[Windows Mobile Software Development] musicus66:
Hello, first of all i want to send a big compliment to flywhc!

(Sorry for my bad english..., I'm from Germany).

Now HyperGPS and Powerradio are working with my Eten X800 :D

The good news: I'm able to receive TMC with the latest GFMAPi.dll (b7 + b8)

-ETEN X800

-HyperGPS_B9

-Navigon Mobile Navigator 7.4

-GFMAPI.dll (b7+b8)

-WM6.1 (by everal)

The bad news:

Only the first time the driver was loaded by HGPSClient.

After that an error message appears while klicking on TMC

(not loading the driver).

Reading in the 192 pages of the HyperGPS-Thread ;)

and trying many things - then found out that some today-plugins

are blocking my COM-Ports (homescreen++, pocketweather, ...).

With tools like nopluginstoday and Oxios Closeapps I'm able to

reactivate the driver (but not always).

Has anybody the same experiences?

Anyway this is a big step for our ETEN-Fans. Thank you flywhc and beemerTPPC :)

BTW: The volume-tabs in Powerradio working well with GFMAPI_b8!

Greetings musicus66

P.S.: The headset from Eten doesn't receive many channels.

I'm using for testing a 2,5 mm to 3,5 mmm Stereo-Adapter

(I know it's not the best solution) and a headset with longer and thicker cables.
[Windows Mobile Software Development] flywhc:
It is indeed good news.

If PowerRadio and APITest doesn't have restart issue, it should be hyperGPS problem. Try to get help from the TMC thread.

About weak signal, does the built in FM Radio application can find more stations than power radio?

It seems Eten/Acer devices are not compatible with each other so I was confused by V900 results and this S200 doesn't work well.

I want to have a list of devices, supported or not fully supported.

I assume beta8 currently only work on M800 and M900.

tinutac,

S200 is new to me. Is that have same hardware with M900? Can you extract dll and exe for fm radio from ROM and upload here?
[Windows Mobile Software Development] casouzaj:
As far as I know, their main processors are completely different from each other. The Samsung S3C6410 processor equips the M900, whist the S200's is Qualcomm Snapdragon. Don't know anything about their FM hardware, but I suppose they would, most probably, be different as well.

Just my 2 cents...

Cheers!

Carlos
[Windows Mobile Software Development] boiacchi:
Hi Flywhc,

Please find attached the log file fom a volume poperty only test, using b8.

As you can see there are still differences in "set property" value and what you get.

Testing Power radio the volume buttons work well only if the system volume is set to maximum, as soon as it is set to a different value, volume up button produces a lower voume for the first two taps, and then nothing, and volume down lowers the volume.

P.S.

I've overwrited the gfmapi.dll in \windows and tested hypergps.

It works, but even if i set mute mode to mute, i can ear the music.

Using igo8 i can receive traffic essages, but i can still ear the music from the tuned station and i have to keep the headphones attached, while with the xperia i could remove them... :(
[Windows Mobile Software Development] flywhc:
when using the built in fm radio, what are relations between system volume, radio volume control and actual volume you hear?

on HTC phones, radio volume is same as system volume -- system volume increased then radio volume also increased and vice verse.

The hardware has another volume control but not used by radio player.

About mute, does mute property works as expected in the APITest?

set MUTE property to 1 for mute and 0 for unmute.

Happy Chinese New Year!
[Windows Mobile Software Development] musicus66:
No, it does not.

System volume doesn't change radio volume.

When starting apitest, radio volume is always set to maximum (100) but can be changed with set prop.

PowerRadio remembers the last volume set.

MUTE in apitest and PowerRadio can also be changed.

The toggle button between headset and speaker in powerRadio doesn't work.

While loading radio and mp3-player at the same time, i was able with mortscript and teksoft's audioroute in combined commandlines to hear radio over headset and mp3 on the speaker, but only for one song. The next title is played on headset again.

Same here in hypergps. Testing with audioroute and MN7 to split radio and traffic messages but still no success. At the moment (because of so much testing?) I can't load the TMC-driver anymore :confused:

Have copied the gfmapi.dll to windows without signing it. Is that the reason?

EDIT: In apitest AFJUMP, DEEMPHASIS and Power got Err 120.
[Windows Mobile Software Development] boiacchi:
Good morning.

Using the system radio: rising and lowering the radio volume don't affect the system volume at all.

If i rise or lower the system volume, the radio volume doesn't change, except if i set to zero the system volume, that produces mute for the radio volume.

Also i've noticed that if i set to the maximum the radio volume it will change according to the system volume.

I think the system volume level corresponds always to the radio maximum volume.

So, except the system mute and system maximum volume, there are no other affection to the radio volume.

The mute properties of apitest works correctly.

Have a nice celebration!! :)

Update:

after a reboot hypergps is not working anymore, after it is loaded, if i tao on the tmc button, i get the message "cannot load driver. try install beemercert.cab or another com port.

I tried to intall beemercert.cab and reboot, but i get the same message.

Any idea?
[Windows Mobile Software Development] musicus66:
As posted before i was sometimes successfull with "nopluginstoday" (by ictinus) and "Closeapps" (by Oxio).

Latest news: TMC is working again. :)

Deaktivated (deleted) some entries in \windows\autostart ("opera", "voicecommand", "nodatainroaming")

Don't know which one was responsible. Checked also with "Process Killer" (by ANB) open processes (carefull).

Some ideas...

Now the plugins can left activated. TMC-Switching seems to be stable. :cool:
[Windows Mobile Software Development] flywhc:
musicus66, congratulations! you posted the 1000 post in the thread. (no prize, sorry) :)

In API test, set Mute = 1, does system volume change mute state?

Can you hear other sound such as mp3 or ring tone when set FM radio to mute in APITest?

About volume, are following statements correct?

when system volume = max, radio volume works as expected

when radio volume = max, system volume changes radio volume as expected
[Windows Mobile Software Development] boiacchi:
sorry i can't understand how you manage to make hypergps work...

:(
[Windows Mobile Software Development] musicus66:
@flywhc

No, after system volume changing radio stays muted.

Yes, mp3, midi, mod, wav, videos etc.

System volume doesn't change radio volume at all.

Even when system volume is muted radio volume doesn't change.

GSPlayer changes SystemVolume. Nitrogen, WMPlayer, Coreplayer, TCPMP, MN7 do not.

Tested with Eten X800 (WM6.1-ROM by everal/ optional sounddrv for equalizer not installed)

@boiacchi

(Sorry my english grammar is not so good)

Maybe the TMC-dicussion is a little offtopic here and we should go to the hypergps-thread.

First try to uninstall Hypergps. Look with the program "totalcommander" if in \windows exists

gfmapi.dll and hypergps.dll. If they are already there, delete them. Then do a soft reset.

After rebooting install first beemer_cert.cab then HyperGPS_WM6_B9.cab. Do a soft reset again.

Copy flywhc's gfmapi.dll (Version Beta 8) to \windows. If gfmapi.dll and hypergps.dll have

capital letters rename them completely to lowercase letters (maybe flywhc could rename them

to lowercase too in his zip files?). Start HGPSClient.exe and tap on TMC.

Eventually install Hypergps to main memory not to storagecard.

If this all doesn't help I tried first deactivating all today-plugins

[Startmenu? > Settings? > Today? > Elements?] or more comfortable with this programm "nopluginstoday"

(please search for it, can't post link here) . After this I cleaned some RAM with "Oxios Closeapps".

I tried again HGPSClient.exe and sometimes TMC can be switched on.

The last solution I found for my x800 was when I renamed with totalcommander some entries

in \windows\autostart so that they are not loaded anymore after a soft reset.

Now every time I started HGPSClient TMC can be switch on and I do not need to

deactivate my today-plugins anymore. That are my experiences on my x800. Why this is working

I don't know. I'm searching at the moment for the application which has been blocking the TMC-Driver.

Maybe the reason is completely different. Some users reporting that only after integrating

gfmapi.dll in the ROM of their devices the TMC problems after rebooting were fixed.

Greetings musicus66
[Windows Mobile Software Development] musicus66:
Heureka,

in the downloadarea of Eten-users.eu (h**p://files.eten-users.eu)

under /download/Utilities is a tool (Glofiish Headset-Speaker Selector.CAB)

which can switch between headset and speaker if the headset is plugged in

(or for example search for "eten lautsprecher").

Now it's possible to hear the traffic announcement over backspeaker while

radio over headset is muted. :) (my favorite)

Nevertheless it would be nice if for some users the traffic announcement

will come over the headset while the radio is muted.

Regards, musicus66
[Windows Mobile Software Development] boiacchi:
-no it remains at the same level

-yes, even if apitest is powered on and set to mute, i can still ear mp3, videos and even system radio.

-please find attached a log about that. just after power on apitest, i rised the system volume to the maximum and automatically apitest volume is set to 100, but it still works strange.

-when apitest volume is set to maximum, system volume does not change.

but if i set apitest volume to 100 and then i change system volume, if i get property i get different values 100 for maximum system volume, then 86, 80, 66, 60 and 0 lowering down step by step the system volume.

Indeed after apitest is powered on, its volume is set to 0 by default, but if i move the system volume, up or down, i get one of the values i've written before (100, 86, 80, 66, 60 or 0, corresponding to the different steps of the system volume bar) without setting the volume property at all.

@misucus66

i still get that error message.

what a disappointment :(
[Windows Mobile Software Development] beemerTPPC:
HyperGPS V1.0 released!!!!

Finally we got Hypergps 1.0 version, this doesn't meant that the development is stopped

And there is also a special version for Eten / Acer users!!!
[Windows Mobile Software Development] flywhc:
boiacchi, I tried to find a regular pattern between set volume and get volume.

Please ignore FMSetProp and FMGetProp in logs. They are calulated values.

The second argument of FM_SetAudioVolume should match return value of FM_GetAudioVolume, which is the original value.

In your post #996, Set/Get values are different but seems have a relation, such as Get = Set X factor.

In your post #1005, Set/Get values exactly match.

so I guess during test for #996, your system volume was set to a lower value, such as 80% and you set system volume to 100% for post #1005

good job
[Windows Mobile Software Development] boiacchi:
Hi Flywhc,

yes, only my latest test was performed with 100% system volume, but still i can't see the same value between set and get volume property, maybe i'm wrong.

here it is an extract from my latest log (i should have switched off the rds log, sorry):

FM_SetAudioVolume(96, 14)=1

FMSetProp(VOLUME, 96) = Success

FM_GetAudioVolume()= 14

FMGetProp(VOLUME) = Success, val = 93

My understanding is that, with system volume set to maximum, if i set audio property to 96, i get 93.

and i get again 93 if i set any value between 91 and 96 range.

and i get 86 setting from 84 to 90Hope it is userful.

Have a nice day
[Windows Mobile Software Development] flywhc:
FM_SetAudioVolume(96, 14)=1

FMSetProp(VOLUME, 96) = Success

FM_GetAudioVolume()= 14

FMGetProp(VOLUME) = Success, val = 93

As I wrote, ignore FMSetProp and FMGetProp in logs. They will be same by a simple copy operation in code in the non-beta version.

Look at FM_SetAudioVolume and FM_GetAudioVolume.

In the above example, bold number 14 is what we are looking at.

I don't know if this is expected result - radio volume actually is RadioVolume X systemVolume.

That means you will hear radio volume is controlled by both system volume and radio volume.

Can you see that in the built in radio application? can you see this in APITest/powerradio?

What's different of volume control, physically hear by your ears, between the built in radio app and PowerRadio?
[Windows Mobile Software Development] boiacchi:
I'm sorry, it seems i didn't get it... :( but now it is clear.

The built in radio app volume is dependent form system volume also.

I.E. if i set the radio volume to max, changing the system volume i can ear a higher or lower volume from the headphones.

Tha same it happens with Apitest.

Poweradio works in a strange way:

the volume up button works ONLY with system volume set to maximum and, as per apitest and builtin radio, changing the program volume, does not affect the system volume.
[Windows Mobile Software Development] flywhc:
so it should be problem of PowerRadio. I have draw 6Fg8's attention to this.

so far GFMAPI for eten has no issues?

I guess it should still have problem with other eten devices such as v900 s200 etc
[Windows Mobile Software Development] 6Fg8:
Volume handling in Power Radio is pretty straightforward. I only use the FMSetProp call to modify volume, no other API's involved.

Also, volup and voldown buttons are handled identically. On buttonpress i do a FMGetProp(hFM, FMPROP_VOLUME, int vol), increase/decrease vol by 6, check for overrun/underrun, then write it back with FMSetprop(hFM, FMPROP_VOLUME, vol).

I can add verbose logging of vol values get/set if that helps.