Copyright | Copyright (C) 2015-2018 Swift Navigation Inc. |
---|---|
License | MIT |
Stability | experimental |
Portability | portable |
Safe Haskell | None |
Language | Haskell2010 |
SwiftNav.SBP.Piksi
Description
< System health, configuration, and diagnostic messages specific to the Piksi L1 receiver, including a variety of legacy messages that may no longer be used. >
Synopsis
- data MsgAlmanac = MsgAlmanac
- msgAlmanac :: Word16
- data MsgSetTime = MsgSetTime
- msgSetTime :: Word16
- data MsgReset = MsgReset {}
- msgReset :: Word16
- data MsgResetDep = MsgResetDep
- msgReset_flags :: Iso' MsgReset Word32
- msgResetDep :: Word16
- data MsgCwResults = MsgCwResults
- msgCwResults :: Word16
- data MsgCwStart = MsgCwStart
- msgCwStart :: Word16
- data MsgResetFilters = MsgResetFilters {}
- msgResetFilters :: Word16
- data MsgInitBaseDep = MsgInitBaseDep
- msgResetFilters_filter :: Iso' MsgResetFilters Word8
- msgInitBaseDep :: Word16
- data MsgThreadState = MsgThreadState {}
- msgThreadState :: Word16
- data UARTChannel = UARTChannel {}
- msgThreadState_cpu :: Lens' MsgThreadState Word16
- msgThreadState_name :: Lens' MsgThreadState Text
- msgThreadState_stack_free :: Lens' MsgThreadState Word32
- data Period = Period {
- _period_avg :: !Int32
- _period_pmin :: !Int32
- _period_pmax :: !Int32
- _period_current :: !Int32
- uARTChannel_crc_error_count :: Lens' UARTChannel Word16
- uARTChannel_io_error_count :: Lens' UARTChannel Word16
- uARTChannel_rx_buffer_level :: Lens' UARTChannel Word8
- uARTChannel_rx_throughput :: Lens' UARTChannel Float
- uARTChannel_tx_buffer_level :: Lens' UARTChannel Word8
- uARTChannel_tx_throughput :: Lens' UARTChannel Float
- data Latency = Latency {
- _latency_avg :: !Int32
- _latency_lmin :: !Int32
- _latency_lmax :: !Int32
- _latency_current :: !Int32
- period_avg :: Lens' Period Int32
- period_current :: Lens' Period Int32
- period_pmax :: Lens' Period Int32
- period_pmin :: Lens' Period Int32
- data MsgUartState = MsgUartState {}
- latency_avg :: Lens' Latency Int32
- latency_current :: Lens' Latency Int32
- latency_lmax :: Lens' Latency Int32
- latency_lmin :: Lens' Latency Int32
- msgUartState :: Word16
- data MsgUartStateDepa = MsgUartStateDepa {}
- msgUartState_latency :: Lens' MsgUartState Latency
- msgUartState_obs_period :: Lens' MsgUartState Period
- msgUartState_uart_a :: Lens' MsgUartState UARTChannel
- msgUartState_uart_b :: Lens' MsgUartState UARTChannel
- msgUartState_uart_ftdi :: Lens' MsgUartState UARTChannel
- msgUartStateDepa :: Word16
- data MsgIarState = MsgIarState {}
- msgUartStateDepa_latency :: Lens' MsgUartStateDepa Latency
- msgUartStateDepa_uart_a :: Lens' MsgUartStateDepa UARTChannel
- msgUartStateDepa_uart_b :: Lens' MsgUartStateDepa UARTChannel
- msgUartStateDepa_uart_ftdi :: Lens' MsgUartStateDepa UARTChannel
- msgIarState :: Word16
- data MsgMaskSatellite = MsgMaskSatellite {}
- msgIarState_num_hyps :: Iso' MsgIarState Word32
- msgMaskSatellite :: Word16
- data MsgMaskSatelliteDep = MsgMaskSatelliteDep {}
- msgMaskSatellite_mask :: Lens' MsgMaskSatellite Word8
- msgMaskSatellite_sid :: Lens' MsgMaskSatellite GnssSignal
- msgMaskSatelliteDep :: Word16
- data MsgDeviceMonitor = MsgDeviceMonitor {}
- msgMaskSatelliteDep_mask :: Lens' MsgMaskSatelliteDep Word8
- msgMaskSatelliteDep_sid :: Lens' MsgMaskSatelliteDep GnssSignalDep
- msgDeviceMonitor :: Word16
- data MsgCommandReq = MsgCommandReq {}
- msgDeviceMonitor_cpu_temperature :: Lens' MsgDeviceMonitor Int16
- msgDeviceMonitor_cpu_vaux :: Lens' MsgDeviceMonitor Int16
- msgDeviceMonitor_cpu_vint :: Lens' MsgDeviceMonitor Int16
- msgDeviceMonitor_dev_vin :: Lens' MsgDeviceMonitor Int16
- msgDeviceMonitor_fe_temperature :: Lens' MsgDeviceMonitor Int16
- msgCommandReq :: Word16
- data MsgCommandResp = MsgCommandResp {}
- msgCommandReq_command :: Lens' MsgCommandReq Text
- msgCommandReq_sequence :: Lens' MsgCommandReq Word32
- msgCommandResp :: Word16
- data MsgCommandOutput = MsgCommandOutput {}
- msgCommandResp_code :: Lens' MsgCommandResp Int32
- msgCommandResp_sequence :: Lens' MsgCommandResp Word32
- msgCommandOutput :: Word16
- data MsgNetworkStateReq = MsgNetworkStateReq
- msgCommandOutput_line :: Lens' MsgCommandOutput Text
- msgCommandOutput_sequence :: Lens' MsgCommandOutput Word32
- msgNetworkStateReq :: Word16
- data MsgNetworkStateResp = MsgNetworkStateResp {
- _msgNetworkStateResp_ipv4_address :: ![Word8]
- _msgNetworkStateResp_ipv4_mask_size :: !Word8
- _msgNetworkStateResp_ipv6_address :: ![Word8]
- _msgNetworkStateResp_ipv6_mask_size :: !Word8
- _msgNetworkStateResp_rx_bytes :: !Word32
- _msgNetworkStateResp_tx_bytes :: !Word32
- _msgNetworkStateResp_interface_name :: !Text
- _msgNetworkStateResp_flags :: !Word32
- msgNetworkStateResp :: Word16
- data NetworkUsage = NetworkUsage {}
- msgNetworkStateResp_flags :: Lens' MsgNetworkStateResp Word32
- msgNetworkStateResp_interface_name :: Lens' MsgNetworkStateResp Text
- msgNetworkStateResp_ipv4_address :: Lens' MsgNetworkStateResp [Word8]
- msgNetworkStateResp_ipv4_mask_size :: Lens' MsgNetworkStateResp Word8
- msgNetworkStateResp_ipv6_address :: Lens' MsgNetworkStateResp [Word8]
- msgNetworkStateResp_ipv6_mask_size :: Lens' MsgNetworkStateResp Word8
- msgNetworkStateResp_rx_bytes :: Lens' MsgNetworkStateResp Word32
- msgNetworkStateResp_tx_bytes :: Lens' MsgNetworkStateResp Word32
- data MsgNetworkBandwidthUsage = MsgNetworkBandwidthUsage {}
- networkUsage_duration :: Lens' NetworkUsage Word64
- networkUsage_interface_name :: Lens' NetworkUsage Text
- networkUsage_rx_bytes :: Lens' NetworkUsage Word32
- networkUsage_total_bytes :: Lens' NetworkUsage Word64
- networkUsage_tx_bytes :: Lens' NetworkUsage Word32
- msgNetworkBandwidthUsage :: Word16
- data MsgCellModemStatus = MsgCellModemStatus {}
- msgNetworkBandwidthUsage_interfaces :: Iso' MsgNetworkBandwidthUsage [NetworkUsage]
- msgCellModemStatus :: Word16
- data MsgSpecanDep = MsgSpecanDep {}
- msgCellModemStatus_reserved :: Lens' MsgCellModemStatus [Word8]
- msgCellModemStatus_signal_error_rate :: Lens' MsgCellModemStatus Float
- msgCellModemStatus_signal_strength :: Lens' MsgCellModemStatus Int8
- msgSpecanDep :: Word16
- data MsgSpecan = MsgSpecan {}
- msgSpecanDep_amplitude_ref :: Lens' MsgSpecanDep Float
- msgSpecanDep_amplitude_unit :: Lens' MsgSpecanDep Float
- msgSpecanDep_amplitude_value :: Lens' MsgSpecanDep [Word8]
- msgSpecanDep_channel_tag :: Lens' MsgSpecanDep Word16
- msgSpecanDep_freq_ref :: Lens' MsgSpecanDep Float
- msgSpecanDep_freq_step :: Lens' MsgSpecanDep Float
- msgSpecanDep_t :: Lens' MsgSpecanDep GpsTimeDep
- msgSpecan :: Word16
- data MsgFrontEndGain = MsgFrontEndGain {
- _msgFrontEndGain_rf_gain :: ![Int8]
- _msgFrontEndGain_if_gain :: ![Int8]
- msgSpecan_amplitude_ref :: Lens' MsgSpecan Float
- msgSpecan_amplitude_unit :: Lens' MsgSpecan Float
- msgSpecan_amplitude_value :: Lens' MsgSpecan [Word8]
- msgSpecan_channel_tag :: Lens' MsgSpecan Word16
- msgSpecan_freq_ref :: Lens' MsgSpecan Float
- msgSpecan_freq_step :: Lens' MsgSpecan Float
- msgSpecan_t :: Lens' MsgSpecan GpsTime
- msgFrontEndGain :: Word16
- msgFrontEndGain_if_gain :: Lens' MsgFrontEndGain [Int8]
- msgFrontEndGain_rf_gain :: Lens' MsgFrontEndGain [Int8]
Documentation
data MsgAlmanac Source #
SBP class for message MSG_ALMANAC (0x0069).
This is a legacy message for sending and loading a satellite alamanac onto the Piksi's flash memory from the host.
Constructors
MsgAlmanac |
Instances
Eq MsgAlmanac Source # | |
Defined in SwiftNav.SBP.Piksi | |
Read MsgAlmanac Source # | |
Defined in SwiftNav.SBP.Piksi Methods readsPrec :: Int -> ReadS MsgAlmanac # readList :: ReadS [MsgAlmanac] # readPrec :: ReadPrec MsgAlmanac # readListPrec :: ReadPrec [MsgAlmanac] # | |
Show MsgAlmanac Source # | |
Defined in SwiftNav.SBP.Piksi Methods showsPrec :: Int -> MsgAlmanac -> ShowS # show :: MsgAlmanac -> String # showList :: [MsgAlmanac] -> ShowS # | |
ToJSON MsgAlmanac Source # | |
Defined in SwiftNav.SBP.Piksi Methods toJSON :: MsgAlmanac -> Value # toEncoding :: MsgAlmanac -> Encoding # toJSONList :: [MsgAlmanac] -> Value # toEncodingList :: [MsgAlmanac] -> Encoding # | |
FromJSON MsgAlmanac Source # | |
Defined in SwiftNav.SBP.Piksi | |
Binary MsgAlmanac Source # | |
Defined in SwiftNav.SBP.Piksi | |
ToSBP MsgAlmanac Source # | |
Defined in SwiftNav.SBP.Piksi |
msgAlmanac :: Word16 Source #
data MsgSetTime Source #
SBP class for message MSG_SET_TIME (0x0068).
This message sets up timing functionality using a coarse GPS time estimate sent by the host.
Constructors
MsgSetTime |
Instances
Eq MsgSetTime Source # | |
Defined in SwiftNav.SBP.Piksi | |
Read MsgSetTime Source # | |
Defined in SwiftNav.SBP.Piksi Methods readsPrec :: Int -> ReadS MsgSetTime # readList :: ReadS [MsgSetTime] # readPrec :: ReadPrec MsgSetTime # readListPrec :: ReadPrec [MsgSetTime] # | |
Show MsgSetTime Source # | |
Defined in SwiftNav.SBP.Piksi Methods showsPrec :: Int -> MsgSetTime -> ShowS # show :: MsgSetTime -> String # showList :: [MsgSetTime] -> ShowS # | |
ToJSON MsgSetTime Source # | |
Defined in SwiftNav.SBP.Piksi Methods toJSON :: MsgSetTime -> Value # toEncoding :: MsgSetTime -> Encoding # toJSONList :: [MsgSetTime] -> Value # toEncodingList :: [MsgSetTime] -> Encoding # | |
FromJSON MsgSetTime Source # | |
Defined in SwiftNav.SBP.Piksi | |
Binary MsgSetTime Source # | |
Defined in SwiftNav.SBP.Piksi | |
ToSBP MsgSetTime Source # | |
Defined in SwiftNav.SBP.Piksi |
msgSetTime :: Word16 Source #
SBP class for message MSG_RESET (0x00B6).
This message from the host resets the Piksi back into the bootloader.
Constructors
MsgReset | |
Fields
|
data MsgResetDep Source #
SBP class for message MSG_RESET_DEP (0x00B2).
This message from the host resets the Piksi back into the bootloader.
Constructors
MsgResetDep |
Instances
Eq MsgResetDep Source # | |
Defined in SwiftNav.SBP.Piksi | |
Read MsgResetDep Source # | |
Defined in SwiftNav.SBP.Piksi Methods readsPrec :: Int -> ReadS MsgResetDep # readList :: ReadS [MsgResetDep] # readPrec :: ReadPrec MsgResetDep # readListPrec :: ReadPrec [MsgResetDep] # | |
Show MsgResetDep Source # | |
Defined in SwiftNav.SBP.Piksi Methods showsPrec :: Int -> MsgResetDep -> ShowS # show :: MsgResetDep -> String # showList :: [MsgResetDep] -> ShowS # | |
ToJSON MsgResetDep Source # | |
Defined in SwiftNav.SBP.Piksi Methods toJSON :: MsgResetDep -> Value # toEncoding :: MsgResetDep -> Encoding # toJSONList :: [MsgResetDep] -> Value # toEncodingList :: [MsgResetDep] -> Encoding # | |
FromJSON MsgResetDep Source # | |
Defined in SwiftNav.SBP.Piksi | |
Binary MsgResetDep Source # | |
Defined in SwiftNav.SBP.Piksi | |
ToSBP MsgResetDep Source # | |
Defined in SwiftNav.SBP.Piksi |
msgResetDep :: Word16 Source #
data MsgCwResults Source #
SBP class for message MSG_CW_RESULTS (0x00C0).
This is an unused legacy message for result reporting from the CW interference channel on the SwiftNAP. This message will be removed in a future release.
Constructors
MsgCwResults |
Instances
Eq MsgCwResults Source # | |
Defined in SwiftNav.SBP.Piksi | |
Read MsgCwResults Source # | |
Defined in SwiftNav.SBP.Piksi Methods readsPrec :: Int -> ReadS MsgCwResults # readList :: ReadS [MsgCwResults] # | |
Show MsgCwResults Source # | |
Defined in SwiftNav.SBP.Piksi Methods showsPrec :: Int -> MsgCwResults -> ShowS # show :: MsgCwResults -> String # showList :: [MsgCwResults] -> ShowS # | |
ToJSON MsgCwResults Source # | |
Defined in SwiftNav.SBP.Piksi Methods toJSON :: MsgCwResults -> Value # toEncoding :: MsgCwResults -> Encoding # toJSONList :: [MsgCwResults] -> Value # toEncodingList :: [MsgCwResults] -> Encoding # | |
FromJSON MsgCwResults Source # | |
Defined in SwiftNav.SBP.Piksi | |
Binary MsgCwResults Source # | |
Defined in SwiftNav.SBP.Piksi | |
ToSBP MsgCwResults Source # | |
Defined in SwiftNav.SBP.Piksi |
data MsgCwStart Source #
SBP class for message MSG_CW_START (0x00C1).
This is an unused legacy message from the host for starting the CW interference channel on the SwiftNAP. This message will be removed in a future release.
Constructors
MsgCwStart |
Instances
Eq MsgCwStart Source # | |
Defined in SwiftNav.SBP.Piksi | |
Read MsgCwStart Source # | |
Defined in SwiftNav.SBP.Piksi Methods readsPrec :: Int -> ReadS MsgCwStart # readList :: ReadS [MsgCwStart] # readPrec :: ReadPrec MsgCwStart # readListPrec :: ReadPrec [MsgCwStart] # | |
Show MsgCwStart Source # | |
Defined in SwiftNav.SBP.Piksi Methods showsPrec :: Int -> MsgCwStart -> ShowS # show :: MsgCwStart -> String # showList :: [MsgCwStart] -> ShowS # | |
ToJSON MsgCwStart Source # | |
Defined in SwiftNav.SBP.Piksi Methods toJSON :: MsgCwStart -> Value # toEncoding :: MsgCwStart -> Encoding # toJSONList :: [MsgCwStart] -> Value # toEncodingList :: [MsgCwStart] -> Encoding # | |
FromJSON MsgCwStart Source # | |
Defined in SwiftNav.SBP.Piksi | |
Binary MsgCwStart Source # | |
Defined in SwiftNav.SBP.Piksi | |
ToSBP MsgCwStart Source # | |
Defined in SwiftNav.SBP.Piksi |
msgCwStart :: Word16 Source #
data MsgResetFilters Source #
SBP class for message MSG_RESET_FILTERS (0x0022).
This message resets either the DGNSS Kalman filters or Integer Ambiguity Resolution (IAR) process.
Constructors
MsgResetFilters | |
Fields
|
Instances
data MsgInitBaseDep Source #
SBP class for message MSG_INIT_BASE_DEP (0x0023).
Deprecated
Constructors
MsgInitBaseDep |
Instances
data MsgThreadState Source #
SBP class for message MSG_THREAD_STATE (0x0017).
The thread usage message from the device reports real-time operating system (RTOS) thread usage statistics for the named thread. The reported percentage values must be normalized.
Constructors
MsgThreadState | |
Fields
|
Instances
data UARTChannel Source #
UARTChannel.
Throughput, utilization, and error counts on the RX/TX buffers of this UART channel. The reported percentage values must be normalized.
Constructors
UARTChannel | |
Fields
|
Instances
Eq UARTChannel Source # | |
Defined in SwiftNav.SBP.Piksi | |
Read UARTChannel Source # | |
Defined in SwiftNav.SBP.Piksi Methods readsPrec :: Int -> ReadS UARTChannel # readList :: ReadS [UARTChannel] # readPrec :: ReadPrec UARTChannel # readListPrec :: ReadPrec [UARTChannel] # | |
Show UARTChannel Source # | |
Defined in SwiftNav.SBP.Piksi Methods showsPrec :: Int -> UARTChannel -> ShowS # show :: UARTChannel -> String # showList :: [UARTChannel] -> ShowS # | |
ToJSON UARTChannel Source # | |
Defined in SwiftNav.SBP.Piksi Methods toJSON :: UARTChannel -> Value # toEncoding :: UARTChannel -> Encoding # toJSONList :: [UARTChannel] -> Value # toEncodingList :: [UARTChannel] -> Encoding # | |
FromJSON UARTChannel Source # | |
Defined in SwiftNav.SBP.Piksi | |
Binary UARTChannel Source # | |
Defined in SwiftNav.SBP.Piksi |
Period.
Statistics on the period of observations received from the base station. As complete observation sets are received, their time of reception is compared with the prior set''s time of reception. This measurement provides a proxy for link quality as incomplete or missing sets will increase the period. Long periods can cause momentary RTK solution outages.
Constructors
Period | |
Fields
|
Latency.
Statistics on the latency of observations received from the base station. As observation packets are received their GPS time is compared to the current GPS time calculated locally by the receiver to give a precise measurement of the end-to-end communication latency in the system.
Constructors
Latency | |
Fields
|
data MsgUartState Source #
SBP class for message MSG_UART_STATE (0x001D).
The UART message reports data latency and throughput of the UART channels providing SBP I/O. On the default Piksi configuration, UARTs A and B are used for telemetry radios, but can also be host access ports for embedded hosts, or other interfaces in future. The reported percentage values must be normalized. Observations latency and period can be used to assess the health of the differential corrections link. Latency provides the timeliness of received base observations while the period indicates their likelihood of transmission.
Constructors
MsgUartState | |
Fields
|
Instances
Eq MsgUartState Source # | |
Defined in SwiftNav.SBP.Piksi | |
Read MsgUartState Source # | |
Defined in SwiftNav.SBP.Piksi Methods readsPrec :: Int -> ReadS MsgUartState # readList :: ReadS [MsgUartState] # | |
Show MsgUartState Source # | |
Defined in SwiftNav.SBP.Piksi Methods showsPrec :: Int -> MsgUartState -> ShowS # show :: MsgUartState -> String # showList :: [MsgUartState] -> ShowS # | |
ToJSON MsgUartState Source # | |
Defined in SwiftNav.SBP.Piksi Methods toJSON :: MsgUartState -> Value # toEncoding :: MsgUartState -> Encoding # toJSONList :: [MsgUartState] -> Value # toEncodingList :: [MsgUartState] -> Encoding # | |
FromJSON MsgUartState Source # | |
Defined in SwiftNav.SBP.Piksi | |
Binary MsgUartState Source # | |
Defined in SwiftNav.SBP.Piksi | |
ToSBP MsgUartState Source # | |
Defined in SwiftNav.SBP.Piksi |
data MsgUartStateDepa Source #
SBP class for message MSG_UART_STATE_DEPA (0x0018).
Deprecated
Constructors
MsgUartStateDepa | |
Fields
|
Instances
data MsgIarState Source #
SBP class for message MSG_IAR_STATE (0x0019).
This message reports the state of the Integer Ambiguity Resolution (IAR) process, which resolves unknown integer ambiguities from double-differenced carrier-phase measurements from satellite observations.
Constructors
MsgIarState | |
Fields
|
Instances
Eq MsgIarState Source # | |
Defined in SwiftNav.SBP.Piksi | |
Read MsgIarState Source # | |
Defined in SwiftNav.SBP.Piksi Methods readsPrec :: Int -> ReadS MsgIarState # readList :: ReadS [MsgIarState] # readPrec :: ReadPrec MsgIarState # readListPrec :: ReadPrec [MsgIarState] # | |
Show MsgIarState Source # | |
Defined in SwiftNav.SBP.Piksi Methods showsPrec :: Int -> MsgIarState -> ShowS # show :: MsgIarState -> String # showList :: [MsgIarState] -> ShowS # | |
ToJSON MsgIarState Source # | |
Defined in SwiftNav.SBP.Piksi Methods toJSON :: MsgIarState -> Value # toEncoding :: MsgIarState -> Encoding # toJSONList :: [MsgIarState] -> Value # toEncodingList :: [MsgIarState] -> Encoding # | |
FromJSON MsgIarState Source # | |
Defined in SwiftNav.SBP.Piksi | |
Binary MsgIarState Source # | |
Defined in SwiftNav.SBP.Piksi | |
ToSBP MsgIarState Source # | |
Defined in SwiftNav.SBP.Piksi |
msgIarState :: Word16 Source #
data MsgMaskSatellite Source #
SBP class for message MSG_MASK_SATELLITE (0x002B).
This message allows setting a mask to prevent a particular satellite from being used in various Piksi subsystems.
Constructors
MsgMaskSatellite | |
Fields
|
Instances
data MsgMaskSatelliteDep Source #
SBP class for message MSG_MASK_SATELLITE_DEP (0x001B).
Deprecated.
Constructors
MsgMaskSatelliteDep | |
Fields
|
Instances
data MsgDeviceMonitor Source #
SBP class for message MSG_DEVICE_MONITOR (0x00B5).
This message contains temperature and voltage level measurements from the processor's monitoring system and the RF frontend die temperature if available.
Constructors
MsgDeviceMonitor | |
Fields
|
Instances
data MsgCommandReq Source #
SBP class for message MSG_COMMAND_REQ (0x00B8).
Request the recipient to execute an command. Output will be sent in MSG_LOG messages, and the exit code will be returned with MSG_COMMAND_RESP.
Constructors
MsgCommandReq | |
Fields
|
Instances
Eq MsgCommandReq Source # | |
Defined in SwiftNav.SBP.Piksi Methods (==) :: MsgCommandReq -> MsgCommandReq -> Bool # (/=) :: MsgCommandReq -> MsgCommandReq -> Bool # | |
Read MsgCommandReq Source # | |
Defined in SwiftNav.SBP.Piksi Methods readsPrec :: Int -> ReadS MsgCommandReq # readList :: ReadS [MsgCommandReq] # | |
Show MsgCommandReq Source # | |
Defined in SwiftNav.SBP.Piksi Methods showsPrec :: Int -> MsgCommandReq -> ShowS # show :: MsgCommandReq -> String # showList :: [MsgCommandReq] -> ShowS # | |
ToJSON MsgCommandReq Source # | |
Defined in SwiftNav.SBP.Piksi Methods toJSON :: MsgCommandReq -> Value # toEncoding :: MsgCommandReq -> Encoding # toJSONList :: [MsgCommandReq] -> Value # toEncodingList :: [MsgCommandReq] -> Encoding # | |
FromJSON MsgCommandReq Source # | |
Defined in SwiftNav.SBP.Piksi Methods parseJSON :: Value -> Parser MsgCommandReq # parseJSONList :: Value -> Parser [MsgCommandReq] # | |
Binary MsgCommandReq Source # | |
Defined in SwiftNav.SBP.Piksi | |
ToSBP MsgCommandReq Source # | |
Defined in SwiftNav.SBP.Piksi |
data MsgCommandResp Source #
SBP class for message MSG_COMMAND_RESP (0x00B9).
The response to MSG_COMMAND_REQ with the return code of the command. A return code of zero indicates success.
Constructors
MsgCommandResp | |
Fields
|
Instances
data MsgCommandOutput Source #
SBP class for message MSG_COMMAND_OUTPUT (0x00BC).
Returns the standard output and standard error of the command requested by MSG_COMMAND_REQ. The sequence number can be used to filter for filtering the correct command.
Constructors
MsgCommandOutput | |
Fields
|
Instances
data MsgNetworkStateReq Source #
SBP class for message MSG_NETWORK_STATE_REQ (0x00BA).
Request state of Piksi network interfaces. Output will be sent in MSG_NETWORK_STATE_RESP messages.
Constructors
MsgNetworkStateReq |
Instances
data MsgNetworkStateResp Source #
SBP class for message MSG_NETWORK_STATE_RESP (0x00BB).
The state of a network interface on the Piksi. Data is made to reflect output of ifaddrs struct returned by getifaddrs in c.
Constructors
MsgNetworkStateResp | |
Fields
|
Instances
data NetworkUsage Source #
NetworkUsage.
The bandwidth usage for each interface can be reported within this struct and utilize multiple fields to fully specify the type of traffic that is being tracked. As either the interval of collection or the collection time may vary, both a timestamp and period field is provided, though may not necessarily be populated with a value.
Constructors
NetworkUsage | |
Fields
|
Instances
Eq NetworkUsage Source # | |
Defined in SwiftNav.SBP.Piksi | |
Read NetworkUsage Source # | |
Defined in SwiftNav.SBP.Piksi Methods readsPrec :: Int -> ReadS NetworkUsage # readList :: ReadS [NetworkUsage] # | |
Show NetworkUsage Source # | |
Defined in SwiftNav.SBP.Piksi Methods showsPrec :: Int -> NetworkUsage -> ShowS # show :: NetworkUsage -> String # showList :: [NetworkUsage] -> ShowS # | |
ToJSON NetworkUsage Source # | |
Defined in SwiftNav.SBP.Piksi Methods toJSON :: NetworkUsage -> Value # toEncoding :: NetworkUsage -> Encoding # toJSONList :: [NetworkUsage] -> Value # toEncodingList :: [NetworkUsage] -> Encoding # | |
FromJSON NetworkUsage Source # | |
Defined in SwiftNav.SBP.Piksi | |
Binary NetworkUsage Source # | |
Defined in SwiftNav.SBP.Piksi |
data MsgNetworkBandwidthUsage Source #
SBP class for message MSG_NETWORK_BANDWIDTH_USAGE (0x00BD).
The bandwidth usage, a list of usage by interface.
Constructors
MsgNetworkBandwidthUsage | |
Fields
|
Instances
data MsgCellModemStatus Source #
SBP class for message MSG_CELL_MODEM_STATUS (0x00BE).
If a cell modem is present on a piksi device, this message will be send periodically to update the host on the status of the modem and its various parameters.
Constructors
MsgCellModemStatus | |
Fields
|
Instances
data MsgSpecanDep Source #
SBP class for message MSG_SPECAN_DEP (0x0050).
Deprecated.
Constructors
MsgSpecanDep | |
Fields
|
Instances
Eq MsgSpecanDep Source # | |
Defined in SwiftNav.SBP.Piksi | |
Read MsgSpecanDep Source # | |
Defined in SwiftNav.SBP.Piksi Methods readsPrec :: Int -> ReadS MsgSpecanDep # readList :: ReadS [MsgSpecanDep] # | |
Show MsgSpecanDep Source # | |
Defined in SwiftNav.SBP.Piksi Methods showsPrec :: Int -> MsgSpecanDep -> ShowS # show :: MsgSpecanDep -> String # showList :: [MsgSpecanDep] -> ShowS # | |
ToJSON MsgSpecanDep Source # | |
Defined in SwiftNav.SBP.Piksi Methods toJSON :: MsgSpecanDep -> Value # toEncoding :: MsgSpecanDep -> Encoding # toJSONList :: [MsgSpecanDep] -> Value # toEncodingList :: [MsgSpecanDep] -> Encoding # | |
FromJSON MsgSpecanDep Source # | |
Defined in SwiftNav.SBP.Piksi | |
Binary MsgSpecanDep Source # | |
Defined in SwiftNav.SBP.Piksi | |
ToSBP MsgSpecanDep Source # | |
Defined in SwiftNav.SBP.Piksi |
SBP class for message MSG_SPECAN (0x0051).
Spectrum analyzer packet.
Constructors
MsgSpecan | |
Fields
|
data MsgFrontEndGain Source #
SBP class for message MSG_FRONT_END_GAIN (0x00BF).
This message describes the gain of each channel in the receiver frontend. Each gain is encoded as a non-dimensional percentage relative to the maximum range possible for the gain stage of the frontend. By convention, each gain array has 8 entries and the index of the array corresponding to the index of the rf channel in the frontend. A gain of 127 percent encodes that rf channel is not present in the hardware. A negative value implies an error for the particular gain stage as reported by the frontend.
Constructors
MsgFrontEndGain | |
Fields
|