RaccoonOnMap -what to change in raccoonloc.py and how to sign?
Hi
first of all, I have replaced in raccoonloc.py
[CODE] def readLocation(self) :
loc = location.gsm_location()
if (loc is not None):
(self.mcc, self.mnc, self.lac, self.cellid) = loc
else:
# 3rd Ed. S60 phone return None without certificate
(self.mcc, self.mnc, self.lac, self.cellid) = (0, 0, 0, 0)[/CODE]
with
[CODE]def readLocation(self) :
(mcc, mnc, lac, cellid) = location.gsm_location()
(self.mcc, self.mnc, self.lac, self.cellid) = location.gsm_location()[/CODE]
Is that ok or should I have kept parts of the old code?
Next, I have downloaded "raccoon_0_9_2_3rdEd_devcert.zip" and unpacked from that "raccoon_0_9_2_3rdEd_devcert.usis". I assume I should rename that to *.sis and sign?
And then sign "PythonForS60_1_3_21_3rdEd_unsigned_freedevcert.sis"?
Install both on the handset and it should work?
I thought I did so, but maybe something went wrong or is something wrong in my above procedure? Thx to let me know...
One final question: why is it not possible to simply sign the complete Raccoon/Python package?
Thx, Ueffchen
Re: RaccoonOnMap -what to change in raccoonloc.py and how to sign?
[QUOTE=ueffchen]
Is that ok or should I have kept parts of the old code?
[/QUOTE]
Actually, the original code you had should work fine as well.
[Quote]
Next, I have downloaded "raccoon_0_9_2_3rdEd_devcert.zip" and unpacked from that "raccoon_0_9_2_3rdEd_devcert.usis". I assume I should rename that to *.sis and sign?
[/Quote]
Or then you can invoke [I]signsis[/I] like
[code]
signsis raccoon_0_9_2_3rdEd_devcert.usis raccoon_0_9_2_3rdEd_devcert.sis [I]certificate[/I] [I]keyfile[/I] [I]passphrase[/I]
[/code]
[quote]
And then sign "PythonForS60_1_3_21_3rdEd_unsigned_freedevcert.sis"?
Install both on the handset and it should work?
[/quote]
Yes, it should.
[Quote]
One final question: why is it not possible to simply sign the complete Raccoon/Python package?
[/Quote]
Because the bundled file is a composite SIS that contains embedded SIS-files, and it's the embedded SIS-files that need signing.
Johan
Re: RaccoonOnMap -what to change in raccoonloc.py and how to sign?
Hi,
If you want to modify raccoonloc.py (or made your own script) and there seem to something wrong, you can take a look of the Apache error log file in the mobile phone. It usually is in [font=courier]c:/Data/apache/logs/error.log[/font]
Or you can ask it also here :)
--Timo
Re: RaccoonOnMap -what to change in raccoonloc.py and how to sign?
Hi Timo
raccoonloc.py does work now, so I don't need to change that.
The issue I have now is more Cell ID related (see my new post to that).
The Cell ID does not reflect my right position. Either the ID is wrong (whatever this means) or your server translates it wrong.
Any idea?
Rgds, Uwe
Re: RaccoonOnMap -what to change in raccoonloc.py and how to sign?
Hi,
please take a look of my answer in the other thread.
Btw. I just checked. In the whole Germany the database currently has location info of 16 cells... I found two of them, in München :)
--Timo
Re: RaccoonOnMap -what to change in raccoonloc.py and how to sign?
Hi Timo
I was wondering about that point already - I could not imagine how you could get access to cell ID data, as this is typically ownership of the operators.
I can collect some more cell ID data in Germany, especially in my region, or gather data from German websites - some guys have done a lot of work. If you can put that in your database, I'd try go summarize that. Could you let me know which format you need to get the data in? PM is ok, if you want to mail an attachment.
Thx, Ueffchen
Re: RaccoonOnMap -what to change in raccoonloc.py and how to sign?
Hi,
contributions to cell database are very welcome! I'm using mysql
but basically any format goes. The "raw" material would be the best,
i.e. the cell id info (mnc, mcc, lac & cell id) with GPS coordinates (lat, lon)
so I can then calculate the cell approximations from the raw data. RaccoonOnMap
will additionally collect time and signal strength although they are not currently used.
I will contant you via email so we can discuss more.
--Timo
Re: RaccoonOnMap -what to change in raccoonloc.py and how to sign?
Timo
please do so. If you can, attach a sample format (preferably raw).
Thx, Uwe