Ntrip Client

class bosdyn.client.gps.ntrip_client.NtripClientParams(server='', port=2101, user='', password='', mountpoint='', tls=False)[source]

Bases: object

Class for storing parameters for connecting an NTRIP client to an NTRIP server.

class bosdyn.client.gps.ntrip_client.NtripClient(device, params: NtripClientParams, logger)[source]

Bases: object

Client used to connect to an NTRIP server to download GPS corrections. These corrections are then forwarded on to the GPS device using the given stream.

make_request()[source]

Make a connection request to an NTRIP server.

start_stream()[source]

Start streaming data from an NTRIP server to a GPS receiver.

stop_stream()[source]

Stop streaming NTRIP data.

is_streaming()[source]

Determine if we are streaming NTRIP data.

send_gga(gga)[source]

Given a GPGGA message, send it to the NTRIP server. This helps the NTRIP server send corrections that are applicable to the area in which the receiver is operating.

create_icy_session()[source]

NTRIP Rev1 uses Shoutcast (ICY). Create an ICY session to stream RTCM data.

stream_data()[source]

Stream NTRIP data from a connected server and send it to a GPS receiver.

stream_data_worker()[source]

NTRIP client worker thread function.

handle_ntrip_data(data)[source]

Callback for handling NTRIP data.

handle_nmea_gga(sentence)[source]

Process an NMEA-GGA sentence passed in as a string.