×

Discussion Board

Results 1 to 15 of 15
  1. #1
    Registered User
    Join Date
    Jan 2005
    Posts
    7

    CellID not working on s60v3

    Hi

    When I read the "loc" variable in Python Script Shell it returns the correct cellID values. But when I read the values from "/mod_python/py/raccoonloc.py/getLoc" in a webbrowser it returns (0,0,0,0) all the time.

    Python and the three .usis files are all signed with valid certificates and everything seems to work besides from the cellID values.

    I'm using Raccoon version 0.9.2 and Python 1.3.23 on a Nokia e65.

    What can I do to make it work with the correct cellID values?

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

    Re: CellID not working on s60v3

    Quote Originally Posted by larshove1
    What can I do to make it work with the correct cellID values?
    What is shown when you browse to
    http://your-url.at.openlaboratory.net/mod_python/psp/location.psp?

    Johan

  3. #3
    Registered User
    Join Date
    Jan 2005
    Posts
    7

    Re: CellID not working on s60v3

    Quote Originally Posted by jhnwkmn
    What is shown when you browse to
    http://your-url.at.openlaboratory.net/mod_python/psp/location.psp?

    Johan
    Hi Johan. The following is shown:

    Code:
    <?xml version="1.0" encoding="UTF-8" ?> 
    - <response>
      <lat /> 
      <lon /> 
      <speed /> 
      <course /> 
      <mcc>0</mcc> 
      <mnc>0</mnc> 
      <lac>0</lac> 
      <ci>0</ci> 
      <id>raccoonloc_s60v3.0</id> 
      <battery_level>100</battery_level> 
      <signal_strength>7</signal_strength> 
      <profile>general</profile> 
      <calendar>free</calendar> 
      </response>

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

    Re: CellID not working on s60v3

    That seems to be the output of the raccoonloc.py script. I meant the output of the location demo that is included among the Raccoon concept demos.

    Johan

  5. #5
    Registered User
    Join Date
    Jan 2005
    Posts
    7

    Re: CellID not working on s60v3

    Quote Originally Posted by jhnwkmn
    That seems to be the output of the raccoonloc.py script. I meant the output of the location demo that is included among the Raccoon concept demos.

    Johan
    It says:

    My Location (mcc, mnc, lac, cell) is: None

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

    Re: CellID not working on s60v3

    Quote Originally Posted by larshove1
    My Location (mcc, mnc, lac, cell) is: None
    Hmm, that's the behavior you get if the application does not have enough capabilities.

    I don't mean to patronize, but you are absolutely certain you have signed Raccoon with a developer certificate and that you've installed the developer certificate signed binaries?

    Johan

  7. #7
    Registered User
    Join Date
    Jan 2005
    Posts
    7

    Re: CellID not working on s60v3

    Quote Originally Posted by jhnwkmn
    Hmm, that's the behavior you get if the application does not have enough capabilities.

    I don't mean to patronize, but you are absolutely certain you have signed Raccoon with a developer certificate and that you've installed the developer certificate signed binaries?

    Johan
    Yes, I'm absolutely certain. I've signed a lot of apps before with my dev certificate without any problems. I've just tried the whole process again (create new certificate, signing all 3 unsigned dev files + python) and install them on phone. Installed the s60v3 raccoonloc.py file. But still the same problem.

    Actually, the first time I tried when I've just installed Raccoon for the first time - it worked for about 5 minutes. Strange...

  8. #8
    Registered User
    Join Date
    Jan 2005
    Posts
    7

    Re: CellID not working on s60v3

    Btw. everything else is working on the concept demos page.

    I've just tried to remove webcontent, httpdconf and Raccoon. Boot the phone. Sign them again and install them, but still the same...

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

    Re: CellID not working on s60v3

    Quote Originally Posted by larshove1
    I've just tried to remove webcontent, httpdconf and Raccoon. Boot the phone. Sign them again and install them, but still the same...
    Then I'm at loss what the problem could be. Especially this
    Actually, the first time I tried when I've just installed Raccoon for the first time - it worked for about 5 minutes.
    doesn't make any sense. Capabilities are assigned when the software is built and don't change over time, so what has been possible once should remain so.

    Johan

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

    Re: CellID not working on s60v3

    Hi,

    The raccoonloc.py script fetches the cell id like this:

    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)
    Since your XML reply had all mcc, mnc, lac and ci values as 0 it seems
    the the script didn't get the reply from the location.gsm_location() call.
    Since you have a valid certificate then there must be something strange
    going on with the phone. As an extreme effort you might flash the phone
    with the newest SW. That might help or not...

    --Timo

  11. #11
    Registered User
    Join Date
    Jan 2005
    Posts
    7

    Re: CellID not working on s60v3

    Quote Originally Posted by talakosk
    Hi,

    The raccoonloc.py script fetches the cell id like this:

    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)
    Since your XML reply had all mcc, mnc, lac and ci values as 0 it seems
    the the script didn't get the reply from the location.gsm_location() call.
    Since you have a valid certificate then there must be something strange
    going on with the phone. As an extreme effort you might flash the phone
    with the newest SW. That might help or not...

    --Timo
    Hi Timo

    Thank you for your answer. I already got the latest firmware and tried everything possible without luck. So for now I'm going to give up :-(

  12. #12
    Registered User
    Join Date
    Jan 2005
    Posts
    7

    Re: CellID not working on s60v3

    I found the problem.

    The dev cert requires an ACS publisher ID which is not included with the free dev cert. The ACS publisher ID costs 350$/year.

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

    Re: CellID not working on s60v3

    Quote Originally Posted by larshove1
    The dev cert requires an ACS publisher ID which is not included with the free dev cert. The ACS publisher ID costs 350$/year.
    My understanding is that the Symbian Developer Certificate does not need ACS publisher ID. You can get the Developer certificate and sign applications with it. But with the limitation that the signed application only works on your own phone.

    (With ACS id you could sign application and then distribute it for everyone to use).

    With these instruction I managed to get the Raccoon working on my N80:
    http://raccoon.openlaboratory.net/Ra...up_devcert.php

    --Timo

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

    Re: CellID not working on s60v3

    I agree to Timo. Signing with the Symbian Developer Certificate works on your own phone only and is time limited (6 months if I remember correctly, but it is definitely free.

    -ueffchen

  15. #15
    Super Contributor
    Join Date
    Dec 2004
    Posts
    643

    Re: CellID not working on s60v3

    Quote Originally Posted by talakosk
    My understanding is that the Symbian Developer Certificate does not need ACS publisher ID. You can get the Developer certificate and sign applications with it. But with the limitation that the signed application only works on your own phone.

    (With ACS id you could sign application and then distribute it for everyone to use).
    Not quite so.

    There are different kinds of devcerts. If you don't have an ACS Publisher ID you can get only the free devcert that works on one device. If you have an ACS Publisher ID you can attach more devices to the devcert and get access to manufacturer capabilities, but even then you still can't sign code yourself that would work on all phones and would have more than user-grantable capabilities. That always requires submitting your application to Symbian Signed testing.
    With these instruction I managed to get the Raccoon working on my N80:
    http://raccoon.openlaboratory.net/Ra...up_devcert.php
    --Timo
    Note that the officially signed 1.4.0 package is directly usable, with no resigning.

Similar Threads

  1. ESmsDeliveryImmediately not working in S60v3
    By lenclud in forum Symbian
    Replies: 2
    Last Post: 2006-11-08, 09:09
  2. Replies: 2
    Last Post: 2006-03-11, 09:29
  3. sendRedirect not working
    By nicole_yap in forum Mobile Java General
    Replies: 0
    Last Post: 2005-09-16, 03:35
  4. 7650 / BlueUSB Bluetooth USB dongle / PC-suite not working!
    By mahaikol in forum Bluetooth Technology
    Replies: 7
    Last Post: 2002-12-28, 06:47

Posting Permissions

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