| Reply | « Previous Thread | Next Thread » |
|
Hello Forum,
does anyone tryed the elocation module from Christophe Berger? URL: http://www-rp.lip6.fr/~berger/pys60extensions.html I used to play arround with it on Nokia N73. I noticed that the call Code:
elocation.gsm_location() But in the more valuable call Code:
elocation.extended_gsm_location I'm particular intrested in the "NetworkStatus"-Value. But this does not seem to work, stating always "None". ![]() And, the "CellID" here is also "None". Does someone has similar experiences on other mobile phone types (e.g. 2nd Edition)? Does anyone has an approach to receive the network status? (I wanna know if the current cell the phone is seeing is a cell my sim is allowed to log in to or not.)Thx novis |
|
Quote:
Elocation module is for 3rd edition devices and has not been ported to 2nd edition as yet! Will be trying that module soon on a 3rd edition device. Anyway have you done this?? Quote:
Hope that helps Best Regards croozeus |
|
Thx croozeus,
The elocation-library as well as my pys script shell is signed with all 13 possible capabilities. (LocalServices, Location, NetworkServices, PowerMgmt, ProtServ, ReadDeviceData, ReadUserData, SurroundingsDD, SwEvent, TrustedUI, UserEnvironment, WriteDeviceData, WriteUserData) I tested the elocation library on N73. This is what I got: Quote:
![]() Best Regards novis
Last edited by novis : 2007-11-14 at 09:06.
|
|
Hi,
Sorry I don't read the discussion board very often. Well, did you compile the module yourself ? Or wWhat version did you install ? (http://www-rp.lip6.fr/~berger/pys60_exts/) The page http://www.forum.nokia.com/devices/N73 says : Code:
Developer Platform: S60 3rd Edition (initial release) On my N95 with elocation I get : Quote:
Christophe Berger |
|
Hello bergerc,
I used the link "compiled version for 3rd Ed phones with PyS60 1.4.0" from http://www-rp.lip6.fr/~berger/pys60extensions.html, which is the "elocation-PyS60_1_4_0_3rdEd_unsigned.SIS", which I signed with my devcert. I got the same result on an E60. Here also only the function Code:
elocation.gsm_location() ![]() |
|
Hi, I made a new build for PyS60 1.4.1, could you try it ?
Thanks for your feedback It's strange... Christophe Berger |
|
hi bergerc,
the version 0.02(3) looks very promising on N73 and E60. This is what I got from the N73 running Python 1.4.0 final: Code:
>>> elocation.extended_gsm_location()
{'NetworkId': u'01', 'DisplayTag': u'T-Mobile D', 'NetworkMode': 'WCDMA', 'Netwo
rkStatus': 'Current', 'CountryCode': u'262', 'AreaKnown': 1, 'AreaCode': 43231,
'NetworkAccessTechnology': 'Unknown', 'LongName': u'T-Mobile D', 'ShortName': u'
T-Mob', 'CellId': 2342763}
very very nice ![]() I'll apply your module to my application. Just two questions left: 1. What does the 'AreaKnown'-value stands for? 2. During an active call and during manual network search the returned value is this: Code:
>>> elocation.extended_gsm_location()
{}
Many Thx novis |
|
Quote:
Quote:
Quote:
I always test AreaKnown with something like dict.get('AreaKnown', False) Regards, Christophe Berger |
|
ok,
Could it be possible to give back a dictionary during an active voice call. Cause just from looking at the dictionary there is no difference between network search (no connection to network) and a voice call (connection to network). Thx novis |
|
Quote:
Please look at the following file to see why it appens : Source repository: elocation/elocation.py To get the raw data you can use: Code:
import _elocation as elocation Regards, Christophe Berger |
|
Please help:
When I called elocation.gsm_location(), nothing is returned. Could someone please let me know what possibly went wrong. Thanks! Yi |
|
Hi,
Quote:
What PyS60 version do you use ? I didn't take the time to compile this module for the latest PyS60 version, if you run it it won't work. I will do it tonight, built version will be available soon (it's running in a virtual env. it's long to compile). Else, if versions are matching and everything has been signed (did you sign it?), is the phone online, fixed on a network ? No other idea at this time... Christophe Berger |
|
Quote:
Quote:
Quote:
Yi |
|
Quote:
Quote:
import _elocation then you get access to the un-filtered output : _elocation.gsm_location() or : _elocation.extended_gsm_location() what's the output ? the signature went good ? because I did use a protected UID (I'll change this soon) Christophe Berger |
|
It's my fault.
For a python script I have to store the output into a variable and then print it. Otherwise it only worked for interactive console. Problem solved. Thanks a lot Bergerc! |
| Reply | « Previous Thread | Next Thread » |
| Thread Tools | Search this Thread |
|---|---|
| Rate This Thread | |