Discussion Board

Results 1 to 8 of 8
  1. #1
    Registered User
    Join Date
    Feb 2005
    Location
    Belgium (Europe)
    Posts
    1,352

    [announce] sysagent module

    hello,

    I'm publishing another module for your favorite py_S60 !
    I used the source code http://www.control.aau.dk/~wilken/CallStatus.zip from Aalborg and add all functions from sacls.h (Thanks for the IDEA !)
    Now you can test if your SIM is ok , phone is connected to charger , current call status , inbox is empty , outbox is empty , your battery status ...
    More explanations in test_sysagent.py ...

    sysagent V1.11 infos on sysagent
    http://cyke64.googlepages.com/SYSAGENT.PYD
    esysagent.py constant values from original sacls.h
    http://cyke64.googlepages.com/esysagent.py

    test_sysagent.py Complete exemple script for testing sysagent module
    http://cyke64.googlepages.com/test_sysagent.py
    pys60 1.4.5 and 2.0.0, pygame, PyS60 CE on E90 and 5800 !

    Find my pys60 extension modules on cyke64.googlepages.com

  2. #2
    Registered User
    Join Date
    Dec 2006
    Posts
    16

    Re: [announce] sysagent module

    Hi Cyk64,

    Thanks for your very usefull work !

    Is there a way to have the 3rd version sysagent.sis file to install on my 5500 ?

    Thanks,
    V.

  3. #3
    Super Contributor
    Join Date
    May 2006
    Location
    Oulu, Finland
    Posts
    622

    Re: [announce] sysagent module

    Hi cyke64 and thanks for a great new module

    Does it require any special capabilities?

    To vp, use ensymble. Create the following folder architecture:

    Code:
    sysagent:
           |
           + -- resource
           |        |
           |        + -- esysagent.py
           |        
           + -- sys
                 |
                 + -- bin
                       |
                       + -- SYSAGENT.PYD

    Then go to the folder where you have sysagent folder and:
    Code:
    ...\>python ensymble.py simplesis sysagent
    LFD
    Devices:
    Nokia E61 3rd Edition - pys60 1.4.0

    Tips and modules:
    http://www.lfdm.net/thesis

  4. #4
    Super Contributor
    Join Date
    Mar 2003
    Posts
    580

    Re: [announce] sysagent module

    This is avery interesting module, since it potentially allows getting rid of an historical Symbian bug: the "outbox stuck"!

    I found that on several symbian versions (both Series60 and UIQ) there is a weird bug, which prevents phones from properly sending SMS: if SMS sending fails, it's put in outbox... and it remains there FOR EVER, unless you reboot your phone, or put it in flight mode and back to online mode!!!

    Did anybody of you experience this bug?

    I'll try to write those few lines of code which allow detecting SMSs in outbox and to play a sound; but adding to sysagent the capability to reattempt sending would be cool.

  5. #5
    Registered User
    Join Date
    Feb 2005
    Location
    Belgium (Europe)
    Posts
    1,352

    Re: [announce] sysagent module

    Quote Originally Posted by cassioli View Post
    This is avery interesting module, since it potentially allows getting rid of an historical Symbian bug: the "outbox stuck"!

    I found that on several symbian versions (both Series60 and UIQ) there is a weird bug, which prevents phones from properly sending SMS: if SMS sending fails, it's put in outbox... and it remains there FOR EVER, unless you reboot your phone, or put it in flight mode and back to online mode!!!

    Did anybody of you experience this bug?

    I'll try to write those few lines of code which allow detecting SMSs in outbox and to play a sound; but adding to sysagent the capability to reattempt sending would be cool.
    Hello Casioli

    What about a new version of Jython on UIQ ?

    You're lucky because this week I'll release a new version of sysagent and now I succeed to run it with 3rd
    I'll see if I could add this requirement about SMS resending ...

    BR
    Cyke64
    pys60 1.4.5 and 2.0.0, pygame, PyS60 CE on E90 and 5800 !

    Find my pys60 extension modules on cyke64.googlepages.com

  6. #6
    Super Contributor
    Join Date
    Mar 2003
    Posts
    580

    Re: [announce] sysagent module

    Quote Originally Posted by cyke64 View Post
    Hello Casioli

    What about a new version of Jython on UIQ ?
    UIQ is too frustrating for developers, I'm switching to S60...

    You're lucky because this week I'll release a new version of sysagent and now I succeed to run it with 3rd
    I'll see if I could add this requirement about SMS resending ...
    ok, thanks in advance.

  7. #7
    Registered User
    Join Date
    Feb 2005
    Location
    Belgium (Europe)
    Posts
    1,352

    Re: [announce] sysagent module

    Quote Originally Posted by cassioli View Post
    This is avery interesting module, since it potentially allows getting rid of an historical Symbian bug: the "outbox stuck"!

    I found that on several symbian versions (both Series60 and UIQ) there is a weird bug, which prevents phones from properly sending SMS: if SMS sending fails, it's put in outbox... and it remains there FOR EVER, unless you reboot your phone, or put it in flight mode and back to online mode!!!
    Code:
    # your solution with unsigned xprofile
    #
    import xprofile
    old_profile=xprofile.get_ap()
    # put in flight mode
    xprofile.set_ap(5)
    #put in your original profile setting
    xprofile.set_ap(old_profile)
    Quote Originally Posted by cassioli View Post
    I'll try to write those few lines of code which allow detecting SMSs in outbox and to play a sound; but adding to sysagent the capability to reattempt sending would be cool.
    Have you forgot that it's now possible to look at the Outbox too with the wrong name inbox module ?

    Code:
    # way 1
    # detecting SMS in outbox
    
    import inbox
    import messaging
    
    def send_error(id)
      global outbox
      outbox.delete(id)
      # send msg again
     
    outbox=Inbox(inbox.EOutbox)
    outbox.bind(send_error)
    #
    # send msg code
    #
    Code:
    # way 2
    # detecting SMS in outbox
    
    import inbox
    import messaging
    
     
    outbox=Inbox(inbox.EOutbox)
    
    #
    # send msg code
    #
    
    # messages in outbox ?
    if outbox.sms_messages() is not None:
      # delete all outbox messages !
      for m in outbox.sms_messages():
        outbox.delete(m)
      # send msg again
    Try these methods perhaps that sysagent is nouse here ?

    BR
    Cyke64
    pys60 1.4.5 and 2.0.0, pygame, PyS60 CE on E90 and 5800 !

    Find my pys60 extension modules on cyke64.googlepages.com

  8. #8
    Registered User
    Join Date
    Apr 2003
    Posts
    6

    Re: [announce] sysagent module

    Hi Cyke64,

    Nice work on sysagent & esysagent!
    Can you tell me if sysagent and esysagent is ready and working for S60v3?
    I'm interested in trying my applications on a 3rd edition Symbian phones,
    and might include sysagent and esysagent.

    Thank you.

    Darren.

Similar Threads

  1. [announce] Call status and key press module
    By agrauballe in forum Symbian
    Replies: 21
    Last Post: 2007-09-19, 01:45
  2. N-90 Mechanical Problem Turning camera Module
    By ALTheo in forum General Development Questions
    Replies: 1
    Last Post: 2006-04-06, 18:41
  3. Replies: 3
    Last Post: 2006-02-02, 11:12
  4. SMS I/O Control Application via Evaluation Module
    By alokghosh in forum Nokia M2M
    Replies: 2
    Last Post: 2003-06-18, 17:05
  5. GPS Module LAM-1
    By ZeZinh0 in forum PC Suite API and PC Connectivity SDK
    Replies: 1
    Last Post: 2003-03-06, 10:44

Posting Permissions

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