Mapping and GIS Solutions Community

 View Only
Expand all | Collapse all

Retrieve Trimble Catalyst GPGGA sentence

  • 1.  Retrieve Trimble Catalyst GPGGA sentence

    Posted 10-26-2020 03:11

    Hi all, 

     

    Question 1:

     

    Please is it possible to retrieve data from Trimble Catalyst in a form of GPGGA sentence (Global Positioning System Fix Data)?

     

    E.g. GPS - NMEA sentence information -> GPGGA

     

    Question 2:

     

    Is there a way to detect that Trimble sensor has been connected through a USB ? For example app TerraFlex does something similar - after connection Catalyst antenna can be used immediately. In JCatalystFacadeDemo, connection is managed only with Connect/Disconnect button (no option to connect automatically / detect antenna). It could be great to include this "auto-connection" implementation in SDK demo. 

     

    Thanks & Regards,

     

    Peter Kucera.



  • 2.  Re: Retrieve Trimble Catalyst GPGGA sentence
    Best Answer

    Posted 10-26-2020 08:55

    Hi Peter,

     

    the first question isn't easily answered:

    there is no direct NMEA from Catalyst or TMM as the default way on Android are mock locations.

    So Androids mock locations and location extras provide similar information and more compared to NMEA (details like currently used geodetic frame are not available in NMEA afaik).

    On the other side the SDK does provide NMEA output - and you could enable NMEA output (GGA, GST, the default stuff) and retrieve the corresponding events - parse the event (string) and funnel it to your own NMEA driver.

    But the amount of work is in no relation to the benefit. 

    Plus not even sure if it makes sense at all. 

     

    So the most simplest way would most likely be Androids location API plus location extras. Details on the content can be found in both SDK-Developer and TMM-Developer documentation.

     

    On the second topic - this is a system USB event - and can be captured by any software.

    I'll check on the explicit implementation in TerraFlex - I assume are referring to the 'you just plugged in a Catalyst antenna - do you wanna switch?' message, right (loosely translated). 

     

    Regards

    Nico



  • 3.  Re: Retrieve Trimble Catalyst GPGGA sentence

    Posted 11-02-2020 03:04

    Hi Nico

     

    " I assume are referring to the 'you just plugged in a Catalyst antenna - do you wanna switch?' " -> Yes exactly this functionality. Basically I want to be able to intercept this event of antenna being connected over USB so I can show the popup.

    Thanks & Regards

    Peter Kucera