gps subscribe not displaying any events #automotive #help

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello everyone,

I have been trying to connect my GPS device to Jellyfish 10.0.1. The device registers as /dev/ttyUSB1 and /dev/pps0. 

I am running gpsd manually to connect my device with the following command:
  gpsd -D 5 -N -n /dev/ttyUSB1 /dev/pps0

This connects the gpsd to the gps device and outputs the debug messages of gpsd to the console. I am also running the agl-service-gps binding manually as follows:
  afb-daemon --workdir=/var/scope-platform/agl-service-gps --ldpaths=/var/local/lib/afm/applications/agl-service-gps/lib --rootdir=/var/local/lib/afm/applications/agl-service-gps --port=30010 --token="" --log="debug" -v

This outputs the verbose messages of the websocket connection. When connecting using afb-client-demo, I type "gps subscribe {"value":"location"}" and no events appear.

The output of gpsd clearly shows that it is sending gps messages to client(0), my agl-service-gps binding instance.

gpsd:INFO: Sats used (8):
gpsd:PROG: Changed mask: {ONLINE|DOP|SATELLITE|PACKET} with reliable cycle detection
gpsd:CLIENT: => client(0): {"class":"SKY","device":"/dev/ttyUSB1".........etc....etc......}\x0d\x0a
gpsd:IO: <= GPS: $GPGGA,correct LAT, correct LONG. etc etc etc...............
gpsd:PROG: GPGGA starts a reporting cycle. lasttag 51
gpsd:PROG: NTP: ntpshm_put(/dev/ttyUSB1,-20)  xxxxxxx @  xxxxxxxx
gpsd:PROG: Changed mask: {ONLINE|TIME|LATLON|ALTITUDE|STATUS|MODE|PACKET|CLEAR|NTPTIME} with reliable cycle detection
gpsd:IO: <= GPS: $GPVTG,etc etc etc.................................
gpsd:PROG: Changed mask: {ONLINE|SPEED|TRACK|PACKET|MAGNETIC_TRACK} with reliable cycle detection
gpsd:IO: <= GPS: $GPRMC,etc etc etc ..............................
gpsd:PROG: GPRMC ends a reporting cycle.
gpsd:PROG: Changed mask: {ONLINE|TIME|LATLON|SPEED|TRACK|MODE|PACKET|REPORT|NTPTIME} with reliable cycle detection
gpsd:PROG: time to report a fix
gpsd:CLIENT: => client(0): {"class":"TPV","device":"/dev/ttyUSB1","mode":3,"time":"xxxxx","ept":xxxxx,"lat":xxxxxxxx,"lon":xxxxxxx,"alt":xxxxxx,"epx":xxxxx,"epy":xxxxxxx,"epv":xxxxx,"track":xxxxx, etc etc  etc etc ....................}\x0d\x0a
 
Does anyone know why my gps binding is not creating afb events? It successfully outputs the gps location when calling "gps location" but does not create events.

Any help would be greatly appreciated!

Thanks,
Vele
_._,_._,_

Links:

You receive all messages sent to this group.

View/Reply Online (#8964) | Reply To Group | Reply To Sender | Mute This Topic | New Topic
Mute #help | Mute #automotive
Your Subscription | Contact Group Owner | Unsubscribe [list-automotive-discussions82@xxxxxxxxxxx]

_._,_._,_

[Index of Archives]     [LARTC]     [Bugtraq]     [Yosemite Forum]     [Photo]

  Powered by Linux