27#ifndef PROTOCORE_NTRIP_CASTER_H
28#define PROTOCORE_NTRIP_CASTER_H
32#if PROTOCORE_ENABLE_NTRIP_CASTER
49 embed_bool want_sourcetable;
51 uint16_t auth_b64_len;
61embed_bool protocore_ntrip_request_parse(
const char *buf,
size_t len, NtripRequest *out);
68size_t protocore_ntrip_build_stream_response(
char *out,
size_t cap, NtripVersion version);
75size_t protocore_ntrip_build_error_response(
char *out,
size_t cap, NtripVersion version);
82size_t protocore_ntrip_build_unauthorized_response(
char *out,
size_t cap, NtripVersion version);
87 const char *mountpoint;
88 const char *identifier;
89 const char *format_details;
90 const char *nav_system;
92 const char *generator;
95 embed_bool nmea_required;
102size_t protocore_ntrip_build_str_record(
char *out,
size_t cap,
const NtripMount *m);
109size_t protocore_ntrip_build_sourcetable(
char *out,
size_t cap, NtripVersion version,
const NtripMount *mounts,
EMBED_ENUM_BYTE(ProtoConn, PROTO_NONE=0, PROTO_HTTP=1, PROTO_TELNET=2, PROTO_SSH=3, PROTO_MODBUS=4, PROTO_OPCUA=5, PROTO_SSH_RFWD=6, PROTO_RELAY=7, PROTO_BRIDGE=8, PROTO_NTRIP_CASTER=9, PROTO_MESH=10, PROTO_UDP=11,)
Application protocol spoken on a listener port or connection slot.
#define PROTOCORE_NTRIP_MOUNT_MAX
Max length (incl. NUL) of an NTRIP mountpoint name the caster serves.