feat: initial commit
This commit is contained in:
563
reach/client/protocol/v2/model/configuration.go
Normal file
563
reach/client/protocol/v2/model/configuration.go
Normal file
@ -0,0 +1,563 @@
|
||||
package model
|
||||
|
||||
type Configuration struct {
|
||||
BaseMode struct {
|
||||
BaseCoordinates struct {
|
||||
Accumulation int `json:"accumulation,omitempty"`
|
||||
AntennaOffset float64 `json:"antenna_offset,omitempty"`
|
||||
Coordinates struct {
|
||||
Height float64 `json:"height,omitempty"`
|
||||
Latitude float64 `json:"latitude,omitempty"`
|
||||
Longitude float64 `json:"longitude,omitempty"`
|
||||
} `json:"coordinates,omitempty"`
|
||||
Mode string `json:"mode,omitempty"`
|
||||
} `json:"base_coordinates,omitempty"`
|
||||
Output struct {
|
||||
IoType string `json:"io_type,omitempty"`
|
||||
Settings struct {
|
||||
Lora struct {
|
||||
AirRate float64 `json:"air_rate,omitempty"`
|
||||
Frequency int `json:"frequency,omitempty"`
|
||||
OutputPower int `json:"output_power,omitempty"`
|
||||
} `json:"lora,omitempty"`
|
||||
Ntripcaster struct {
|
||||
MountPoint string `json:"mount_point,omitempty"`
|
||||
Password string `json:"password,omitempty"`
|
||||
Port int `json:"port,omitempty"`
|
||||
Username string `json:"username,omitempty"`
|
||||
} `json:"ntripcaster,omitempty"`
|
||||
Ntripsvr struct {
|
||||
Address string `json:"address,omitempty"`
|
||||
MountPoint string `json:"mount_point,omitempty"`
|
||||
Password string `json:"password,omitempty"`
|
||||
Port int `json:"port,omitempty"`
|
||||
} `json:"ntripsvr,omitempty"`
|
||||
Serial struct {
|
||||
BaudRate int `json:"baud_rate,omitempty"`
|
||||
Device string `json:"device,omitempty"`
|
||||
} `json:"serial,omitempty"`
|
||||
Tcpcli struct {
|
||||
Address string `json:"address,omitempty"`
|
||||
Port int `json:"port,omitempty"`
|
||||
} `json:"tcpcli,omitempty"`
|
||||
Tcpsvr struct {
|
||||
Port int `json:"port,omitempty"`
|
||||
} `json:"tcpsvr,omitempty"`
|
||||
} `json:"settings,omitempty"`
|
||||
} `json:"output,omitempty"`
|
||||
Rtcm3Messages struct {
|
||||
Num1004 struct {
|
||||
Enabled bool `json:"enabled,omitempty"`
|
||||
Frequency int `json:"frequency,omitempty"`
|
||||
} `json:"1004,omitempty"`
|
||||
Num1006 struct {
|
||||
Enabled bool `json:"enabled,omitempty"`
|
||||
Frequency float64 `json:"frequency,omitempty"`
|
||||
} `json:"1006,omitempty"`
|
||||
Num1008 struct {
|
||||
Enabled bool `json:"enabled,omitempty"`
|
||||
Frequency float64 `json:"frequency,omitempty"`
|
||||
} `json:"1008,omitempty"`
|
||||
Num1012 struct {
|
||||
Enabled bool `json:"enabled,omitempty"`
|
||||
Frequency int `json:"frequency,omitempty"`
|
||||
} `json:"1012,omitempty"`
|
||||
Num1033 struct {
|
||||
Enabled bool `json:"enabled,omitempty"`
|
||||
Frequency float64 `json:"frequency,omitempty"`
|
||||
} `json:"1033,omitempty"`
|
||||
Num1074 struct {
|
||||
Enabled bool `json:"enabled,omitempty"`
|
||||
Frequency float64 `json:"frequency,omitempty"`
|
||||
} `json:"1074,omitempty"`
|
||||
Num1084 struct {
|
||||
Enabled bool `json:"enabled,omitempty"`
|
||||
Frequency float64 `json:"frequency,omitempty"`
|
||||
} `json:"1084,omitempty"`
|
||||
Num1094 struct {
|
||||
Enabled bool `json:"enabled,omitempty"`
|
||||
Frequency float64 `json:"frequency,omitempty"`
|
||||
} `json:"1094,omitempty"`
|
||||
Num1124 struct {
|
||||
Enabled bool `json:"enabled,omitempty"`
|
||||
Frequency float64 `json:"frequency,omitempty"`
|
||||
} `json:"1124,omitempty"`
|
||||
Num1230 struct {
|
||||
Enabled bool `json:"enabled,omitempty"`
|
||||
Frequency float64 `json:"frequency,omitempty"`
|
||||
} `json:"1230,omitempty"`
|
||||
} `json:"rtcm3_messages,omitempty"`
|
||||
} `json:"base_mode,omitempty"`
|
||||
Bluetooth struct {
|
||||
BleEnabled bool `json:"ble_enabled,omitempty"`
|
||||
Enabled bool `json:"enabled,omitempty"`
|
||||
Pairing struct {
|
||||
Discoverable bool `json:"discoverable,omitempty"`
|
||||
NoInputNoOutput bool `json:"no_input_no_output,omitempty"`
|
||||
Pin string `json:"pin,omitempty"`
|
||||
} `json:"pairing,omitempty"`
|
||||
} `json:"bluetooth,omitempty"`
|
||||
CorrectionInput struct {
|
||||
BaseCorrections struct {
|
||||
IoType string `json:"io_type,omitempty"`
|
||||
LastUsed struct {
|
||||
Ntrip string `json:"ntrip,omitempty"`
|
||||
Radio string `json:"radio,omitempty"`
|
||||
TCP string `json:"tcp,omitempty"`
|
||||
} `json:"last_used,omitempty"`
|
||||
Settings struct {
|
||||
Ble struct {
|
||||
Address string `json:"address,omitempty"`
|
||||
MountPoint string `json:"mount_point,omitempty"`
|
||||
Password string `json:"password,omitempty"`
|
||||
Port int `json:"port,omitempty"`
|
||||
SendPositionToBase bool `json:"send_position_to_base,omitempty"`
|
||||
Username string `json:"username,omitempty"`
|
||||
} `json:"ble,omitempty"`
|
||||
Bluetooth struct {
|
||||
SendPositionToBase bool `json:"send_position_to_base,omitempty"`
|
||||
} `json:"bluetooth,omitempty"`
|
||||
Lora struct {
|
||||
AirRate float64 `json:"air_rate,omitempty"`
|
||||
Frequency int `json:"frequency,omitempty"`
|
||||
OutputPower int `json:"output_power,omitempty"`
|
||||
SendPositionToBase bool `json:"send_position_to_base,omitempty"`
|
||||
} `json:"lora,omitempty"`
|
||||
Ntripcli struct {
|
||||
Address string `json:"address,omitempty"`
|
||||
MountPoint string `json:"mount_point,omitempty"`
|
||||
Password string `json:"password,omitempty"`
|
||||
Port int `json:"port,omitempty"`
|
||||
SendPositionToBase bool `json:"send_position_to_base,omitempty"`
|
||||
Username string `json:"username,omitempty"`
|
||||
} `json:"ntripcli,omitempty"`
|
||||
Serial struct {
|
||||
BaudRate int `json:"baud_rate,omitempty"`
|
||||
Device string `json:"device,omitempty"`
|
||||
SendPositionToBase bool `json:"send_position_to_base,omitempty"`
|
||||
} `json:"serial,omitempty"`
|
||||
Tcpcli struct {
|
||||
Address string `json:"address,omitempty"`
|
||||
Port int `json:"port,omitempty"`
|
||||
SendPositionToBase bool `json:"send_position_to_base,omitempty"`
|
||||
} `json:"tcpcli,omitempty"`
|
||||
Tcpsvr struct {
|
||||
Port int `json:"port,omitempty"`
|
||||
SendPositionToBase bool `json:"send_position_to_base,omitempty"`
|
||||
} `json:"tcpsvr,omitempty"`
|
||||
} `json:"settings,omitempty"`
|
||||
} `json:"base_corrections,omitempty"`
|
||||
} `json:"correction_input,omitempty"`
|
||||
Device struct {
|
||||
AntennaHeight float64 `json:"antenna_height,omitempty"`
|
||||
NightMode bool `json:"night_mode,omitempty"`
|
||||
OnboardingShown bool `json:"onboarding_shown,omitempty"`
|
||||
PowerOnBottomConnector bool `json:"power_on_bottom_connector,omitempty"`
|
||||
PrivacyPolicyAccepted bool `json:"privacy_policy_accepted,omitempty"`
|
||||
Role string `json:"role,omitempty"`
|
||||
UsageAnalysisAccepted bool `json:"usage_analysis_accepted,omitempty"`
|
||||
} `json:"device,omitempty"`
|
||||
Logging struct {
|
||||
Logs struct {
|
||||
Autostart bool `json:"autostart,omitempty"`
|
||||
Base struct {
|
||||
Enabled bool `json:"enabled,omitempty"`
|
||||
Format string `json:"format,omitempty"`
|
||||
} `json:"base,omitempty"`
|
||||
Raw struct {
|
||||
Enabled bool `json:"enabled,omitempty"`
|
||||
Format string `json:"format,omitempty"`
|
||||
RinexOptions struct {
|
||||
LoggingInterval int `json:"logging_interval,omitempty"`
|
||||
MarkerName any `json:"marker_name,omitempty"`
|
||||
Preset string `json:"preset,omitempty"`
|
||||
SatelliteSystems struct {
|
||||
Beidou bool `json:"beidou,omitempty"`
|
||||
Galileo bool `json:"galileo,omitempty"`
|
||||
Glonass bool `json:"glonass,omitempty"`
|
||||
Gps bool `json:"gps,omitempty"`
|
||||
Qzss bool `json:"qzss,omitempty"`
|
||||
Sbas bool `json:"sbas,omitempty"`
|
||||
} `json:"satellite_systems,omitempty"`
|
||||
TimeAdjustmentsEnabled bool `json:"time_adjustments_enabled,omitempty"`
|
||||
} `json:"rinex_options,omitempty"`
|
||||
Version string `json:"version,omitempty"`
|
||||
} `json:"raw,omitempty"`
|
||||
Solution struct {
|
||||
Enabled bool `json:"enabled,omitempty"`
|
||||
Format string `json:"format,omitempty"`
|
||||
} `json:"solution,omitempty"`
|
||||
Started bool `json:"started,omitempty"`
|
||||
} `json:"logs,omitempty"`
|
||||
Settings struct {
|
||||
ArchiveName any `json:"archive_name,omitempty"`
|
||||
Debug bool `json:"debug,omitempty"`
|
||||
Interval int `json:"interval,omitempty"`
|
||||
Overwrite bool `json:"overwrite,omitempty"`
|
||||
SimultaneousLogging bool `json:"simultaneous_logging,omitempty"`
|
||||
SplitAtMidnightUtc bool `json:"split_at_midnight_utc,omitempty"`
|
||||
} `json:"settings,omitempty"`
|
||||
} `json:"logging,omitempty"`
|
||||
Network struct {
|
||||
TCPOverModem bool `json:"tcp_over_modem,omitempty"`
|
||||
} `json:"network,omitempty"`
|
||||
PositionOutput struct {
|
||||
Output1 struct {
|
||||
IoType string `json:"io_type,omitempty"`
|
||||
LastUsed struct {
|
||||
TCP string `json:"tcp,omitempty"`
|
||||
} `json:"last_used,omitempty"`
|
||||
NmeaSettings struct {
|
||||
Bluetooth struct {
|
||||
Ebp struct {
|
||||
Enabled bool `json:"enabled,omitempty"`
|
||||
UpdateRate int `json:"update_rate,omitempty"`
|
||||
} `json:"ebp,omitempty"`
|
||||
Gga struct {
|
||||
Enabled bool `json:"enabled,omitempty"`
|
||||
UpdateRate int `json:"update_rate,omitempty"`
|
||||
} `json:"gga,omitempty"`
|
||||
Gsa struct {
|
||||
Enabled bool `json:"enabled,omitempty"`
|
||||
UpdateRate int `json:"update_rate,omitempty"`
|
||||
} `json:"gsa,omitempty"`
|
||||
Gst struct {
|
||||
Enabled bool `json:"enabled,omitempty"`
|
||||
UpdateRate int `json:"update_rate,omitempty"`
|
||||
} `json:"gst,omitempty"`
|
||||
Gsv struct {
|
||||
Enabled bool `json:"enabled,omitempty"`
|
||||
UpdateRate int `json:"update_rate,omitempty"`
|
||||
} `json:"gsv,omitempty"`
|
||||
MainTalkerID string `json:"main_talker_id,omitempty"`
|
||||
Rmc struct {
|
||||
Enabled bool `json:"enabled,omitempty"`
|
||||
UpdateRate int `json:"update_rate,omitempty"`
|
||||
} `json:"rmc,omitempty"`
|
||||
Vtg struct {
|
||||
Enabled bool `json:"enabled,omitempty"`
|
||||
UpdateRate int `json:"update_rate,omitempty"`
|
||||
} `json:"vtg,omitempty"`
|
||||
Zda struct {
|
||||
Enabled bool `json:"enabled,omitempty"`
|
||||
UpdateRate int `json:"update_rate,omitempty"`
|
||||
} `json:"zda,omitempty"`
|
||||
} `json:"bluetooth,omitempty"`
|
||||
Serial struct {
|
||||
Ebp struct {
|
||||
Enabled bool `json:"enabled,omitempty"`
|
||||
UpdateRate int `json:"update_rate,omitempty"`
|
||||
} `json:"ebp,omitempty"`
|
||||
Gga struct {
|
||||
Enabled bool `json:"enabled,omitempty"`
|
||||
UpdateRate int `json:"update_rate,omitempty"`
|
||||
} `json:"gga,omitempty"`
|
||||
Gsa struct {
|
||||
Enabled bool `json:"enabled,omitempty"`
|
||||
UpdateRate int `json:"update_rate,omitempty"`
|
||||
} `json:"gsa,omitempty"`
|
||||
Gst struct {
|
||||
Enabled bool `json:"enabled,omitempty"`
|
||||
UpdateRate int `json:"update_rate,omitempty"`
|
||||
} `json:"gst,omitempty"`
|
||||
Gsv struct {
|
||||
Enabled bool `json:"enabled,omitempty"`
|
||||
UpdateRate int `json:"update_rate,omitempty"`
|
||||
} `json:"gsv,omitempty"`
|
||||
MainTalkerID string `json:"main_talker_id,omitempty"`
|
||||
Rmc struct {
|
||||
Enabled bool `json:"enabled,omitempty"`
|
||||
UpdateRate int `json:"update_rate,omitempty"`
|
||||
} `json:"rmc,omitempty"`
|
||||
Vtg struct {
|
||||
Enabled bool `json:"enabled,omitempty"`
|
||||
UpdateRate int `json:"update_rate,omitempty"`
|
||||
} `json:"vtg,omitempty"`
|
||||
Zda struct {
|
||||
Enabled bool `json:"enabled,omitempty"`
|
||||
UpdateRate int `json:"update_rate,omitempty"`
|
||||
} `json:"zda,omitempty"`
|
||||
} `json:"serial,omitempty"`
|
||||
Tcpcli struct {
|
||||
Ebp struct {
|
||||
Enabled bool `json:"enabled,omitempty"`
|
||||
UpdateRate int `json:"update_rate,omitempty"`
|
||||
} `json:"ebp,omitempty"`
|
||||
Gga struct {
|
||||
Enabled bool `json:"enabled,omitempty"`
|
||||
UpdateRate int `json:"update_rate,omitempty"`
|
||||
} `json:"gga,omitempty"`
|
||||
Gsa struct {
|
||||
Enabled bool `json:"enabled,omitempty"`
|
||||
UpdateRate int `json:"update_rate,omitempty"`
|
||||
} `json:"gsa,omitempty"`
|
||||
Gst struct {
|
||||
Enabled bool `json:"enabled,omitempty"`
|
||||
UpdateRate int `json:"update_rate,omitempty"`
|
||||
} `json:"gst,omitempty"`
|
||||
Gsv struct {
|
||||
Enabled bool `json:"enabled,omitempty"`
|
||||
UpdateRate int `json:"update_rate,omitempty"`
|
||||
} `json:"gsv,omitempty"`
|
||||
MainTalkerID string `json:"main_talker_id,omitempty"`
|
||||
Rmc struct {
|
||||
Enabled bool `json:"enabled,omitempty"`
|
||||
UpdateRate int `json:"update_rate,omitempty"`
|
||||
} `json:"rmc,omitempty"`
|
||||
Vtg struct {
|
||||
Enabled bool `json:"enabled,omitempty"`
|
||||
UpdateRate int `json:"update_rate,omitempty"`
|
||||
} `json:"vtg,omitempty"`
|
||||
Zda struct {
|
||||
Enabled bool `json:"enabled,omitempty"`
|
||||
UpdateRate int `json:"update_rate,omitempty"`
|
||||
} `json:"zda,omitempty"`
|
||||
} `json:"tcpcli,omitempty"`
|
||||
Tcpsvr struct {
|
||||
Ebp struct {
|
||||
Enabled bool `json:"enabled,omitempty"`
|
||||
UpdateRate int `json:"update_rate,omitempty"`
|
||||
} `json:"ebp,omitempty"`
|
||||
Gga struct {
|
||||
Enabled bool `json:"enabled,omitempty"`
|
||||
UpdateRate int `json:"update_rate,omitempty"`
|
||||
} `json:"gga,omitempty"`
|
||||
Gsa struct {
|
||||
Enabled bool `json:"enabled,omitempty"`
|
||||
UpdateRate int `json:"update_rate,omitempty"`
|
||||
} `json:"gsa,omitempty"`
|
||||
Gst struct {
|
||||
Enabled bool `json:"enabled,omitempty"`
|
||||
UpdateRate int `json:"update_rate,omitempty"`
|
||||
} `json:"gst,omitempty"`
|
||||
Gsv struct {
|
||||
Enabled bool `json:"enabled,omitempty"`
|
||||
UpdateRate int `json:"update_rate,omitempty"`
|
||||
} `json:"gsv,omitempty"`
|
||||
MainTalkerID string `json:"main_talker_id,omitempty"`
|
||||
Rmc struct {
|
||||
Enabled bool `json:"enabled,omitempty"`
|
||||
UpdateRate int `json:"update_rate,omitempty"`
|
||||
} `json:"rmc,omitempty"`
|
||||
Vtg struct {
|
||||
Enabled bool `json:"enabled,omitempty"`
|
||||
UpdateRate int `json:"update_rate,omitempty"`
|
||||
} `json:"vtg,omitempty"`
|
||||
Zda struct {
|
||||
Enabled bool `json:"enabled,omitempty"`
|
||||
UpdateRate int `json:"update_rate,omitempty"`
|
||||
} `json:"zda,omitempty"`
|
||||
} `json:"tcpsvr,omitempty"`
|
||||
} `json:"nmea_settings,omitempty"`
|
||||
Settings struct {
|
||||
Bluetooth struct {
|
||||
Format string `json:"format,omitempty"`
|
||||
} `json:"bluetooth,omitempty"`
|
||||
Serial struct {
|
||||
BaudRate int `json:"baud_rate,omitempty"`
|
||||
Device string `json:"device,omitempty"`
|
||||
Format string `json:"format,omitempty"`
|
||||
} `json:"serial,omitempty"`
|
||||
Tcpcli struct {
|
||||
Address string `json:"address,omitempty"`
|
||||
Format string `json:"format,omitempty"`
|
||||
Port int `json:"port,omitempty"`
|
||||
} `json:"tcpcli,omitempty"`
|
||||
Tcpsvr struct {
|
||||
Format string `json:"format,omitempty"`
|
||||
Port int `json:"port,omitempty"`
|
||||
} `json:"tcpsvr,omitempty"`
|
||||
} `json:"settings,omitempty"`
|
||||
} `json:"output1,omitempty"`
|
||||
Output2 struct {
|
||||
IoType string `json:"io_type,omitempty"`
|
||||
LastUsed struct {
|
||||
TCP string `json:"tcp,omitempty"`
|
||||
} `json:"last_used,omitempty"`
|
||||
NmeaSettings struct {
|
||||
Bluetooth struct {
|
||||
Ebp struct {
|
||||
Enabled bool `json:"enabled,omitempty"`
|
||||
UpdateRate int `json:"update_rate,omitempty"`
|
||||
} `json:"ebp,omitempty"`
|
||||
Gga struct {
|
||||
Enabled bool `json:"enabled,omitempty"`
|
||||
UpdateRate int `json:"update_rate,omitempty"`
|
||||
} `json:"gga,omitempty"`
|
||||
Gsa struct {
|
||||
Enabled bool `json:"enabled,omitempty"`
|
||||
UpdateRate int `json:"update_rate,omitempty"`
|
||||
} `json:"gsa,omitempty"`
|
||||
Gst struct {
|
||||
Enabled bool `json:"enabled,omitempty"`
|
||||
UpdateRate int `json:"update_rate,omitempty"`
|
||||
} `json:"gst,omitempty"`
|
||||
Gsv struct {
|
||||
Enabled bool `json:"enabled,omitempty"`
|
||||
UpdateRate int `json:"update_rate,omitempty"`
|
||||
} `json:"gsv,omitempty"`
|
||||
MainTalkerID string `json:"main_talker_id,omitempty"`
|
||||
Rmc struct {
|
||||
Enabled bool `json:"enabled,omitempty"`
|
||||
UpdateRate int `json:"update_rate,omitempty"`
|
||||
} `json:"rmc,omitempty"`
|
||||
Vtg struct {
|
||||
Enabled bool `json:"enabled,omitempty"`
|
||||
UpdateRate int `json:"update_rate,omitempty"`
|
||||
} `json:"vtg,omitempty"`
|
||||
Zda struct {
|
||||
Enabled bool `json:"enabled,omitempty"`
|
||||
UpdateRate int `json:"update_rate,omitempty"`
|
||||
} `json:"zda,omitempty"`
|
||||
} `json:"bluetooth,omitempty"`
|
||||
Serial struct {
|
||||
Ebp struct {
|
||||
Enabled bool `json:"enabled,omitempty"`
|
||||
UpdateRate int `json:"update_rate,omitempty"`
|
||||
} `json:"ebp,omitempty"`
|
||||
Gga struct {
|
||||
Enabled bool `json:"enabled,omitempty"`
|
||||
UpdateRate int `json:"update_rate,omitempty"`
|
||||
} `json:"gga,omitempty"`
|
||||
Gsa struct {
|
||||
Enabled bool `json:"enabled,omitempty"`
|
||||
UpdateRate int `json:"update_rate,omitempty"`
|
||||
} `json:"gsa,omitempty"`
|
||||
Gst struct {
|
||||
Enabled bool `json:"enabled,omitempty"`
|
||||
UpdateRate int `json:"update_rate,omitempty"`
|
||||
} `json:"gst,omitempty"`
|
||||
Gsv struct {
|
||||
Enabled bool `json:"enabled,omitempty"`
|
||||
UpdateRate int `json:"update_rate,omitempty"`
|
||||
} `json:"gsv,omitempty"`
|
||||
MainTalkerID string `json:"main_talker_id,omitempty"`
|
||||
Rmc struct {
|
||||
Enabled bool `json:"enabled,omitempty"`
|
||||
UpdateRate int `json:"update_rate,omitempty"`
|
||||
} `json:"rmc,omitempty"`
|
||||
Vtg struct {
|
||||
Enabled bool `json:"enabled,omitempty"`
|
||||
UpdateRate int `json:"update_rate,omitempty"`
|
||||
} `json:"vtg,omitempty"`
|
||||
Zda struct {
|
||||
Enabled bool `json:"enabled,omitempty"`
|
||||
UpdateRate int `json:"update_rate,omitempty"`
|
||||
} `json:"zda,omitempty"`
|
||||
} `json:"serial,omitempty"`
|
||||
Tcpcli struct {
|
||||
Ebp struct {
|
||||
Enabled bool `json:"enabled,omitempty"`
|
||||
UpdateRate int `json:"update_rate,omitempty"`
|
||||
} `json:"ebp,omitempty"`
|
||||
Gga struct {
|
||||
Enabled bool `json:"enabled,omitempty"`
|
||||
UpdateRate int `json:"update_rate,omitempty"`
|
||||
} `json:"gga,omitempty"`
|
||||
Gsa struct {
|
||||
Enabled bool `json:"enabled,omitempty"`
|
||||
UpdateRate int `json:"update_rate,omitempty"`
|
||||
} `json:"gsa,omitempty"`
|
||||
Gst struct {
|
||||
Enabled bool `json:"enabled,omitempty"`
|
||||
UpdateRate int `json:"update_rate,omitempty"`
|
||||
} `json:"gst,omitempty"`
|
||||
Gsv struct {
|
||||
Enabled bool `json:"enabled,omitempty"`
|
||||
UpdateRate int `json:"update_rate,omitempty"`
|
||||
} `json:"gsv,omitempty"`
|
||||
MainTalkerID string `json:"main_talker_id,omitempty"`
|
||||
Rmc struct {
|
||||
Enabled bool `json:"enabled,omitempty"`
|
||||
UpdateRate int `json:"update_rate,omitempty"`
|
||||
} `json:"rmc,omitempty"`
|
||||
Vtg struct {
|
||||
Enabled bool `json:"enabled,omitempty"`
|
||||
UpdateRate int `json:"update_rate,omitempty"`
|
||||
} `json:"vtg,omitempty"`
|
||||
Zda struct {
|
||||
Enabled bool `json:"enabled,omitempty"`
|
||||
UpdateRate int `json:"update_rate,omitempty"`
|
||||
} `json:"zda,omitempty"`
|
||||
} `json:"tcpcli,omitempty"`
|
||||
Tcpsvr struct {
|
||||
Ebp struct {
|
||||
Enabled bool `json:"enabled,omitempty"`
|
||||
UpdateRate int `json:"update_rate,omitempty"`
|
||||
} `json:"ebp,omitempty"`
|
||||
Gga struct {
|
||||
Enabled bool `json:"enabled,omitempty"`
|
||||
UpdateRate int `json:"update_rate,omitempty"`
|
||||
} `json:"gga,omitempty"`
|
||||
Gsa struct {
|
||||
Enabled bool `json:"enabled,omitempty"`
|
||||
UpdateRate int `json:"update_rate,omitempty"`
|
||||
} `json:"gsa,omitempty"`
|
||||
Gst struct {
|
||||
Enabled bool `json:"enabled,omitempty"`
|
||||
UpdateRate int `json:"update_rate,omitempty"`
|
||||
} `json:"gst,omitempty"`
|
||||
Gsv struct {
|
||||
Enabled bool `json:"enabled,omitempty"`
|
||||
UpdateRate int `json:"update_rate,omitempty"`
|
||||
} `json:"gsv,omitempty"`
|
||||
MainTalkerID string `json:"main_talker_id,omitempty"`
|
||||
Rmc struct {
|
||||
Enabled bool `json:"enabled,omitempty"`
|
||||
UpdateRate int `json:"update_rate,omitempty"`
|
||||
} `json:"rmc,omitempty"`
|
||||
Vtg struct {
|
||||
Enabled bool `json:"enabled,omitempty"`
|
||||
UpdateRate int `json:"update_rate,omitempty"`
|
||||
} `json:"vtg,omitempty"`
|
||||
Zda struct {
|
||||
Enabled bool `json:"enabled,omitempty"`
|
||||
UpdateRate int `json:"update_rate,omitempty"`
|
||||
} `json:"zda,omitempty"`
|
||||
} `json:"tcpsvr,omitempty"`
|
||||
} `json:"nmea_settings,omitempty"`
|
||||
Settings struct {
|
||||
Bluetooth struct {
|
||||
Format string `json:"format,omitempty"`
|
||||
} `json:"bluetooth,omitempty"`
|
||||
Serial struct {
|
||||
BaudRate int `json:"baud_rate,omitempty"`
|
||||
Device string `json:"device,omitempty"`
|
||||
Format string `json:"format,omitempty"`
|
||||
} `json:"serial,omitempty"`
|
||||
Tcpcli struct {
|
||||
Address string `json:"address,omitempty"`
|
||||
Format string `json:"format,omitempty"`
|
||||
Port int `json:"port,omitempty"`
|
||||
} `json:"tcpcli,omitempty"`
|
||||
Tcpsvr struct {
|
||||
Format string `json:"format,omitempty"`
|
||||
Port int `json:"port,omitempty"`
|
||||
} `json:"tcpsvr,omitempty"`
|
||||
} `json:"settings,omitempty"`
|
||||
} `json:"output2,omitempty"`
|
||||
} `json:"position_output,omitempty"`
|
||||
PositioningSettings struct {
|
||||
ElevationMaskAngle int `json:"elevation_mask_angle,omitempty"`
|
||||
GlonassArMode bool `json:"glonass_ar_mode,omitempty"`
|
||||
GnssSettings struct {
|
||||
PositioningSystems struct {
|
||||
Beidou bool `json:"beidou,omitempty"`
|
||||
Galileo bool `json:"galileo,omitempty"`
|
||||
Glonass bool `json:"glonass,omitempty"`
|
||||
Gps bool `json:"gps,omitempty"`
|
||||
Qzss bool `json:"qzss,omitempty"`
|
||||
} `json:"positioning_systems,omitempty"`
|
||||
UpdateRate int `json:"update_rate,omitempty"`
|
||||
} `json:"gnss_settings,omitempty"`
|
||||
GpsArMode string `json:"gps_ar_mode,omitempty"`
|
||||
MaxHorizontalAcceleration int `json:"max_horizontal_acceleration,omitempty"`
|
||||
MaxVerticalAcceleration int `json:"max_vertical_acceleration,omitempty"`
|
||||
PositioningMode string `json:"positioning_mode,omitempty"`
|
||||
SnrMask int `json:"snr_mask,omitempty"`
|
||||
} `json:"positioning_settings,omitempty"`
|
||||
Sound struct {
|
||||
Mute bool `json:"mute,omitempty"`
|
||||
Volume int `json:"volume,omitempty"`
|
||||
} `json:"sound,omitempty"`
|
||||
}
|
Reference in New Issue
Block a user