Jump to content


The MoDaCo Developer Challenge: Win an i-mate JAQ3!

- - - - -

116 replies to this topic

#41
dan.ardelean

dan.ardelean

    Newbie

  • Members
  • Pip
  • 31 posts
  • Devices:SPV C600
I used CF2 because I needed callback functions which are not implemented in CF1. Anyway it works fine on WM 2003.


#42
johncody

johncody

    Regular

  • Members
  • PipPip
  • 105 posts
  • Location:New York, NY USA
  • Devices:HTC Dash

View Postdan.ardelean, on Feb 7 2007, 10:28, said:

I used CF2 because I needed callback functions which are not implemented in CF1. Anyway it works fine on WM 2003.

Do you have a 2003 PPC or a 2003 SP?

-John Cody

#43
PaulOBrien

PaulOBrien

    It's My Party

  • Founder
  • PipPipPipPipPipPip
  • 32,959 posts
  • Gender:Male
  • Location:Norwich, UK
  • Devices:Galaxy Nexus / TF Prime
  • Twitter:@paulobrien
That's enough messing around with devices I think :)

Summary:

O2 XDA Orbit  - Operator Long, Operator Short, Operator Num,			   LAC, CID
Eten M700	 - 
Eten X500	 - 
i-mate JasJar - Operator Long,				 Operator Num, Country Code, LAC
MDA Vario II  - Operator Long, Operator Short, Operator Num,			   LAC, CID
P4350		 - Operator Long, Operator Short,			   Country Code, LAC, CID
i-mate SPL	- 
i-mate JAQ3   - Operator Long, Operator Short, Operator Num,			   LAC, CID
Loox T830	 - Operator Long, Operator Short, Operator Num, Country Code
QTek 8500	 - Operator Long, Operator Short, Operator Num,			   LAC, CID
i-mate SP5	- Operator Long, Operator Short, Operator Num,			   LAC, CID
Treo 750v	 -															LAC, CID
That's not a bad start... on 7 of those 12 devices you could make a celltrack-type context sensitive application.

I note that a lot of the values aren't returning, and the MaxSignalStrength / BitErrorRate ones are returning the LAC/CID values.

I wonder if the 'solution' to the competition is API calls as you are doing, coupled with 'another method' for devices that aren't supporting this?

Anyone else got any other devices to add to the list? I've lent my Prophet out unfortunately, and my Excalibur! :D

P

You can follow me on Twitter - http://twitter.com/paulobrien / Follow MoDaCo on Twitter - http://twitter.com/modaco / Follow MoDaCo Android on Twitter - http://twitter.com/modacoandroid

Want to donate? MoDaCo is raising money for the Multiple Sclerosis society.

Posted Image


#44
PaulOBrien

PaulOBrien

    It's My Party

  • Founder
  • PipPipPipPipPipPip
  • 32,959 posts
  • Gender:Male
  • Location:Norwich, UK
  • Devices:Galaxy Nexus / TF Prime
  • Twitter:@paulobrien
Eten X500:

Results as for the Eten M700... i.e 'spaces' returned for operator name etc, na/req for the rest.

P

You can follow me on Twitter - http://twitter.com/paulobrien / Follow MoDaCo on Twitter - http://twitter.com/modaco / Follow MoDaCo Android on Twitter - http://twitter.com/modacoandroid

Want to donate? MoDaCo is raising money for the Multiple Sclerosis society.

Posted Image


#45
PaulOBrien

PaulOBrien

    It's My Party

  • Founder
  • PipPipPipPipPipPip
  • 32,959 posts
  • Gender:Male
  • Location:Norwich, UK
  • Devices:Galaxy Nexus / TF Prime
  • Twitter:@paulobrien
I'm talking to Eten about the T-Mobile GPRS problem atm, so i'll ask them why RIL_GetCellTowerInfo and RIL_GetCurrentOperator don't work too :)

P

You can follow me on Twitter - http://twitter.com/paulobrien / Follow MoDaCo on Twitter - http://twitter.com/modaco / Follow MoDaCo Android on Twitter - http://twitter.com/modacoandroid

Want to donate? MoDaCo is raising money for the Multiple Sclerosis society.

Posted Image


#46
PaulOBrien

PaulOBrien

    It's My Party

  • Founder
  • PipPipPipPipPipPip
  • 32,959 posts
  • Gender:Male
  • Location:Norwich, UK
  • Devices:Galaxy Nexus / TF Prime
  • Twitter:@paulobrien
Here's an interesting page... wonder if the functions work on the Eten etc. via AT commands?

http://wiki.xda-deve...name=rilgsm.dll

P

You can follow me on Twitter - http://twitter.com/paulobrien / Follow MoDaCo on Twitter - http://twitter.com/modaco / Follow MoDaCo Android on Twitter - http://twitter.com/modacoandroid

Want to donate? MoDaCo is raising money for the Multiple Sclerosis society.

Posted Image


#47
dan.ardelean

dan.ardelean

    Newbie

  • Members
  • Pip
  • 31 posts
  • Devices:SPV C600
Ooops Ooops

There is a parameter that I've set and which is the timeout for the command (the response is async). It was set to 1 sec and I saw on my Intermec CN3 that sometimes I get the response and sometimes I get ooops.

I've incremented the timeout to 4 seconds and now on the Intermec it's working well (on the library it will be a property so it can be set). So when you have time please test this on the devices that returned Oooops

Attached File  RilTest_v0.0.2.zip   5.82K   371 downloads

Intermec CN3
operatorNumName:
LongName I WIND
ShortName NA/REQ
NumName 22288
CountryCode IT
cellInfo
MobileCountryCode 222
MobileNetworkCode 88
LocationAreaCode 10052
CellID 14307
RxLevel 93
RxQuality 0

signalStrength
SignalStrength 222
MinSignalStrength 88
MaxSignalStrength 10052
BitErrorRate 14307
LowSignalStrength 61
HighSignalStrength 764


#48
PaulOBrien

PaulOBrien

    It's My Party

  • Founder
  • PipPipPipPipPipPip
  • 32,959 posts
  • Gender:Male
  • Location:Norwich, UK
  • Devices:Galaxy Nexus / TF Prime
  • Twitter:@paulobrien
For test purposes, could you add an option where you hit the menu button, and it dumps all that stuff to a text file? :)

P

You can follow me on Twitter - http://twitter.com/paulobrien / Follow MoDaCo on Twitter - http://twitter.com/modaco / Follow MoDaCo Android on Twitter - http://twitter.com/modacoandroid

Want to donate? MoDaCo is raising money for the Multiple Sclerosis society.

Posted Image


#49
PaulOBrien

PaulOBrien

    It's My Party

  • Founder
  • PipPipPipPipPipPip
  • 32,959 posts
  • Gender:Male
  • Location:Norwich, UK
  • Devices:Galaxy Nexus / TF Prime
  • Twitter:@paulobrien
Still rather odd results for signal strength etc... on my MDA Vario II the SignalStrength returns 234 (first part of network ID), MinSignalStrength the other MaxSignalStrength returns the LAC, BitErrorRate the CID. :)

P

You can follow me on Twitter - http://twitter.com/paulobrien / Follow MoDaCo on Twitter - http://twitter.com/modaco / Follow MoDaCo Android on Twitter - http://twitter.com/modacoandroid

Want to donate? MoDaCo is raising money for the Multiple Sclerosis society.

Posted Image


#50
dan.ardelean

dan.ardelean

    Newbie

  • Members
  • Pip
  • 31 posts
  • Devices:SPV C600
Mea culpa again. Looks like I am sleeping :) I have to modify the exe. Cannot blaim (I was programming at 2 o'clock in the morning). Modify right away


#51
dan.ardelean

dan.ardelean

    Newbie

  • Members
  • Pip
  • 31 posts
  • Devices:SPV C600
As both function have the same prototype I copied a piece of code and forgot to modify. The v0.0.3 should give real results. Tonight, if I have time, I will make a procedure that calls all the functions and logs to a file. Till then... the modified exe

Attached File  RilTest_v0.0.3.zip   5.85K   290 downloads

P.S. The AT Command would be the most generic solution (should work on all modems), the difficult part is to find the interface to send AT Commands to the modem (maybe using the VSP returned by RIL or RIL_RegisterATCommandLogging but I have to try it). I also have to try the notification part of the RIL.


#52
PaulOBrien

PaulOBrien

    It's My Party

  • Founder
  • PipPipPipPipPipPip
  • 32,959 posts
  • Gender:Male
  • Location:Norwich, UK
  • Devices:Galaxy Nexus / TF Prime
  • Twitter:@paulobrien
With that version:

SignalStrength: -77
MinSignalStrength: -113
Max: SignalStrength: -51
BitErrorRate: 4294967295
LowSignalStrength: -110
High: SignalStrength: -60

No idea what they mean :D

The 4294967295 value (FFFFFFFF) worries me a bit tho :)

P

You can follow me on Twitter - http://twitter.com/paulobrien / Follow MoDaCo on Twitter - http://twitter.com/modaco / Follow MoDaCo Android on Twitter - http://twitter.com/modacoandroid

Want to donate? MoDaCo is raising money for the Multiple Sclerosis society.

Posted Image


#53
dan.ardelean

dan.ardelean

    Newbie

  • Members
  • Pip
  • 31 posts
  • Devices:SPV C600
BitErrorRate Bit error rate in 1/100 of a percent. Must be one of the bit error rate constants

#define RIL_BITERRORRATE_UNKNOWN                    (0xffffffff)


#54
dan.ardelean

dan.ardelean

    Newbie

  • Members
  • Pip
  • 31 posts
  • Devices:SPV C600
As I've promised I am sending a new version. In the menu there is a new option to log the results to a file.

You can download and try the new version here:
Attached File  RilTest_v0.0.4.zip   7.1K   387 downloads

In this version you will get the OOPS error if the RIL cannot be initialized or if the command is not implemented. You will get a Timeout error if I don't get an answer before the timeout I've set (now it's static set to 4 seconds). If I don't get the RESULT_OK you will see the error and finally if I have no errors you will see what the function returned.

On my Spv C600 I got the following results:

operatortLongName
LongName: I WIND
ShortName: NA/REQ
NumName: NA/REQ
CountryCode: NA/REQ


operatortShortName
LongName: NA/REQ
ShortName: I WIND
NumName: NA/REQ
CountryCode: NA/REQ


operatortNumName
LongName: WIND
ShortName: NA/REQ
NumName: 22288
CountryCode: IT


cellTowerInfo
MobileCountryCode: NA/REQ
MobileNetworkCode: NA/REQ
LocationAreaCode: 10052
CellID: 40628
RxLevel: NA/REQ
RxQuality: NA/REQ


signalStrength
SignalStrength: -51
MinSignalStrength: -113
MaxSignalStrength: -51
BitErrorRate: 4294967295
LowSignalStrength: -110
HighSignalStrength: -60

Now I can think we can re-run the tests. Sorry Paul for the errors I had in the previous versions.


#55
Craig B

Craig B

    Newbie

  • Members
  • Pip
  • 1 posts
  • Devices:Dopod 838pro, Dell Axim x50v
Hi,
Dopod 838Pro (HTC Hermes 100) results using 0.0.4:

operatortLongName
LongName: Telstra Mobile C
ShortName: NA/REQ
NumName: NA/REQ
CountryCode: NA/REQ

operatortShortName
LongName: NA/REQ
ShortName: M-NET
NumName: NA/REQ
CountryCode: NA/REQ

operatortNumName
LongName: Telstra sux ass
ShortName: NA/REQ
NumName: 50501
CountryCode: NA/REQ

cellTowerInfo
MobileCountryCode: NA/REQ
MobileNetworkCode: NA/REQ
LocationAreaCode: 276
CellID: 8971
RxLevel: NA/REQ
RxQuality: NA/REQ

signalStrength
SignalStrength: -43
MinSignalStrength: -113
MaxSignalStrength: -51
BitErrorRate: 4294967295
LowSignalStrength: -110
HighSignalStrength: -60

Note that the operatortNumName/LongName has come from the registry change I have mode myself.

C


#56
dan.ardelean

dan.ardelean

    Newbie

  • Members
  • Pip
  • 31 posts
  • Devices:SPV C600
Guys I am available to improve the library, but I would need feedback. Paul, if you have time could you test it on the devices it was not working?


#57
PaulOBrien

PaulOBrien

    It's My Party

  • Founder
  • PipPipPipPipPipPip
  • 32,959 posts
  • Gender:Male
  • Location:Norwich, UK
  • Devices:Galaxy Nexus / TF Prime
  • Twitter:@paulobrien
I haven't yet, i'll try and do that tomorrow!

P

You can follow me on Twitter - http://twitter.com/paulobrien / Follow MoDaCo on Twitter - http://twitter.com/modaco / Follow MoDaCo Android on Twitter - http://twitter.com/modacoandroid

Want to donate? MoDaCo is raising money for the Multiple Sclerosis society.

Posted Image


#58
dan.ardelean

dan.ardelean

    Newbie

  • Members
  • Pip
  • 31 posts
  • Devices:SPV C600
I had a request from a user to use the functions from a library. Attached you will find a demo project that uses RilWrapper.dll (a library that I created) and of course RilWrapper.dll. I think that we are at a good point but I would really appreciate further tests (I tested on the devices I have)

Have Fun,
Dan

Attached File  RilTest.zip   18.35K   431 downloads


#59
PaulOBrien

PaulOBrien

    It's My Party

  • Founder
  • PipPipPipPipPipPip
  • 32,959 posts
  • Gender:Male
  • Location:Norwich, UK
  • Devices:Galaxy Nexus / TF Prime
  • Twitter:@paulobrien
I am away for a few days, but will give it a thorough test when I return!

P

You can follow me on Twitter - http://twitter.com/paulobrien / Follow MoDaCo on Twitter - http://twitter.com/modaco / Follow MoDaCo Android on Twitter - http://twitter.com/modacoandroid

Want to donate? MoDaCo is raising money for the Multiple Sclerosis society.

Posted Image


#60
dan.ardelean

dan.ardelean

    Newbie

  • Members
  • Pip
  • 31 posts
  • Devices:SPV C600
Paul any news for the tests?

Thanks





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users