Notices


Reply
Thread Tools
Saturn's Avatar
Posts: 1,648 | Thanked: 2,122 times | Joined on Mar 2007 @ UNKLE's Never Never Land
#61
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
 

The Following User Says Thank You to Saturn For This Useful Post:
Saturn's Avatar
Posts: 1,648 | Thanked: 2,122 times | Joined on Mar 2007 @ UNKLE's Never Never Land
#62
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
 
Posts: 200 | Thanked: 300 times | Joined on Nov 2009 @ The Netherlands
#63
@ 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.
 
Posts: 62 | Thanked: 6 times | Joined on Jun 2010 @ Poland
#64
Originally Posted by digitalvoid View Post
@ 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?
__________________
Maemo Meego Maego!
 
Saturn's Avatar
Posts: 1,648 | Thanked: 2,122 times | Joined on Mar 2007 @ UNKLE's Never Never Land
#65
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.
 
Posts: 200 | Thanked: 300 times | Joined on Nov 2009 @ The Netherlands
#66
@ 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.

Last edited by digitalvoid; 2010-08-29 at 17:54.
 
Posts: 62 | Thanked: 6 times | Joined on Jun 2010 @ Poland
#67
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
__________________
Maemo Meego Maego!
 
Posts: 200 | Thanked: 300 times | Joined on Nov 2009 @ The Netherlands
#68
@ 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...
 
Posts: 62 | Thanked: 6 times | Joined on Jun 2010 @ Poland
#69
Originally Posted by digitalvoid View Post
@ 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??
__________________
Maemo Meego Maego!
 
Posts: 1,341 | Thanked: 708 times | Joined on Feb 2010
#70
Originally Posted by jakiman View Post
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
 
Reply

Thread Tools

 
Forum Jump


All times are GMT. The time now is 04:40.