×

Discussion Board

Results 1 to 10 of 10
  1. #1
    Registered User
    Join Date
    Dec 2007
    Posts
    8

    NMR with python??

    Hi to everybody,

    I am trying to get NMR (network measurement result) with the handset. I asked myself if it would be possible with python.

    Anybody can help me?

    Thanks in advance!

    Sebastian.

  2. #2
    Regular Contributor
    Join Date
    Jan 2004
    Location
    Helsinki
    Posts
    376

    Smile Re: NMR with python??

    Quote Originally Posted by scastillop11178 View Post
    Hi to everybody,

    I am trying to get NMR (network measurement result) with the handset. I asked myself if it would be possible with python.

    Anybody can help me?

    Thanks in advance!

    Sebastian.
    I am not sure what's NMR, but it's possible to get network signal strength in Python Probably more detailed information is available, but you need to write Python extension in C++ for that.
    Mikko Ohtamaa

    http://mfabrik.com
    http://blog.mfabrik.com

  3. #3
    Registered User
    Join Date
    Jul 2008
    Posts
    25

    Re: NMR with python??

    hi someone know if i can get signal strength information with python??but not only from the base station that provide the service i need information about the base stations aroun the mobile for a location project...
    thanks

  4. #4
    Nokia Developer Moderator
    Join Date
    May 2007
    Location
    21.46 N 72.11 E
    Posts
    3,777

    Re: NMR with python??

    Quote Originally Posted by alexis_ypy View Post
    hi someone know if i can get signal strength information with python??but not only from the base station that provide the service i need information about the base stations aroun the mobile for a location project...
    thanks
    You can use Sysagent extension :

    Code:
    from sysagent import *
    from esysagent import *
    
      status = network_status()
    # For Checking network Status
     
     if status == ESANetworkStrengthNone:
      text="Network strength none"
     
     elif status == ESANetworkStrengthLow:
      text="Network strength low"
     
     elif status == ESANetworkStrengthMedium:
      text="Network strength medium"
     
     elif status == ESANetworkStrengthHigh:
      text="Network strength high"
     
     elif status == ESANetworkStrengthUnknown:
      text="Network strength unknown"
     
     app.body.add(u'%s\n'%text)
    # Prints network Status
    Links :

    Sysagent
    esysagent

    Best Regards,
    Croozeus
    Last edited by croozeus; 2008-08-25 at 20:11. Reason: Added links
    Pankaj Nathani
    www.croozeus.com

  5. #5
    Registered User
    Join Date
    Jul 2008
    Posts
    25

    Re: NMR with python??

    thanks...but with this extension i can get information from the base stations neighborhood?? because i need at least 3.
    Last edited by alexis_ypy; 2008-08-25 at 21:05.

  6. #6
    Nokia Developer Moderator
    Join Date
    May 2007
    Location
    21.46 N 72.11 E
    Posts
    3,777

    Re: NMR with python??

    Quote Originally Posted by alexis_ypy View Post
    thanks...but with this extension i can get information from the base stations neighborhood?? because i need at least 3.
    I am not sure if the Network Stats represent the value of the strongest Base Station or the value of overall base stations that currently serve you.

    But there is no means you can separate these values.

    Best Regards,
    Croozeus
    Pankaj Nathani
    www.croozeus.com

  7. #7
    Registered User
    Join Date
    Jul 2008
    Posts
    25

    Re: NMR with python??

    ok, but do you know a way to get this information from the phone (signal strength from the base stations neighborhood), maybe with sysinfo or with another code...??

  8. #8
    Nokia Developer Moderator
    Join Date
    May 2007
    Location
    21.46 N 72.11 E
    Posts
    3,777

    Re: NMR with python??

    Quote Originally Posted by alexis_ypy View Post
    ok, but do you know a way to get this information from the phone (signal strength from the base stations neighborhood), maybe with sysinfo or with another code...??
    The only way to get network information is according to my previous post.

    You can use the example I have provided to check whether it is the information that you need or not.

    Best Regards,
    Croozeus
    Pankaj Nathani
    www.croozeus.com

  9. #9
    Registered User
    Join Date
    Jul 2008
    Posts
    25

    Re: NMR with python??

    ok, thanks for your help...

  10. #10
    Super Contributor
    Join Date
    Mar 2003
    Location
    Espoo, Finland
    Posts
    976

    Re: NMR with python??

    Quote Originally Posted by croozeus View Post
    I am not sure if the Network Stats represent the value of the strongest Base Station or the value of overall base stations that currently serve you.
    The value is from that base station which the phone is connected to. It's not necessarily the strongest, there is logic following changes in signal strenghts and deciding when to switch and to which one.

    As far as I recall pys60 manual, it is NOT possible to get those values from any other base station, except the one you're connected to. I know it can be done with C++, but I'm not sure, if those APIs are public.

    Besides, the values you get from sysagent are so vague, they might as well be average of all surrounding base stations.. Doesn't help much, when trying to locate device position without GPS

    Sorry,

    --jouni

Similar Threads

  1. Please help installing Python libraries on S60
    By ericroijen in forum Symbian
    Replies: 11
    Last Post: 2009-07-18, 10:43
  2. [announce] PyUIQ. Python for UIQ 2.1 and 3.x
    By OscarBernabeu in forum Symbian
    Replies: 35
    Last Post: 2008-01-17, 09:12
  3. Replies: 1
    Last Post: 2008-01-08, 09:58
  4. Replies: 11
    Last Post: 2007-10-03, 19:46
  5. Replies: 3
    Last Post: 2007-03-13, 06:50

Posting Permissions

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