×

Discussion Board

Results 1 to 8 of 8
  1. #1
    Registered User
    Join Date
    May 2007
    Posts
    39

    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)
    with
    Code:
    def readLocation(self) :
    			(mcc, mnc, lac, cellid) = location.gsm_location()
    			(self.mcc, self.mnc, self.lac, self.cellid) = location.gsm_location()
    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

  2. #2
    Nokia Developer Expert
    Join Date
    Mar 2003
    Posts
    457

    Re: RaccoonOnMap -what to change in raccoonloc.py and how to sign?

    Quote Originally Posted by ueffchen
    Is that ok or should I have kept parts of the old code?
    Actually, the original code you had should work fine as well.
    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?
    Or then you can invoke signsis like
    Code:
    signsis raccoon_0_9_2_3rdEd_devcert.usis raccoon_0_9_2_3rdEd_devcert.sis certificate keyfile passphrase
    And then sign "PythonForS60_1_3_21_3rdEd_unsigned_freedevcert.sis"?
    Install both on the handset and it should work?
    Yes, it should.

    One final question: why is it not possible to simply sign the complete Raccoon/Python package?
    Because the bundled file is a composite SIS that contains embedded SIS-files, and it's the embedded SIS-files that need signing.

    Johan

  3. #3
    Registered User
    Join Date
    Oct 2004
    Posts
    30

    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 c:/Data/apache/logs/error.log

    Or you can ask it also here

    --Timo

  4. #4
    Registered User
    Join Date
    May 2007
    Posts
    39

    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

  5. #5
    Registered User
    Join Date
    Oct 2004
    Posts
    30

    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

  6. #6
    Registered User
    Join Date
    May 2007
    Posts
    39

    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

  7. #7
    Registered User
    Join Date
    Oct 2004
    Posts
    30

    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

  8. #8
    Registered User
    Join Date
    May 2007
    Posts
    39

    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

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×