maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   Maemo Mapper v1.0 for the 2006 OS (https://talk.maemo.org/showthread.php?t=2142)

fpp 2006-08-07 21:16

Quote:

Originally Posted by avdigital
Hi all,
If you experience download troubles of the google maps, you can use this new link:
http://mt0.google.com/mt?n=404&v=w2....d&y=%d%zoom=%d
The old link(s) posted on this forum did't work (for me) any more.

Damn. Crap. Blast.
The old URL indeed doesn't work anymore, but this new one doesn't either, at least not here over Europe... and I was going to try out maemo mapper on the holiday trip on thursday... Oh, well.

gnuite 2006-08-08 02:38

Quote:

Originally Posted by avdigital
I had the same issue and also did the 'sudoers' trick but didn't work for me.

After my vacation with the Nokia MeamoMapper System I tried the '/dev/rfcomm' trick and this works perfectly; no loss of BlueTooth GPS connection at all.

I modified my Nokia so it will automaticly connect to the GPS unit when I startup Meamo-mapper. Modify the /etc/bluetooth/rfcomm.conf file. (first gain root access to do this)
Replace the sample values with your own values (MAC address) and set BIND to yes. Then the connection will be established at each reboot.

Now even when I switch off the GPS or get away from my Nokia with it it reconnects immediately when switched on or get nearby again.

Question: Is it so that the BlueTooth hardware is now always active (and searching) and is draining the battery more if I don't use Maemo-mapper?

By adding the device to BIND, it doesn't actually keep the connection open all the time (and it doesn't try looking for the device, either).

What really happens is that, whenever an application opens the /dev/rfcomm device for reading (or writing, I imagine), the bluetooth driver only then looks for and connect to the device. If the device is not present, I think it returns EOF or a failure condition or something. When the application closes the "file", the connection is dropped.

So, it won't drain your battery unless you leave Maemo Mapper on (without the cover on the display).

Using rfcomm this way may, in fact, be the (unfortunately) ideal solution to the dropout situation, until Nokia (or whoever) fixes the bug that causes the dropouts.

GPSD may also be a potential solution, since I think it uses rfcomm.

thigh bone 2006-08-08 10:11

gmaps url
 
Quote:

Originally Posted by fpp
Damn. Crap. Blast.
The old URL indeed doesn't work anymore, but this new one doesn't either, at least not here over Europe... and I was going to try out maemo mapper on the holiday trip on thursday... Oh, well.

if you use firefox an easy way of getting the current url is to go to google maps and then open "Tools -> Page Info". Under the Media tab you can then see the urls for each square on the map.

Then just remove the number after mt and replace the x, y and zoom values with %d to get:
http://mt.google.com/mt?n=404&v=w2.17&x=%d&y=%d&zoom=%d

looks like the one in the earlier post had an extra % in there

lucaluca2 2006-08-08 13:36

gps info
 
Hi,
my next patch: GPS Info, display some textual GPS information (lat/lon, speed, satellites info, gps time (with local time zone). Details: http://eko.one.pl/index.php?page=No... 20maemo-mapper. See screenshot.


information the altitudine?
hi

avdigital 2006-08-08 16:16

Quote:

Originally Posted by gnuite
By adding the device to BIND, it doesn't actually keep the connection open all the time (and it doesn't try looking for the device, either).

....

So, it won't drain your battery unless you leave Maemo Mapper on (without the cover on the display).

Using rfcomm this way may, in fact, be the (unfortunately) ideal solution to the dropout situation, until Nokia (or whoever) fixes the bug that causes the dropouts.

....

Ok, no worries then! Great, keep up the good work! :)

avdigital 2006-08-08 16:20

Quote:

Originally Posted by fpp
Damn. Crap. Blast.
The old URL indeed doesn't work anymore, but this new one doesn't either, at least not here over Europe... and I was going to try out maemo mapper on the holiday trip on thursday... Oh, well.

Strange, it works for me (in Europe)...

cjackiewicz 2006-08-08 18:01

Quote:

Originally Posted by lucaluca2
information the altitudine?
hi

Possible to show. But maybe in another window ("gps details" etc.)

fpp 2006-08-08 18:06

Quote:

Originally Posted by thigh bone
if you use firefox an easy way of getting the current url is to go to google maps and then open "Tools -> Page Info". Under the Media tab you can then see the urls for each square on the map.

Then just remove the number after mt and replace the x, y and zoom values with %d to get:
http://mt.google.com/mt?n=404&v=w2.17&x=%d&y=%d&zoom=%d

looks like the one in the earlier post had an extra % in there

Thanks a lot for spotting it, that was the problem. Phew :-)

avdigital 2006-08-08 18:37

Quote:

Originally Posted by avdigital
Strange, it works for me (in Europe)...

Sorry, the link I did post was indeed wrong. I used the good one on my Nokia. Thightbone link is correct.

fpp 2006-08-08 20:04

Well you had me in a bind for a while there, but now all is well again :-)


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

vBulletin® Version 3.8.8