LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   iPhone as GPSD device (https://www.linuxquestions.org/questions/linux-software-2/iphone-as-gpsd-device-803575/)

gandhioftherillo 04-22-2010 01:49 PM

iPhone as GPSD device
 
Using a Python scipt by balint of Spench.net I can set my iPhone as a gpsd device (using mobile Safari and the tether connection)


Quote:

ryank@kayleeslaptop:~$ sudo python iPhone-gpsd.py
Current directory: /home/ryank
gpsd: Can't bind to port 2947
gpsd: Maybe gpsd is already running!
gpsd: Can't bind to port 2947
gpsd: Maybe gpsd is already running!
GPSd running
Added /dev/pts/1
HTTP Server running...
Ryan-Kochs-iPhone.local - - [22/Apr/2010 10:54:14] "POST / HTTP/1.1" 200 -
Received 1 updates:
35.21156006666667,-101.86819670000001,47.42163354976343,1271951613442
$GPRMC,105333.44,A,3512.693604,N,10152.091802,W,,,220410,,,A*40
It sets the device as /dev/pts/1 but GPSDrive (and any other program for that matter) shows that there is not GPS...

Here's a link to the site:
http://spench.net/drupal/software/iphone-gps

Any ideas?

Thanks in advance.

lupusarcanus 04-23-2010 09:14 AM

An iPhone is not Linux. However it is Unix. It'd be more relevant in Other *NIX

gandhioftherillo 04-23-2010 05:27 PM

I'm wondering what I'm doing wrong on the Linux end (using Ubuntu 10.04) with gpsd and why it isn't registering correctly.

sundialsvcs 04-23-2010 10:11 PM

For what it's worth, I have been decidedly un-impressed with the accuracy of the iPhone as a "general GPS" device. It seems to be adequate for, say, "road navigation" purposes, but not for (say...) geocaching.

gandhioftherillo 04-23-2010 10:17 PM

I TOTALLY agree on that. I geocache as well and it's really annoying (especially after paying $10 for the app) to wander around thinking you're close to the cache, only to find out you are 10 yards away (even with perfectly clear skies).


All times are GMT -5. The time now is 10:00 AM.