Hi, Thanks for that. I have now got it working using the LNet Telnet component. I have to turn debugging off but at least it is reading the json data and I have extracted lat and long, which is all I wanted. After doing that, I open a port (ttyUSB1) to talk to a PIC micro. Funny thing is that if I open that port prior to telneting the gps, I get no gps data at all, so I have to get the gps data and close the telnet session before opening the port!
Also had problems as both the gps and the Adafruit USB cable to the PIC use the PL2303 and the OS seemed to decide at random which it called ttyUSB0 and which ttyUSB1!! I have solved that with a .rules file, by creating a SYMLINK to the "PIC" port, so my program always reads the right device and similar for the gps, so gpsd gets the symbolic name rather than the actual and that seems to work fine. What a battle! Now it's off to write the PIC code in C - much easier!! Thanks for all your help.