Skip to main content

sidereon_core/ntrip/
mod.rs

1//! NTRIP client request, response, and stream handling.
2//!
3//! This module is deliberately sans-I/O. Transports own sockets, TLS, DNS,
4//! clocks, retries, and storage. The core machine accepts received bytes and
5//! emits protocol events, including opaque payload bytes that can be passed to
6//! [`crate::rtcm::SsrStreamAssembler`] or another downstream decoder.
7
8mod chunk;
9mod gga;
10mod machine;
11mod request;
12mod response;
13mod sourcetable;
14
15#[cfg(test)]
16mod tests;
17
18pub use chunk::ChunkedDecoder;
19pub use gga::{format_gga, GgaPosition};
20pub use machine::{NtripClientMachine, NtripEvent, NtripHandshake, NtripState};
21pub use request::{NtripConfig, NtripCredentials, NtripVersion};
22pub use response::{classify_http_response, HttpClassification, NtripRejection};
23pub use sourcetable::{
24    parse_sourcetable, CasRecord, Field, NetRecord, OtherRecord, Sourcetable, SourcetableRecord,
25    StrAuth, StrRecord,
26};