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-08-29 10:22

Re: [Announce] SMScon (control your device with SMS)
 
Hi digitalvoid,
Something for you to consider;

You can send the gps coordinates in a click-able google maps URL.
eg: http://maps.google.com/maps?q=52.350693,4.800796

Saturn 2010-08-29 11:26

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

One more case for you :)
Haven't checked the code but i get the impression that you are doing some kind of averaging from the last 4 coordinates.

IMHO, you should choose the one with the best accuracy instead.

Here is an example of how the best location guess has not been given back but instead one with 50km error. (the effect might be also augmented as I am traveling at the moment and the first lock is way out in accuracy but I think is a good example to show the issue).

Code:

(Sat Aug 28 23:40:39 2010) DAEMON: starting GPS device
(Sat Aug 28 23:40:39 2010) DAEMON: waiting for accurate GPS lock
(Sat Aug 28 23:40:41 2010) DAEMON: waiting for accurate GPS lock
(Sat Aug 28 23:40:42 2010) DAEMON: waiting for accurate GPS lock
(Sat Aug 28 23:40:44 2010) DAEMON: waiting for accurate GPS lock
(Sat Aug 28 23:41:15 2010) DAEMON: waiting for accurate GPS lock
(Sat Aug 28 23:41:31 2010) DAEMON: start collecting multiple GPS coordinates
(Sat Aug 28 23:41:31 2010) DAEMON: GPS coordinate acquired (#1, 51.8 sec, 46.500000, 8.200000, 200000.0 meter)
(Sat Aug 28 23:41:32 2010) DAEMON: GPS coordinate acquired (#2, 52.9 sec, 46.209886, 6.139363, 3034.8 meter)
(Sat Aug 28 23:41:35 2010) DAEMON: GPS coordinate acquired (#3, 56.5 sec, 46.209886, 6.139363, 3034.8 meter)
(Sat Aug 28 23:41:36 2010) DAEMON: GPS coordinate acquired (#4, 57.0 sec, 46.209886, 6.139363, 3034.8 meter)
(Sat Aug 28 23:41:36 2010) DAEMON: accurate GPS coordinate calculated (46.282414, 6.654522, 52276.1, 57.0)
(Sat Aug 28 23:41:37 2010) DAEMON: stopping GPS device


digitalvoid 2010-08-29 13:36

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

This is true, It's averaging, but I think I will change this to your idea ('best accuracy out of 4'). This is more logical. It will also be a user setting in config file.

About the '/system/osso/connectivity/IAP/Web@32@Vodafone:' issue;
I have rewritten this part (bit of a hack) and I should work now for you and also others.

About your 'click-able google maps URL' idea, I like it. I will implement this. (send it with sms and/or email)

@ knypek3:

I have no idea why it's not working; it could be port or firwall related or the way your smtp server is authenticating (more likely). I will look into it.

knypek3 2010-08-29 13:58

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

Originally Posted by digitalvoid (Post 801427)
@ Saturn:

This is true, It's averaging, but I think I will change this to your idea ('best accuracy out of 4'). This is more logical. It will also be a user setting in config file.

About the '/system/osso/connectivity/IAP/Web@32@Vodafone:' issue;
I have rewritten this part (bit of a hack) and I should work now for you and also others.

About your 'click-able google maps URL' idea, I like it. I will implement this. (send it with sms and/or email)

@ knypek3:

I have no idea why it's not working; it could be port or firwall related or the way your smtp server is authenticating (more likely). I will look into it.

hmn. My email server requires Authentication. may this doing this error?
Heh
is it any way to bypass it? Or i must search account without smtp authentication?

Saturn 2010-08-29 14:58

Re: [Announce] SMScon (control your device with SMS)
 
How about adding a 'send a test mail' option in the smscon?

It would help testing if settings have been entered correctly in the config file easier.

digitalvoid 2010-08-29 15:54

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

Already there :), use:
Code:

smscon -stop (if it was running)
smscon -test email

Could please you give me the result of this:

Code:

gconftool -R /system/osso/connectivity/IAP | grep " name = "
I want to verify something for my code.


@ knypek3:

I will look if I can make it auto detect the authentication, but you can use another smtp server without secure authentication.

knypek3 2010-08-29 20:57

Re: [Announce] SMScon (control your device with SMS)
 
when i type test email the connection don't end so, or it connecting or i don't know why. I have my email server. I try with and without auth. Nothing happen. with and without i have error :(
i try gconf.
it send me:
name = linksys
name = Moja_siec
name = Plus gsm internet gprs

digitalvoid 2010-08-30 07:29

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

There was a bug in my code which has to do with the detection of the connection name , which I have fixed. (Thanks Saturn).

New code coming soon.

PS: The secure smtp authentication will not be fix in this code. I have to examine this further...

knypek3 2010-08-30 08:19

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

Originally Posted by digitalvoid (Post 802050)
@ knypek3:

There was a bug in my code which has to do with the detection of the connection name , which I have fixed. (Thanks Saturn).

New code coming soon.

PS: The secure smtp authentication will not be fix in this code. I have to examine this further...

I try without smtp authentication. But with error too.
It's strange becouse smtplib should operate smtp authentication.

I'm the only one whom it is not working email func??

zimon 2010-08-30 11:56

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

Originally Posted by jakiman (Post 801001)
Can someone please help OP and get this pushed out to extras-devel? :(

Would be good next step before new features is added.

http://wiki.maemo.org/Extras-devel


All times are GMT. The time now is 22:54.

vBulletin® Version 3.8.8