ok. Piny działają.
Ale nie pokazuje pozycji w gpsd
root@twojastara:~# gpsd -b -N -n -D 2 /dev/rfcomm0
gpsd: launching (Version 2.94)
gpsd: can't create IPv6 socket
gpsd: listening on port 2947
gpsd: running with effective group ID 0
gpsd: running with effective user ID 0
gpsd: opening read-only GPS data source type 0 and at '/dev/rfcomm0'
gpsd: speed 9600, 8N1
gpsd: gpsd_activate(): opened GPS (fd 4)
gpsd: NTPD ntpd_link_activate: 0
gpsd: /dev/rfcomm0 identified as type Generic NMEA (0.156054 sec @ 9600bps)
gpsd: => Probing device subtype 0
gpsd: => Probing device subtype 1
gpsd: => Probing device subtype 2
gpsd: => Probing device subtype 3
gpsd: => Probing device subtype 4
gpsd: => Probing device subtype 5
logpsd: => Probing device subtype 6
gpsd: => Probing device subtype 7
ggpsd: => Probing device subtype 8
root@twojastara:~# cat < /dev/rfcomm0
$GPRMC,001022.000,V,0000.0000,N,00000.0000,E,0.0,0.0,130806,,,N*7B
$GPGGA,001022.000,0000.0000,N,00000.0000,E,0,00,0.0,,M,,M,,0000*6C
$GPGSA,A,1,,,,,,,,,,,,,,,*1E
$GPRMC,001023.000,V,0000.0000,N,00000.0000,E,0.0,0.0,130806,,,N*7A
$GPGGA,001023.000,0000.0000,N,00000.0000,E,0,00,0.0,,M,,M,,0000*6D
$GPGSA,A,1,,,,,,,,,,,,,,,*1E
$GPRMC,001024.000,V,0000.0000,N,00000.0000,E,0.0,0.0,130806,,,N*7D
$GPGGA,001024.000,0000.0000,N,00000.0000,E,0,00,0.0,,M,,M,,0000*6A
$GPGSA,A,1,,,,,,,,,,,,,,,*1E
^C
Ale nie pokazuje pozycji w gpsd.
root@twojastara:~# telnet 127.0.0.1 2947
{"class":"VERSION","release":"2.94","rev":"2010-08-22T01:03:47","proto_major":3,"proto_minor":2}
r