maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   [Announce] SMScon (control your device with SMS) (https://talk.maemo.org/showthread.php?t=60729)

Saturn 2010-09-01 22:36

Re: [Announce] SMScon (control your device with SMS)
 
1 Attachment(s)
Hi digitalvoid,

I'm not that familiar with python but here are some changes in your code that fix the connection issue for me.

Hope it's useful

digitalvoid 2010-09-02 07:22

Re: [Announce] SMScon (control your device with SMS)
 
@ Saturn:

Thanks for the input.

@ knypek3:

I don't now how to do this. I think this only would work if the whole internal sms receiving routine has to be rewritten.

knypek3 2010-09-02 11:39

Re: [Announce] SMScon (control your device with SMS)
 
I try to test it. But.
When i switch on wifi everything working - i start camera and send email, i start ssh sonnection. But. I switch off wifi and try to get gps. Connection to internet don't start so agps don't work. I starting to collecting gps cord. and when it collect 4 it have an error. I try to smscon - restart but i can't some python errors :/

How to set a maximum gps coord? In previous version it set on 4 . But in this version i can't see this option...

When reboot phone and try to use camera option without connection, i can't :( Connection don't start auto. It ask me for choose wifi or gprs. The same problem with remoteon.


Bugs with Saturn ver.:
-when connection is on everything is all right. it isn't change it.
-when connection is off it isn't start auto - you must choose wifi or gprs
-gps coordinates must be set maximum 3-4 - now it collect and collect but don't send answer (or something wrong i do)
-still no link for googlemaps.

digitalvoid 2010-09-02 15:30

Re: [Announce] SMScon (control your device with SMS)
 
New version coming soon (v0.3.0) with lots of changes (for the good I hope)

knypek3 2010-09-02 15:45

Re: [Announce] SMScon (control your device with SMS)
 
Please don't give a ver with bugs :D It's boring to test it still :)

digitalvoid 2010-09-02 20:38

Re: [Announce] SMScon (control your device with SMS)
 
New version available!

Read the first post for the new changes.

Saturn 2010-09-02 21:24

Re: [Announce] SMScon (control your device with SMS)
 
Hi,

Great list of changes. I haven't tested it yet. Soon..

First thing it came to my mind when knypek3 said my changes didn't work for him is that he probably has the internet connection setting to "always ask".

Even if that is not true, I believe it is a good choice to set the connection to "Any connection" when the sms arrives to get most chances of a connection.

Here is a sample code to set the gconf key to any:
Code:

    # set Internet Connection setting to auto_connect
    os.system( 'run-standalone.sh gconftool-2 --set --type list --list-type string /system/osso/connectivity/network_type/auto_connect[*]' )

What do you think?

Saturn 2010-09-02 21:46

Re: [Announce] SMScon (control your device with SMS)
 
Hi,

in smscon_daemon line 481 there's a small typo:
" (CurrentType == 'GPRS' and NewType == 'LAN'): "

edit: I don't see how this line can be executed in this version so it can't break anything for the time being.

I have also understood (with the better error messages you've added in this version) why the GPRS fails for me. It tries to connect to the GPRS connection that belongs to my second sim!

knypek3 2010-09-03 04:39

Re: [Announce] SMScon (control your device with SMS)
 
Quote:

Originally Posted by Saturn (Post 805678)
Hi,

Great list of changes. I haven't tested it yet. Soon..

First thing it came to my mind when knypek3 said my changes didn't work for him is that he probably has the internet connection setting to "always ask".

Even if that is not true, I believe it is a good choice to set the connection to "Any connection" when the sms arrives to get most chances of a connection.

Here is a sample code to set the gconf key to any:
Code:

    # set Internet Connection setting to auto_connect
    os.system( 'run-standalone.sh gconftool-2 --set --type list --list-type string /system/osso/connectivity/network_type/auto_connect[*]' )

What do you think?

yes you're right, i have internet connection always ask set.
hmn. so this ver still don't work?? so i'm didn't install it jet.
hmn. i think this app should be working only with gprs. personally my wifi adapter is off when i don't use it. No searching is off but adapter.

sands.m 2010-09-03 05:02

Re: [Announce] SMScon (control your device with SMS)
 
Freakin Owesome Job Man.

Really appreciate your hard work .


All times are GMT. The time now is 18:15.

vBulletin® Version 3.8.8