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)
Code:
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.
Bookmarks