Get Cell ID program - 8525, TyTN, MDA Vario II, JasJam General

Hi all,
Here is the program to show the current CellID and Rxlev.
1) the cell database 2G.txt & 3G.txt should be placed to the root dir.
2) the site info. & SC are selected from the txt file base on the CellID
If you got any bugs, please report, I will try my best to improve (if I can) ....
sorry, I am not a professional programmer ....

More information that I only test it on HTC P3600i phones, it should be work on Hermes ....

Ок, I have idea.
Lets develop Today Plugin that display Cell ID and comment (Cell ID 20001 "Home" or 200201 "Work")
So, we get GPS-Cell!
P.S.: On my Wizard I have a problem - program work - when start - "Program will be closed" and too many error messages
P.P.S. Before error i see BS info - program work - but 1 or 2 sec only...

Good Idea, I wish to have such a Today Plugin.
i have same problem:
Error says: Install NETCFv35.Messages.EN.wm.cab
Kpyto said:
Ок, I have idea.
Lets develop Today Plugin that display Cell ID and comment (Cell ID 20001 "Home" or 200201 "Work")
So, we get GPS-Cell!
P.S.: On my Wizard I have a problem - program work - when start - "Program will be closed" and too many error messages
P.P.S. Before error i see BS info - program work - but 1 or 2 sec only...
Click to expand...
Click to collapse

The Capture Screen

The program crashes in my device too (SPV m700 / HTC 3600)
Seems cool, by the way. Reminds Celltrack on tornado...

The 2g.txt & 3g.txt must copy to c:\
eg. c:\2g.txt , c:\3g.txt

sourecode
Hi,
This looks really good!!! .
I've been trying to do this myself for the last few days as a mini project and I keep ending up down dead ends! Could you possibly send me the source code or perhaps some hints on how to get started!!!!
Thanks !!!!

Can you get me sourecode? I am learning about this.so,help me!
sourecode mail to me?Ok. [email protected]

frank8080 said:
Hi all,
Here is the program to show the current CellID and Rxlev.
1) the cell database 2G.txt & 3G.txt should be placed to the root dir.
2) the site info. & SC are selected from the txt file base on the CellID
If you got any bugs, please report, I will try my best to improve (if I can) ....
sorry, I am not a professional programmer ....
Click to expand...
Click to collapse
Amazing work Frank!
I'm writting an open source app named RemoteTracker (http://forum.xda-developers.com/showthread.php?t=394203) and I would like to use your code inside this project. If you agree please contact me.
Cheers,
Joubert

Related

Unstable AT-command replies from GSM-radio

I'm programming on a program that uses cell broadcast messages to determine your position. (http://gknavigation.de) - It was a project at "youth research" this year.
It is based on an idea of W.Back...
Now I want to get rid of a external gsm phone at the position determination, because the new Pocket PC Phone Edition have a integrated radio functionality.
I've written a small terminal-prog. for the XDA (http://gknavigation.de/beta.htm), which let's you sent modem-command into the gsm and recieve replies.
On the XDA2 it is working well until the line "AT command interpreter ready" is displayed on the terminal. After that common AT-commands like "AT+CBC" won't work any longer, and result with an "ERROR".
The line (and the errors as result) seems to apear after a few seconds the port is open.
I think I have opened the port and initialized the shared use of the gsm serial communication well. :?
Check out that Sourcecode please:
The .DLL-file-project, which is written in C++ and opens/closes the port:
http://mcflown.net/eVC/XDAcom_func/
The visual basic project, which is for reading and writing operations, and user interface:
http://mcflown.net/eVB/XDAterm/
Greeting and sorry for the hopfully not thaaat bad englisch!
F. Wetzel[/url]
Hasn't really nobody any suggestions?
:?
Florian
Summary
Hi,
Just wanted to let you know that I will have alook and see what I can do
for you.
Have you got a break down of what you are trying to achieve
Click to expand...
Click to collapse
A summ ups are written in German, sorry!
But i will try to describe it briefly:
My prog recieves the messages of the cell broadcast channel 221 by a mobile
phone connected via any inteface. (Bluetooth, IrDA, RS-232)
In Germany this channel contents data about the position and sending
direction of the mobile (fix installed) stations. With some (or many) tricks
i'm able to determinate your own own position up to a 50 meters. (in best
case - depending on the number of installed stations)
This is drawn on a map.
The prog is running under PPC and PC, but the PC version is less
interesting, because the PPC is more portable.
Newerdays, the PPCs have a integrated GSM radio module, so that it should be
possible to recieve those CB-messages vie the internal modem.
By that the users of XDA/MDA/... in Germany would get an alternative to GPS
for navigation/orientation without buying new hardware!
Lateron this prog is perhaps compatible with Tomtom. - I'm checking how to
do it!
Greeting, and thanks in advance!
Florian
hey xda internal access
Hey man i must say i respect you , you have done great work !!!
I am currently working on xda2 as university project and i need to access internal modem of xda ... so might need ur help ... i would wanna help u too and i probly will ... just letting u know i'll try a bit on ur prob and get back to ya ...
any advice ou can give me to access the internal modem ??
great job ! talk soon
On the XDA2 it is working well until the line "AT command interpreter ready" is displayed on the terminal. After that common AT-commands like "AT+CBC" won't work any longer, and result with an "ERROR". Crying or Very sad
The line (and the errors as result) seems to apear after a few seconds the port is open.
I think I have opened the port and initialized the shared use of the gsm serial communication well. Confused
Check out that Sourcecode please:
Click to expand...
Click to collapse
after read your source, i think:
- set Sleep time between each other AT commands > 100ms for response time of GSM modem
- try to close the com port and re-open it before sending another AT-command.
- try to use only RIL port or COM2, don't open them and use them at the same time.
hey i read through the code its good but i dont see how u get "AT Interpreter Ready" in the VB app ... i looked hard !!! can anyone enlighten me ??
I guess "AT Interpreter Ready" is the answer from device.
AT Interpreter Ready is sent by device after radio resets itself. You should never see this reply.
ok - when i get "AT interpreter Ready" from my terminal it allows me to send an AT commands, so in a way i'm guessing that i should get it -
Indeed it happens when the GSM resets does anyone have more explanations on how it appears ???
i get "AT interpreter Ready", too.
Compile
Could someone compile the DLL and EXE and post them here in one zip? Would save me having to install Visual Studio !

KikkerDialer- a new dialer available for Magician (Freeware)

Hi all,
We just released a new dialer (freeware) which you can download from Handango. You can download from
http://www.handango.com/PlatformProductDetail.jsp?productId=152403
Features included in KikkerDialer are:
- The most advanced number dialing system which allows for entry by number panel or keyboard, editing, insertion, copy / paste, etc
- Intuitive and simple UI providing the main functions of a phone such as contacts, dial, access to special characters (e.g. the + sign for international dialing)
- A user interface for selecting contacts which mimicks the most intuitive methods for selecting contacts such as those used within standard mobile phones such as Nokia, Sony Ericsson, etc
- Synchronisation with contacts database (mobile, work, home)
- Extremely fast and responsive to use
- Access to the Windows Mobile clipboard for copy / paste
Feedback welcomed. Enjoy.
Kikker Interactive
I'm sorry, but I really don't see what is so special about this software. Maybe I have got it wrong, but I would say that D9 is better than this, and PhonePlus is much better. I don't want to scroll to the letter J every time I want to call my friend John, and so on.
Copy and paste is nice, but where is the T9 contact selection as in D) and PhonePlus, I think that is a great feature.
The fact that this diealer resembles old standard GSM phones is of no interest.
Sorry for only giving bad feedback, but then again, I might haven't found the cool features.
nteresting… just tried this
First comment - good to see another free dialer out there given what shipped with the jam.
ave only tried this for abt 15 minutes but like it very much so far. Is a lot faster than D9 (my only complaint with that software – I have ~ 1,000 contacts in my jam and the UI is v unresponsive). The thing I like with this new dialer too is the editable text field which seems to be missing on most other apps out there. The ability to edit a number before a call (e.g. insert +44 if not already in international prefix), insert a digit when you have entered incorrectly, etc is just what I was after. Would be nice to see call history in there too btw.
Intuitive and simple UI providing the main functions of a phone such as contacts, dial, access to special characters (e.g. the + sign for international dialing) --->Cool... :wink:
Crashed on my WWE Qtek S100 .. when I try to call ..
Carlis
Hi Carlis,
In the first few hours of release, the first installer required you to have OpenNETCF on your device. It seems not so many people have this so we fixed this issue and now you no longer need this on your device.
You should uninstall the KikkerDialer and run the the new installer file (now setup.exe - ~2MB), downloadable from the same location at Handango. Please give this a go and let us know if any probs - [email protected]
Best rgds,
Kikker Interactive
I'm surprised all of you think different than me, but I will give it another try, I guess. I still don't think it can compare with PhonePlus with all the features it has, but then again it's freware.
/T
Cant downlod the Setup.exe, it still downloads the setup.msi, is this the right version? I'm getting the same crash. Can someone post it here?
ZeroXtreme said:
Cant downlod the Setup.exe, it still downloads the setup.msi, is this the right version? I'm getting the same crash. Can someone post it here?
Click to expand...
Click to collapse
for me the download link does not work at all. Page cannot be displayed.
Well, I downloaded the MSI-file from handandgo. Now in can run on my T-Mobile MDA Compact but when I try to dial, it crashes:
KikkerDialer.exe
TypeLoadException
Failed to load type OpenNETCF.Notification.Led from OpenNETCF.Notification, Version=1.2.3346.0, Culture-neutral, PublicKey Token= 30C767B29D52D6E6
Can it be fixed? I wanted to test this application concerning tone dial (DTMF sending).
Anonymous said:
Hi Carlis,
In the first few hours of release, the first installer required you to have OpenNETCF on your device. It seems not so many people have this so we fixed this issue and now you no longer need this on your device.
You should uninstall the KikkerDialer and run the the new installer file (now setup.exe - ~2MB), downloadable from the same location at Handango. Please give this a go and let us know if any probs - [email protected]
Best rgds,
Kikker Interactive
Click to expand...
Click to collapse
Hi
Thank´s for the answer...
but .. hm .. its not an exe on the same location .. its still the MSI ..
Carlis
ZeroXtreme, 718 & Carlis - Our apologies - we actually meant to the setup.MSI - the file you see up there is the right one (it is not an .exe).
However, seems some of you are still getting a runtime issue on your devices. We suspect this is due to a missing DLL - but cannot replicate your issue right this moment. We've just received some more devices now tho and are retesting. Will post a response here shortly. Feel free to email us directly in the meantime.
Iggy - the handango site must have been having problems. You should try again.
Kikker Interactive
Beta testing - never easy. I'm having enough trouble and bugs beta testing Mobi Dial 2.5 right now, so I'll think I'll pass on this one. Someone let me know when there actually is a legit, ergonomically competent and STABLE replacement dialer out there.
OK thank you all for your patience.
Our new devices arrived and we were able to replicate the issue that some of you were having. This has now been solved with a new version of the setup.msi (now named setup_20050202.msi as Handango doesn't seem to allow overwriting).
You can either download the new app from Handango (http://www.handango.com/PlatformProductDetail.jsp?productId=152403) or we've also hosted it at http://69.20.6.190/KikkerDialer/setup_20050202.msi for your convenience.
If you don't want to go through the process of download + installing the 2MB file again, there is an easier way for those of you who already have the previous version installed. Please follow the steps here:
1. Quit the KikkerDialer
2. Download two dll's http://69.20.6.190/KikkerDialer/OpenNETCF.Notification.dll and http://69.20.6.190/KikkerDialer/OpenNETCF.Phone.dll
3. Copy both files to \Program Files\KikkerDialer on your device (or wherever you installed the dialer)
4. Restart the app
Any problems - please let us know. Again, apologies for the false start for some of you. From those who were not affected however, we had some v positive feedback and to repay all your efforts, will add some more features within the next few weeks
Kikker Interactive
Yes, with the dlls you provided the program starts okay. However, I failed to dial DTMF tones. Sometimes it is necessary to dial extention or enter a PIN-code. Such a pitty!
Exelent .. thx.. it now works on a Swedish WWE Qtek s100 without need of the extra dll´s ..
Only thing that is missing .. DTMF codes .. to use bank transactions and so..
When they ask for my account nr .. and I press the keys.. nothing happends..
And finaly .. how to replace the old dailer hardware keys.. Green and Red phone keys to be using Ur dailer.. it still actiavte the old one..
Best Regards Carlis
Hi - ok glad we got all the installer issues cleared up.
Yep - DTMF tones are not supported currently. As users of the software, here is what we do:
- Make the call using KikkerDialer
- When prompted to enter PIN (etc), press the green call button and the standard windows dialer will appear
- Type in your code using this interface
This works fine against all systems. Obviously not as intuitive. We are however, working on building in DTMF into our next release and have made some progress so far but won't ship till its ready. At the same time, we'll try to address the issue of how to bind KikkerDialer to the green call button.
Keep giving us your feedback in the meantime, v useful.
Best rgds,
Kikker Interactive
Would you manage dialing DTMF tones, you'll be great! But please note that the standard Windows dialer do not work correctly with the DTMF tones. There is something wrong with the duration of the tone, as I suppose. So with that dialer I often reach wrong extention or dial wrong number.
First of all thank you for the freeware.
in spite that, I dont think I would throw phoneplus away yet which serves my every needs.
But it is nice to see some developers trying to give some fight to proffesionals.
Thanks for all your comments. We're still working on getting a v1.0 out there shortly and the latest is good news. From the latest development version of the KikkerDialer, we now have full control of all the JAM buttons such as the direction pad middle button (to select contacts), the green dial button (to open the dialer and make calls), etc. This feature alone allows for complete one handed usage of the dialer (i.e. no stylus).
Now focus remains on adding:
- Call history
- Easier searching on contacts
- DTMF
This last, frequently requested, item is proving to be quite a challenge. We shall persist!
Best rgds,
Kikker Interactive

CellTracker Alternative

I don't know where else to post this....I found this while looking for an alternative to the SPV Developers CellTracker app. It's an app called NiceTrack...the screenshots tell the rest of the story:
http://www.nicecuppa.com/nicetrack.asp
Background info: http://www.ascendingangels.com/nicecuppa.com/nicetrack.asp?story=1
Screenshots: http://www.ascendingangels.com/nicecuppa.com/nicetrack.asp?story=2
Download: http://www.ascendingangels.com/nicecuppa.com/nicetrack.asp?story=3 (Version 1.2)
The source code for that app can also be downloaded from the Background Info link.
The SPV Developers CellTracker app (Beta version only, hasn't been updated since December) for PocketPCs is located at the way bottom of the page:
http://www.thelogster.34sp.com/celltracker/
NiceTrack updates the tower changes in real-time whereas CellTracker does not. NiceTrack also shows the dbm signal strength on a cool chart and it also includes a logging function that allows you to rename the cells your phone has connected to while the app is active.
Signal strength chart: http://www.ascendingangels.com/nicecuppa.com/images/nicetrack/main-page.gif
Here are a couple hints based on my experience so far:
1) In order to fully save the renamed/logged cell sites, you must first tap Save next to where you renamed the cell site. Then you must also tap Options/Menu --> Save (extreme lower left) to save all changes since the app was launched.
2) Use Menu --> Exit to completely close the app.
I have tested this for use on my MDA II w/Windows Mobile 2003. I don't know if the app is compatible with WM5 PPCs or regular Windows Mobile smartphones.
Enjoy
Thanks for posting.
This software has been discussed before, and it is great:
http://forum.xda-developers.com/viewtopic.php?t=3347&highlight=nicetrack
However, I believe people are having difficulty converting it to WM5 (when I last checked). But great stuff either way.
V
Hi there,
Sharpstuff (NiceTrack author) here..
I've just bought a T-Mobile MDA Vario and have managed to get it working on that ( WM2005 )
The problem was that in the older phones the GSM modem was on COM2 and on my Vario it's now COM9. I've made the Com port configurable now, but it's still not 100%.
You can download it from my site www.nicecuppa.net
Let me know how y'all get on.
Cheers
-sharpstuff
Good stuff sharpstuff Wish I had a gps!
V
sharpstuff said:
Hi there,
Sharpstuff (NiceTrack author) here..
I've just bought a T-Mobile MDA Vario and have managed to get it working on that ( WM2005 )
The problem was that in the older phones the GSM modem was on COM2 and on my Vario it's now COM9. I've made the Com port configurable now, but it's still not 100%.
You can download it from my site www.nicecuppa.net
Let me know how y'all get on.
Cheers
-sharpstuff
Click to expand...
Click to collapse
Sharpstuff, you have an excellent app here. I had to search for a bit to find it but in the end, I'm quite glad to have it . I also like the pun you have for your site...it's quite distinctive since even as a German-American, I know when someone says "cuppa", they normally mean the cup of tea .
Keep up the good work and thanks for taking the time to develop such a great and invaluable app .
oooh.. *bookmark*
Do you have a regular Donate button somewhere? I see the shop, but I'd rather just get X amount straight to you, and not have to be awoken by some crazy delivery guy at 8am for a mug
Thanks for the kind thought...
But, I enjoy doing this stuff, so just click my google ads and I'm happy!
;-)
Got this to work on my 8125, almost... Clicking on 'add' under events causes it to crash with the following error:
NiceTrack.exe
NullReferenceException
Application::Run+0xf
MainForm::Main+0xa
....bummer - so close!
You need to select an event type eg. "Flash backlight" then click "add"..
Needs some validation there.. Plus, the events side of things isn't very useful at the moment, I need to implement some more event types.
Cheers
I installed it on my qtek9100 but it doesn't find a GSM-modem at all.
Also a Qtek9100, EN - found it on COM9 just fine
What would be really neat would be an event "Show Picture". That way it would be easy to make a make-shift map tracking thing. Simply grab a picture of the map off the internet, plunge a big dot on the map where you got the cell, save as image, and have that image displayed when entering that cell %) GIF files on the storage card, shouldn't take up too much space
Alternatively a full-fledged mapping thing could be developed, but that's a lot more work *nod*
@sharpstuff hey I installed it on my XDA EXEC, but when it scans for com and reaches com9 it just freezes...any ideas?
Hi there,
I'm having some problems with the detection code, and general functionality on WM5.
I am looking into it and will post a new version up ASAP, sorry for the problems..
stop being sorry and add that donate button *keeps clicking google ads once a day but hopes google won't start ignoring his IP address for excessive clicking...*
N!co said:
I installed it on my qtek9100 but it doesn't find a GSM-modem at all.
Click to expand...
Click to collapse
After a soft reset its working fine on COM9. Nice app.!
sharpstuff said:
Hi there,
I'm having some problems with the detection code, and general functionality on WM5.
I am looking into it and will post a new version up ASAP, sorry for the problems..
Click to expand...
Click to collapse
So is Release 1.3b a partial fix for WM5 users? I installed it on my MDA II and it detects my modem on COM2 without any problems. Both 1.2 and 1.3 seem to work on WM2003 PPCs.
http://www.nicecuppa.net/
http://www.nicecuppa.com/download/NiceTrack_Release_1_3.zip
TIA
Yep, it's an intermediate release. Basically, it reminds the user on startup to set the Com port in settings
I'm working on v1.4 at present, this has more error checking on the GSM code, and multi-threaded com port detection so the whole app doesn't hang
For what it's worth - it seems to randomly lock up on me - requires an 'end task'. Sometimes when this happens, and I try to fire it back up again, I just get an empty message box dialog; no title, just the close button.
ZeBoxx said:
For what it's worth - it seems to randomly lock up on me - requires an 'end task'. Sometimes when this happens, and I try to fire it back up again, I just get an empty message box dialog; no title, just the close button.
Click to expand...
Click to collapse
I get that messagebox at random even after I closed the app and its not in the list of running programs. Strange...

CellID & Rxlev & GPS

The program updated. free to use ...
Hi all, I write a simple program for Telecom. Engineeger:
1) It can show CellID, Rxlev & LAC
2) base on the database (txt file), show cell site info.
3) GPS function
4) Open log file to record
The Log file format in :
Latidute,Longitude,CurrentTime,CellID,Rxlev
And you need to copy the files 2G.txt,3G.txt & site.txt to the root directory.
the text file at the main program directory ( eg. program file\fieldtestv1.2\).
Note:
Only test at my HTC P3600i phone, not sure for others ...
And sorry for my poor english ..
New Version ,It's surprised,But My PPC(model:O2 atom Life) Cell Id is Error。
Picture :
I have this error on my "Tornado" smartphone (WM 6.1).Why ?
By default, the program will read the files "2G.txt", "3G.txt", "site.txt" & "SiteNo.txt" when startup. so if you missing one of file , it will show the error message. you should create the 4 txt file to the root directory.
If you are a telecom engineer, you may entry the field data to each txt file or just create a empty file, it should be work !!!
that's a brilliant program.
btw what's the file format for the SiteNo.txt and is there a way to change the frequency of the log file to every minute or 30 seconds.
It would be great if you could do the site info match using the cellid ( CI ) and LAC. due to certain telco would recycle the cellid due to the 65536 limit.
Few more suggestion for the Log file.
1. Log file can be saved to storage card
2. BCCH info from the cells not from the txt file included in the log file
3. Logging frequency i.e 10 secs , 30 secs , 1 minute
4. LAC included in the log file
It is actually 8 to 10 db more when compared with an actual test tools.
bravo it's a good program.
Almost works, it crashes when i hit start or update, on my 8525 with ATT Wm6, files attached.
How do you read CELL ID ?
It is in the registry? where ?
could you show some code how to get cellid? which serial port to be opened?
On My HTC9000 PPC, I couldn't open COM2, No Com ports could be send AT
Cmd successfully
Some source code here ...
public static CELLINFO GetCellTowerInfo()
{
IntPtr res = IntPtr.Zero;
res = RIL_GetCellTowerInfo(hRil);
if ((System.Int32)res > 0)
{
rilCmd.CmdId = (System.Int32)res;
rilCmd.CmdType = RIL_CMD_TYPE.CELLTOWERINFO;
......................
.......................
if (!RIL.isInitialized)
RIL.Initialize();
RIL.CELLINFO CID = RIL.GetCellTowerInfo();
I have just started using this program as I am a telecommunications engineer.
I have emailed Frank for assistance and he has been most helpful.
The TXT files must be placed in the / directory - ie the "My Device" directory.
I have also noticed that if I use 2G or 3G mode on my phone, the program only looks in the 2G.txt file.
Try on my Hermes, on 3G band it shows only Cell ID, other failed, on 2G it shows MCC-MNC, Cell ID and LAC, but not signal level neither SC? Just reporting
Unsure why this is not receiving signal level, but the program does not yet have the functionality to extract BCCH/PSC.
All this program tries to match is the CellID - you need to have the BCCH/PSC in 2G.txt or 3G.txt
I am currently speaking with the developer to see if he wants some assistance to work on this program (i can test) - I am using a Touch Diamond
Thanks!
Dear Frank8080,
Thank you for your cellid sample program. I download and try it. This program run into my cht9100 very fine. I need one program to get cellid on wm6. Can you email your source code to me ? Thank you very much!
Does it work on wm2003 for my 818?
It does NOT work on O2 Atom, windows mobile 6 ...
hmmm... It crashed in my atom wm5.0.
Thanks for the bug reporting:
1) For the program can't read 2G or 3G txt, due to the program read the txt file base on the MNC(Network Code), so it seens that I need to add a setup page to fix the problem.
2) For can't decode the signal level (erwinpiero), I have tested on Dopod 838 Pro, it works ok. But I don't know why it's not work on your 838Pro.
3)For BCCH/PSC decoding, I still try ....
I am a mobile engineer in HongKong and the program just developed for my team use to perform the field measurement of the daily operation, so the most of function just base on the needs of my job. So if any other information you need, you may email to me, I will try to add the extra function to the program.
Hi frank, Top program, well done!! it's running on my TyTN II fine.
Could you post up some examples of how the 4 txt files should be built and a "few" examples of the info they should contain.
Also I see you're using RIL ... does your program update the CellID etc whilst the phone is "In Call". I have used CellTrack before and once "in call" the phone never updates apart from the RX level.
Thanks!!
Phil
Hi,
I haven't tried this sw, but I will do it soon (as soon as I have a PDA).
Just wondering if is possible to select what variables should be on the log (e.g.: active set, the cells that are being measured)...
thanks

Cell id Command line

Hi All,
Is there a tool which can get Cell id and LAC from command line for it to be used by other apps
Say I have script (mortscript)
Then I can call <Cellid APP> and get Cellid location where the device is
Then take action based on the Cell id.
Idea is to track the phone and let the owner know where all the phone on a web page.
I go from HOME -> LOC1 -> LOC2 ->Office (everyday)
Incase phone shows a path HOME -> LOC1 -> LOCX -> <UNKNOWN> .. the send a TEXT(SMS)/update page etc ... to alert the users.
Kind of way to make your phone secure.
Any suggestion if it can be done with any exiting tools and mortscript etc ...
http://www.xs4all.nl/~itsme/projects/xda/tools.html
has something called riltest ...
riltest - dumps all kinds of info from the phone via ril
But the zip files does not have this file... Could any one let me know if this file is available any where else.
Ok Got a riltest from Another forum which does similar ... ALMOST....
what it can do is dump all to a LOG file ... I am using a Mortscript
1. Run the app
2. make app to dump logs
3. get the details from the file.
4. close the app.
Now loop this for with a sleep ...
But still looking for better way.. Attached is the file for anyone who is looking for similar stuff.
Hi,
I too was looking for something in this line and ended up writing it myself.
Props to this chap for the code to get me started:
http://dalelane.co.uk/blog/?p=241
Basically you call 'RilCmdLine.exe' with a parameter indicating what field you want. It returns the field as an int to MortScript (I think you need MortScript 4.3b1 or above?).
Supports LAC, Country Code and Cell Tower ID.
The zip includes a test mortscript - you may just need to edit the path to RilCmdLine.exe
(Source code on request. I may even support it )
Hope this helps!
onion
Hi
Thanks for the exe file. However I am unable to see any result when I run the exe/mscr on my mobile (HTC 3300 WM6). I did edit the path also executed from cmd line on mobile.
Also Mortscript RunWait and Run will not return any results as per the Mortscript doc. So the result has to be redirected to a file.
Could you please check and let me know if the exe is required to be executed with different parameters.
Thanks
What version of Mortscript are you running?
I had to upgrade to 4.3b2 to get the return code from the exe.
Get it here
http://www.sto-helit.de/index.php?module=download&action=view&entry=125
In the notes for b1 mentioned the return code functionality being added.
Hope this sorts it for you
Perfect !! Thats works perfectly ... I updated to MortScript you have suggested.
Excellent Work !! ... Really good. Thanks man
Will it be possible that if I don't pass any Command line parameter ... Can I get all the values... Like CELL ID, LAC etc ..
Glad you like it
Unfortunately you can get all the values at once (at the minute you can only return numbers from the exe, so there is no way to separate them).
My original idea is something along what you suggest - if I get that working I will post a new exe up here.
Thanks
Thanks onionfx! This is just what I was looking for as well. Trying to do something similar to what wishme said. ;-) The common profile switchers out there are not very useful to me because I'm more of in a rural area, and cell towers are farther apart, so my home and work cellid overlap sometimes, so I want to also take into account signal strength to see if I can fine tune it better. Will probably use Mortscript since it's the only thing I've learnt to code with for Windows Mobile.
I'm bookmarking this page to see if you eventually get the prog to output all in one line (and reduce the CPU churn of calling the same prog several times).
BTW, how about also returning nearby cells in order of signal strength? That would be awesome to fine-tune your location even more!
Good work!
Cesar
Doing some thinking about this
I can't see any way of returning all the values at once.
The C code can only return an int in the range -2,147,483,648 to 2,147,483,647 and my CellID and LAC are 5 digits each so if they ever started with a digit greater than 2 I couldn't return it.
The 2 best options I think are writing another exe that dumps the data either to a file, or to the registry in a similar way as riltest above, but without the UI part.
Then write a script that could be included, and which has nice subs to access each parameter (or you are free to write your own script calls to do this).
I'm tending to the file as I imagine reading from the registry is a bit slower than reading the file (in one go and storing all the params as variables)?
Also I can do less damage if I use a dedicated file!
Anybody got any better ideas, or has a good reason to use the registry?
Goodnight
Are we talking about GSM signal strength
REGISTRY entry: HKLM\System\State\Phone\Signal Strength (DWORD value)
More here: http://wiki.modaco.com/index.php/Windows_Mobile_5_Registry_Tweaks
Also is it possible to get all other the cellids at any point not the one phone is connected to ? I have not see any app providing this info.
Except for Google maps on mobile (without GPS) it uses triangulation technique to get the Latitude and longitude of a location with all cell id locations available. for this method to work we requires atleast 3 cell id.
Does RILCELLTOWERINFO gives details about other towers also ?
I wonder what the requirements are for the command line tool?
It locks up when I run it on my MotoQ smartphone.
onionfx said:
Supports LAC, Country Code and Cell Tower ID.
The zip includes a test mortscript - you may just need to edit the path to RilCmdLine.exe
(Source code on request. I may even support it )
Click to expand...
Click to collapse
I can't get this to work. I get "-1" for all 3 values. Anyone offer any reasoning as to why this may be? I believe my ROM includes .Net framwork, but I'm not sure how to check.
Thanks
onionfx said:
Basically you call 'RilCmdLine.exe' with a parameter indicating what field you want. It returns the field as an int to MortScript (I think you need MortScript 4.3b1 or above?).
Supports LAC, Country Code and Cell Tower ID.
The zip includes a test mortscript - you may just need to edit the path to RilCmdLine.exe
(Source code on request. I may even support it )
Hope this helps!
onion
Click to expand...
Click to collapse
Excellent work! Thank you!
Thanks onionfx for your contribution. I might need it for a use similar to the one described by wishme.

Categories

Resources