Can't get listener to, well, listen.
skandragon opened this issue · comments
I have the following code:
var gpsd = require('node-gpsd');
var listener = new gpsd.Listener();
listener.on('TPV', function (tpv) {
console.log(tpv);
});
listener.on('SKY', function (sky) {
console.log(sky);
});
listener.connect(function() {
listener.watch();
});
However, no events seem to trigger. Nothing is logged to the console.
I have verified that traffic is flowing by running tcpdump -i lo0 tcp port gpsd
and I do see SKY and TPV traffic.