I have the same problem with all the necessary scriptshell features: "PowerMgmnt", " ReadDeviceData strong>", "WriteDeviceData", "TrustedUI", "ProtServ", "SwEvent", "Network Services", LocalServices', 'ReadUserData' , 'WriteUserData', ' Location ', 'SurroundingsDD', 'UserEnviroment'.
Let's take a look at the source code from PythonForS60/module-repo/dev-modules/location.py :
import e32 import _location def gsm_location(): if e32.s60_version_info>=(3,0): ret = _location.gsm_location() if ret[4]==1:
On my Nokia E71 e32.s60_version_info == (3,1) , and I get the value None .
I really don't know what βnot relevantβ means, but a direct call
>>> import _location >>> _location.gsm_location() (u'257', u'01', 555, 11, 0)
returns something close to my objective reality.
source share