{-# OPTIONS_GHC -fno-warn-unused-imports #-}
{-# LANGUAGE NoImplicitPrelude #-}
{-# LANGUAGE TemplateHaskell #-}
{-# LANGUAGE RecordWildCards #-}
module SwiftNav.SBP.Ssr
( module SwiftNav.SBP.Ssr
) where
import BasicPrelude
import Control.Lens
import Control.Monad.Loops
import Data.Binary
import Data.Binary.Get
import Data.Binary.IEEE754
import Data.Binary.Put
import Data.ByteString.Lazy hiding (ByteString)
import Data.Int
import Data.Word
import SwiftNav.SBP.TH
import SwiftNav.SBP.Types
import SwiftNav.SBP.Gnss
{-# ANN module ("HLint: ignore Use camelCase"::String) #-}
{-# ANN module ("HLint: ignore Redundant do"::String) #-}
{-# ANN module ("HLint: ignore Use newtype instead of data"::String) #-}
data CodeBiasesContent = CodeBiasesContent
{ CodeBiasesContent -> Word8
_codeBiasesContent_code :: !Word8
, CodeBiasesContent -> Int16
_codeBiasesContent_value :: !Int16
} deriving ( Int -> CodeBiasesContent -> ShowS
[CodeBiasesContent] -> ShowS
CodeBiasesContent -> String
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [CodeBiasesContent] -> ShowS
$cshowList :: [CodeBiasesContent] -> ShowS
show :: CodeBiasesContent -> String
$cshow :: CodeBiasesContent -> String
showsPrec :: Int -> CodeBiasesContent -> ShowS
$cshowsPrec :: Int -> CodeBiasesContent -> ShowS
Show, ReadPrec [CodeBiasesContent]
ReadPrec CodeBiasesContent
Int -> ReadS CodeBiasesContent
ReadS [CodeBiasesContent]
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [CodeBiasesContent]
$creadListPrec :: ReadPrec [CodeBiasesContent]
readPrec :: ReadPrec CodeBiasesContent
$creadPrec :: ReadPrec CodeBiasesContent
readList :: ReadS [CodeBiasesContent]
$creadList :: ReadS [CodeBiasesContent]
readsPrec :: Int -> ReadS CodeBiasesContent
$creadsPrec :: Int -> ReadS CodeBiasesContent
Read, CodeBiasesContent -> CodeBiasesContent -> Bool
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: CodeBiasesContent -> CodeBiasesContent -> Bool
$c/= :: CodeBiasesContent -> CodeBiasesContent -> Bool
== :: CodeBiasesContent -> CodeBiasesContent -> Bool
$c== :: CodeBiasesContent -> CodeBiasesContent -> Bool
Eq )
instance Binary CodeBiasesContent where
get :: Get CodeBiasesContent
get = do
Word8
_codeBiasesContent_code <- Get Word8
getWord8
Int16
_codeBiasesContent_value <- (forall a b. (Integral a, Num b) => a -> b
fromIntegral forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
<$> Get Word16
getWord16le)
forall (f :: * -> *) a. Applicative f => a -> f a
pure CodeBiasesContent {Int16
Word8
_codeBiasesContent_value :: Int16
_codeBiasesContent_code :: Word8
_codeBiasesContent_value :: Int16
_codeBiasesContent_code :: Word8
..}
put :: CodeBiasesContent -> Put
put CodeBiasesContent {Int16
Word8
_codeBiasesContent_value :: Int16
_codeBiasesContent_code :: Word8
_codeBiasesContent_value :: CodeBiasesContent -> Int16
_codeBiasesContent_code :: CodeBiasesContent -> Word8
..} = do
Word8 -> Put
putWord8 Word8
_codeBiasesContent_code
(Word16 -> Put
putWord16le forall {k} (cat :: k -> k -> *) (b :: k) (c :: k) (a :: k).
Category cat =>
cat b c -> cat a b -> cat a c
. forall a b. (Integral a, Num b) => a -> b
fromIntegral) Int16
_codeBiasesContent_value
$(makeJSON "_codeBiasesContent_" ''CodeBiasesContent)
$(makeLenses ''CodeBiasesContent)
data PhaseBiasesContent = PhaseBiasesContent
{ PhaseBiasesContent -> Word8
_phaseBiasesContent_code :: !Word8
, PhaseBiasesContent -> Word8
_phaseBiasesContent_integer_indicator :: !Word8
, PhaseBiasesContent -> Word8
_phaseBiasesContent_widelane_integer_indicator :: !Word8
, PhaseBiasesContent -> Word8
_phaseBiasesContent_discontinuity_counter :: !Word8
, PhaseBiasesContent -> Int32
_phaseBiasesContent_bias :: !Int32
} deriving ( Int -> PhaseBiasesContent -> ShowS
[PhaseBiasesContent] -> ShowS
PhaseBiasesContent -> String
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [PhaseBiasesContent] -> ShowS
$cshowList :: [PhaseBiasesContent] -> ShowS
show :: PhaseBiasesContent -> String
$cshow :: PhaseBiasesContent -> String
showsPrec :: Int -> PhaseBiasesContent -> ShowS
$cshowsPrec :: Int -> PhaseBiasesContent -> ShowS
Show, ReadPrec [PhaseBiasesContent]
ReadPrec PhaseBiasesContent
Int -> ReadS PhaseBiasesContent
ReadS [PhaseBiasesContent]
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [PhaseBiasesContent]
$creadListPrec :: ReadPrec [PhaseBiasesContent]
readPrec :: ReadPrec PhaseBiasesContent
$creadPrec :: ReadPrec PhaseBiasesContent
readList :: ReadS [PhaseBiasesContent]
$creadList :: ReadS [PhaseBiasesContent]
readsPrec :: Int -> ReadS PhaseBiasesContent
$creadsPrec :: Int -> ReadS PhaseBiasesContent
Read, PhaseBiasesContent -> PhaseBiasesContent -> Bool
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: PhaseBiasesContent -> PhaseBiasesContent -> Bool
$c/= :: PhaseBiasesContent -> PhaseBiasesContent -> Bool
== :: PhaseBiasesContent -> PhaseBiasesContent -> Bool
$c== :: PhaseBiasesContent -> PhaseBiasesContent -> Bool
Eq )
instance Binary PhaseBiasesContent where
get :: Get PhaseBiasesContent
get = do
Word8
_phaseBiasesContent_code <- Get Word8
getWord8
Word8
_phaseBiasesContent_integer_indicator <- Get Word8
getWord8
Word8
_phaseBiasesContent_widelane_integer_indicator <- Get Word8
getWord8
Word8
_phaseBiasesContent_discontinuity_counter <- Get Word8
getWord8
Int32
_phaseBiasesContent_bias <- (forall a b. (Integral a, Num b) => a -> b
fromIntegral forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
<$> Get Word32
getWord32le)
forall (f :: * -> *) a. Applicative f => a -> f a
pure PhaseBiasesContent {Int32
Word8
_phaseBiasesContent_bias :: Int32
_phaseBiasesContent_discontinuity_counter :: Word8
_phaseBiasesContent_widelane_integer_indicator :: Word8
_phaseBiasesContent_integer_indicator :: Word8
_phaseBiasesContent_code :: Word8
_phaseBiasesContent_bias :: Int32
_phaseBiasesContent_discontinuity_counter :: Word8
_phaseBiasesContent_widelane_integer_indicator :: Word8
_phaseBiasesContent_integer_indicator :: Word8
_phaseBiasesContent_code :: Word8
..}
put :: PhaseBiasesContent -> Put
put PhaseBiasesContent {Int32
Word8
_phaseBiasesContent_bias :: Int32
_phaseBiasesContent_discontinuity_counter :: Word8
_phaseBiasesContent_widelane_integer_indicator :: Word8
_phaseBiasesContent_integer_indicator :: Word8
_phaseBiasesContent_code :: Word8
_phaseBiasesContent_bias :: PhaseBiasesContent -> Int32
_phaseBiasesContent_discontinuity_counter :: PhaseBiasesContent -> Word8
_phaseBiasesContent_widelane_integer_indicator :: PhaseBiasesContent -> Word8
_phaseBiasesContent_integer_indicator :: PhaseBiasesContent -> Word8
_phaseBiasesContent_code :: PhaseBiasesContent -> Word8
..} = do
Word8 -> Put
putWord8 Word8
_phaseBiasesContent_code
Word8 -> Put
putWord8 Word8
_phaseBiasesContent_integer_indicator
Word8 -> Put
putWord8 Word8
_phaseBiasesContent_widelane_integer_indicator
Word8 -> Put
putWord8 Word8
_phaseBiasesContent_discontinuity_counter
(Word32 -> Put
putWord32le forall {k} (cat :: k -> k -> *) (b :: k) (c :: k) (a :: k).
Category cat =>
cat b c -> cat a b -> cat a c
. forall a b. (Integral a, Num b) => a -> b
fromIntegral) Int32
_phaseBiasesContent_bias
$(makeJSON "_phaseBiasesContent_" ''PhaseBiasesContent)
$(makeLenses ''PhaseBiasesContent)
data =
{ :: !Word16
, :: !Word16
, :: !GpsTimeSec
, :: !Word8
, :: !Word8
, :: !Word8
, :: !Word8
} deriving ( Int -> STECHeader -> ShowS
[STECHeader] -> ShowS
STECHeader -> String
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [STECHeader] -> ShowS
$cshowList :: [STECHeader] -> ShowS
show :: STECHeader -> String
$cshow :: STECHeader -> String
showsPrec :: Int -> STECHeader -> ShowS
$cshowsPrec :: Int -> STECHeader -> ShowS
Show, ReadPrec [STECHeader]
ReadPrec STECHeader
Int -> ReadS STECHeader
ReadS [STECHeader]
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [STECHeader]
$creadListPrec :: ReadPrec [STECHeader]
readPrec :: ReadPrec STECHeader
$creadPrec :: ReadPrec STECHeader
readList :: ReadS [STECHeader]
$creadList :: ReadS [STECHeader]
readsPrec :: Int -> ReadS STECHeader
$creadsPrec :: Int -> ReadS STECHeader
Read, STECHeader -> STECHeader -> Bool
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: STECHeader -> STECHeader -> Bool
$c/= :: STECHeader -> STECHeader -> Bool
== :: STECHeader -> STECHeader -> Bool
$c== :: STECHeader -> STECHeader -> Bool
Eq )
instance Binary STECHeader where
get :: Get STECHeader
get = do
Word16
_sTECHeader_tile_set_id <- Get Word16
getWord16le
Word16
_sTECHeader_tile_id <- Get Word16
getWord16le
GpsTimeSec
_sTECHeader_time <- forall t. Binary t => Get t
get
Word8
_sTECHeader_num_msgs <- Get Word8
getWord8
Word8
_sTECHeader_seq_num <- Get Word8
getWord8
Word8
_sTECHeader_update_interval <- Get Word8
getWord8
Word8
_sTECHeader_iod_atmo <- Get Word8
getWord8
forall (f :: * -> *) a. Applicative f => a -> f a
pure STECHeader {Word8
Word16
GpsTimeSec
_sTECHeader_iod_atmo :: Word8
_sTECHeader_update_interval :: Word8
_sTECHeader_seq_num :: Word8
_sTECHeader_num_msgs :: Word8
_sTECHeader_time :: GpsTimeSec
_sTECHeader_tile_id :: Word16
_sTECHeader_tile_set_id :: Word16
_sTECHeader_iod_atmo :: Word8
_sTECHeader_update_interval :: Word8
_sTECHeader_seq_num :: Word8
_sTECHeader_num_msgs :: Word8
_sTECHeader_time :: GpsTimeSec
_sTECHeader_tile_id :: Word16
_sTECHeader_tile_set_id :: Word16
..}
put :: STECHeader -> Put
put STECHeader {Word8
Word16
GpsTimeSec
_sTECHeader_iod_atmo :: Word8
_sTECHeader_update_interval :: Word8
_sTECHeader_seq_num :: Word8
_sTECHeader_num_msgs :: Word8
_sTECHeader_time :: GpsTimeSec
_sTECHeader_tile_id :: Word16
_sTECHeader_tile_set_id :: Word16
_sTECHeader_iod_atmo :: STECHeader -> Word8
_sTECHeader_update_interval :: STECHeader -> Word8
_sTECHeader_seq_num :: STECHeader -> Word8
_sTECHeader_num_msgs :: STECHeader -> Word8
_sTECHeader_time :: STECHeader -> GpsTimeSec
_sTECHeader_tile_id :: STECHeader -> Word16
_sTECHeader_tile_set_id :: STECHeader -> Word16
..} = do
Word16 -> Put
putWord16le Word16
_sTECHeader_tile_set_id
Word16 -> Put
putWord16le Word16
_sTECHeader_tile_id
forall t. Binary t => t -> Put
put GpsTimeSec
_sTECHeader_time
Word8 -> Put
putWord8 Word8
_sTECHeader_num_msgs
Word8 -> Put
putWord8 Word8
_sTECHeader_seq_num
Word8 -> Put
putWord8 Word8
_sTECHeader_update_interval
Word8 -> Put
putWord8 Word8
_sTECHeader_iod_atmo
$(makeJSON "_sTECHeader_" ''STECHeader)
$
data =
{ :: !Word16
, :: !Word16
, :: !GpsTimeSec
, :: !Word16
, :: !Word16
, :: !Word8
, :: !Word8
, :: !Word8
} deriving ( Int -> GriddedCorrectionHeader -> ShowS
[GriddedCorrectionHeader] -> ShowS
GriddedCorrectionHeader -> String
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [GriddedCorrectionHeader] -> ShowS
$cshowList :: [GriddedCorrectionHeader] -> ShowS
show :: GriddedCorrectionHeader -> String
$cshow :: GriddedCorrectionHeader -> String
showsPrec :: Int -> GriddedCorrectionHeader -> ShowS
$cshowsPrec :: Int -> GriddedCorrectionHeader -> ShowS
Show, ReadPrec [GriddedCorrectionHeader]
ReadPrec GriddedCorrectionHeader
Int -> ReadS GriddedCorrectionHeader
ReadS [GriddedCorrectionHeader]
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [GriddedCorrectionHeader]
$creadListPrec :: ReadPrec [GriddedCorrectionHeader]
readPrec :: ReadPrec GriddedCorrectionHeader
$creadPrec :: ReadPrec GriddedCorrectionHeader
readList :: ReadS [GriddedCorrectionHeader]
$creadList :: ReadS [GriddedCorrectionHeader]
readsPrec :: Int -> ReadS GriddedCorrectionHeader
$creadsPrec :: Int -> ReadS GriddedCorrectionHeader
Read, GriddedCorrectionHeader -> GriddedCorrectionHeader -> Bool
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: GriddedCorrectionHeader -> GriddedCorrectionHeader -> Bool
$c/= :: GriddedCorrectionHeader -> GriddedCorrectionHeader -> Bool
== :: GriddedCorrectionHeader -> GriddedCorrectionHeader -> Bool
$c== :: GriddedCorrectionHeader -> GriddedCorrectionHeader -> Bool
Eq )
instance Binary GriddedCorrectionHeader where
get :: Get GriddedCorrectionHeader
get = do
Word16
_griddedCorrectionHeader_tile_set_id <- Get Word16
getWord16le
Word16
_griddedCorrectionHeader_tile_id <- Get Word16
getWord16le
GpsTimeSec
_griddedCorrectionHeader_time <- forall t. Binary t => Get t
get
Word16
_griddedCorrectionHeader_num_msgs <- Get Word16
getWord16le
Word16
_griddedCorrectionHeader_seq_num <- Get Word16
getWord16le
Word8
_griddedCorrectionHeader_update_interval <- Get Word8
getWord8
Word8
_griddedCorrectionHeader_iod_atmo <- Get Word8
getWord8
Word8
_griddedCorrectionHeader_tropo_quality_indicator <- Get Word8
getWord8
forall (f :: * -> *) a. Applicative f => a -> f a
pure GriddedCorrectionHeader {Word8
Word16
GpsTimeSec
_griddedCorrectionHeader_tropo_quality_indicator :: Word8
_griddedCorrectionHeader_iod_atmo :: Word8
_griddedCorrectionHeader_update_interval :: Word8
_griddedCorrectionHeader_seq_num :: Word16
_griddedCorrectionHeader_num_msgs :: Word16
_griddedCorrectionHeader_time :: GpsTimeSec
_griddedCorrectionHeader_tile_id :: Word16
_griddedCorrectionHeader_tile_set_id :: Word16
_griddedCorrectionHeader_tropo_quality_indicator :: Word8
_griddedCorrectionHeader_iod_atmo :: Word8
_griddedCorrectionHeader_update_interval :: Word8
_griddedCorrectionHeader_seq_num :: Word16
_griddedCorrectionHeader_num_msgs :: Word16
_griddedCorrectionHeader_time :: GpsTimeSec
_griddedCorrectionHeader_tile_id :: Word16
_griddedCorrectionHeader_tile_set_id :: Word16
..}
put :: GriddedCorrectionHeader -> Put
put GriddedCorrectionHeader {Word8
Word16
GpsTimeSec
_griddedCorrectionHeader_tropo_quality_indicator :: Word8
_griddedCorrectionHeader_iod_atmo :: Word8
_griddedCorrectionHeader_update_interval :: Word8
_griddedCorrectionHeader_seq_num :: Word16
_griddedCorrectionHeader_num_msgs :: Word16
_griddedCorrectionHeader_time :: GpsTimeSec
_griddedCorrectionHeader_tile_id :: Word16
_griddedCorrectionHeader_tile_set_id :: Word16
_griddedCorrectionHeader_tropo_quality_indicator :: GriddedCorrectionHeader -> Word8
_griddedCorrectionHeader_iod_atmo :: GriddedCorrectionHeader -> Word8
_griddedCorrectionHeader_update_interval :: GriddedCorrectionHeader -> Word8
_griddedCorrectionHeader_seq_num :: GriddedCorrectionHeader -> Word16
_griddedCorrectionHeader_num_msgs :: GriddedCorrectionHeader -> Word16
_griddedCorrectionHeader_time :: GriddedCorrectionHeader -> GpsTimeSec
_griddedCorrectionHeader_tile_id :: GriddedCorrectionHeader -> Word16
_griddedCorrectionHeader_tile_set_id :: GriddedCorrectionHeader -> Word16
..} = do
Word16 -> Put
putWord16le Word16
_griddedCorrectionHeader_tile_set_id
Word16 -> Put
putWord16le Word16
_griddedCorrectionHeader_tile_id
forall t. Binary t => t -> Put
put GpsTimeSec
_griddedCorrectionHeader_time
Word16 -> Put
putWord16le Word16
_griddedCorrectionHeader_num_msgs
Word16 -> Put
putWord16le Word16
_griddedCorrectionHeader_seq_num
Word8 -> Put
putWord8 Word8
_griddedCorrectionHeader_update_interval
Word8 -> Put
putWord8 Word8
_griddedCorrectionHeader_iod_atmo
Word8 -> Put
putWord8 Word8
_griddedCorrectionHeader_tropo_quality_indicator
$(makeJSON "_griddedCorrectionHeader_" ''GriddedCorrectionHeader)
$
data STECSatElement = STECSatElement
{ STECSatElement -> SvId
_sTECSatElement_sv_id :: !SvId
, STECSatElement -> Word8
_sTECSatElement_stec_quality_indicator :: !Word8
, STECSatElement -> [Int16]
_sTECSatElement_stec_coeff :: ![Int16]
} deriving ( Int -> STECSatElement -> ShowS
[STECSatElement] -> ShowS
STECSatElement -> String
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [STECSatElement] -> ShowS
$cshowList :: [STECSatElement] -> ShowS
show :: STECSatElement -> String
$cshow :: STECSatElement -> String
showsPrec :: Int -> STECSatElement -> ShowS
$cshowsPrec :: Int -> STECSatElement -> ShowS
Show, ReadPrec [STECSatElement]
ReadPrec STECSatElement
Int -> ReadS STECSatElement
ReadS [STECSatElement]
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [STECSatElement]
$creadListPrec :: ReadPrec [STECSatElement]
readPrec :: ReadPrec STECSatElement
$creadPrec :: ReadPrec STECSatElement
readList :: ReadS [STECSatElement]
$creadList :: ReadS [STECSatElement]
readsPrec :: Int -> ReadS STECSatElement
$creadsPrec :: Int -> ReadS STECSatElement
Read, STECSatElement -> STECSatElement -> Bool
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: STECSatElement -> STECSatElement -> Bool
$c/= :: STECSatElement -> STECSatElement -> Bool
== :: STECSatElement -> STECSatElement -> Bool
$c== :: STECSatElement -> STECSatElement -> Bool
Eq )
instance Binary STECSatElement where
get :: Get STECSatElement
get = do
SvId
_sTECSatElement_sv_id <- forall t. Binary t => Get t
get
Word8
_sTECSatElement_stec_quality_indicator <- Get Word8
getWord8
[Int16]
_sTECSatElement_stec_coeff <- forall (m :: * -> *) a. Applicative m => Int -> m a -> m [a]
replicateM Int
4 (forall a b. (Integral a, Num b) => a -> b
fromIntegral forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
<$> Get Word16
getWord16le)
forall (f :: * -> *) a. Applicative f => a -> f a
pure STECSatElement {[Int16]
Word8
SvId
_sTECSatElement_stec_coeff :: [Int16]
_sTECSatElement_stec_quality_indicator :: Word8
_sTECSatElement_sv_id :: SvId
_sTECSatElement_stec_coeff :: [Int16]
_sTECSatElement_stec_quality_indicator :: Word8
_sTECSatElement_sv_id :: SvId
..}
put :: STECSatElement -> Put
put STECSatElement {[Int16]
Word8
SvId
_sTECSatElement_stec_coeff :: [Int16]
_sTECSatElement_stec_quality_indicator :: Word8
_sTECSatElement_sv_id :: SvId
_sTECSatElement_stec_coeff :: STECSatElement -> [Int16]
_sTECSatElement_stec_quality_indicator :: STECSatElement -> Word8
_sTECSatElement_sv_id :: STECSatElement -> SvId
..} = do
forall t. Binary t => t -> Put
put SvId
_sTECSatElement_sv_id
Word8 -> Put
putWord8 Word8
_sTECSatElement_stec_quality_indicator
forall (t :: * -> *) (m :: * -> *) a b.
(Foldable t, Monad m) =>
(a -> m b) -> t a -> m ()
mapM_ (Word16 -> Put
putWord16le forall {k} (cat :: k -> k -> *) (b :: k) (c :: k) (a :: k).
Category cat =>
cat b c -> cat a b -> cat a c
. forall a b. (Integral a, Num b) => a -> b
fromIntegral) [Int16]
_sTECSatElement_stec_coeff
$(makeJSON "_sTECSatElement_" ''STECSatElement)
$(makeLenses ''STECSatElement)
data TroposphericDelayCorrectionNoStd = TroposphericDelayCorrectionNoStd
{ TroposphericDelayCorrectionNoStd -> Int16
_troposphericDelayCorrectionNoStd_hydro :: !Int16
, TroposphericDelayCorrectionNoStd -> Int8
_troposphericDelayCorrectionNoStd_wet :: !Int8
} deriving ( Int -> TroposphericDelayCorrectionNoStd -> ShowS
[TroposphericDelayCorrectionNoStd] -> ShowS
TroposphericDelayCorrectionNoStd -> String
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [TroposphericDelayCorrectionNoStd] -> ShowS
$cshowList :: [TroposphericDelayCorrectionNoStd] -> ShowS
show :: TroposphericDelayCorrectionNoStd -> String
$cshow :: TroposphericDelayCorrectionNoStd -> String
showsPrec :: Int -> TroposphericDelayCorrectionNoStd -> ShowS
$cshowsPrec :: Int -> TroposphericDelayCorrectionNoStd -> ShowS
Show, ReadPrec [TroposphericDelayCorrectionNoStd]
ReadPrec TroposphericDelayCorrectionNoStd
Int -> ReadS TroposphericDelayCorrectionNoStd
ReadS [TroposphericDelayCorrectionNoStd]
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [TroposphericDelayCorrectionNoStd]
$creadListPrec :: ReadPrec [TroposphericDelayCorrectionNoStd]
readPrec :: ReadPrec TroposphericDelayCorrectionNoStd
$creadPrec :: ReadPrec TroposphericDelayCorrectionNoStd
readList :: ReadS [TroposphericDelayCorrectionNoStd]
$creadList :: ReadS [TroposphericDelayCorrectionNoStd]
readsPrec :: Int -> ReadS TroposphericDelayCorrectionNoStd
$creadsPrec :: Int -> ReadS TroposphericDelayCorrectionNoStd
Read, TroposphericDelayCorrectionNoStd
-> TroposphericDelayCorrectionNoStd -> Bool
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: TroposphericDelayCorrectionNoStd
-> TroposphericDelayCorrectionNoStd -> Bool
$c/= :: TroposphericDelayCorrectionNoStd
-> TroposphericDelayCorrectionNoStd -> Bool
== :: TroposphericDelayCorrectionNoStd
-> TroposphericDelayCorrectionNoStd -> Bool
$c== :: TroposphericDelayCorrectionNoStd
-> TroposphericDelayCorrectionNoStd -> Bool
Eq )
instance Binary TroposphericDelayCorrectionNoStd where
get :: Get TroposphericDelayCorrectionNoStd
get = do
Int16
_troposphericDelayCorrectionNoStd_hydro <- (forall a b. (Integral a, Num b) => a -> b
fromIntegral forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
<$> Get Word16
getWord16le)
Int8
_troposphericDelayCorrectionNoStd_wet <- (forall a b. (Integral a, Num b) => a -> b
fromIntegral forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
<$> Get Word8
getWord8)
forall (f :: * -> *) a. Applicative f => a -> f a
pure TroposphericDelayCorrectionNoStd {Int8
Int16
_troposphericDelayCorrectionNoStd_wet :: Int8
_troposphericDelayCorrectionNoStd_hydro :: Int16
_troposphericDelayCorrectionNoStd_wet :: Int8
_troposphericDelayCorrectionNoStd_hydro :: Int16
..}
put :: TroposphericDelayCorrectionNoStd -> Put
put TroposphericDelayCorrectionNoStd {Int8
Int16
_troposphericDelayCorrectionNoStd_wet :: Int8
_troposphericDelayCorrectionNoStd_hydro :: Int16
_troposphericDelayCorrectionNoStd_wet :: TroposphericDelayCorrectionNoStd -> Int8
_troposphericDelayCorrectionNoStd_hydro :: TroposphericDelayCorrectionNoStd -> Int16
..} = do
(Word16 -> Put
putWord16le forall {k} (cat :: k -> k -> *) (b :: k) (c :: k) (a :: k).
Category cat =>
cat b c -> cat a b -> cat a c
. forall a b. (Integral a, Num b) => a -> b
fromIntegral) Int16
_troposphericDelayCorrectionNoStd_hydro
(Word8 -> Put
putWord8 forall {k} (cat :: k -> k -> *) (b :: k) (c :: k) (a :: k).
Category cat =>
cat b c -> cat a b -> cat a c
. forall a b. (Integral a, Num b) => a -> b
fromIntegral) Int8
_troposphericDelayCorrectionNoStd_wet
$(makeJSON "_troposphericDelayCorrectionNoStd_" ''TroposphericDelayCorrectionNoStd)
$(makeLenses ''TroposphericDelayCorrectionNoStd)
data TroposphericDelayCorrection = TroposphericDelayCorrection
{ TroposphericDelayCorrection -> Int16
_troposphericDelayCorrection_hydro :: !Int16
, TroposphericDelayCorrection -> Int8
_troposphericDelayCorrection_wet :: !Int8
, TroposphericDelayCorrection -> Word8
_troposphericDelayCorrection_stddev :: !Word8
} deriving ( Int -> TroposphericDelayCorrection -> ShowS
[TroposphericDelayCorrection] -> ShowS
TroposphericDelayCorrection -> String
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [TroposphericDelayCorrection] -> ShowS
$cshowList :: [TroposphericDelayCorrection] -> ShowS
show :: TroposphericDelayCorrection -> String
$cshow :: TroposphericDelayCorrection -> String
showsPrec :: Int -> TroposphericDelayCorrection -> ShowS
$cshowsPrec :: Int -> TroposphericDelayCorrection -> ShowS
Show, ReadPrec [TroposphericDelayCorrection]
ReadPrec TroposphericDelayCorrection
Int -> ReadS TroposphericDelayCorrection
ReadS [TroposphericDelayCorrection]
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [TroposphericDelayCorrection]
$creadListPrec :: ReadPrec [TroposphericDelayCorrection]
readPrec :: ReadPrec TroposphericDelayCorrection
$creadPrec :: ReadPrec TroposphericDelayCorrection
readList :: ReadS [TroposphericDelayCorrection]
$creadList :: ReadS [TroposphericDelayCorrection]
readsPrec :: Int -> ReadS TroposphericDelayCorrection
$creadsPrec :: Int -> ReadS TroposphericDelayCorrection
Read, TroposphericDelayCorrection -> TroposphericDelayCorrection -> Bool
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: TroposphericDelayCorrection -> TroposphericDelayCorrection -> Bool
$c/= :: TroposphericDelayCorrection -> TroposphericDelayCorrection -> Bool
== :: TroposphericDelayCorrection -> TroposphericDelayCorrection -> Bool
$c== :: TroposphericDelayCorrection -> TroposphericDelayCorrection -> Bool
Eq )
instance Binary TroposphericDelayCorrection where
get :: Get TroposphericDelayCorrection
get = do
Int16
_troposphericDelayCorrection_hydro <- (forall a b. (Integral a, Num b) => a -> b
fromIntegral forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
<$> Get Word16
getWord16le)
Int8
_troposphericDelayCorrection_wet <- (forall a b. (Integral a, Num b) => a -> b
fromIntegral forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
<$> Get Word8
getWord8)
Word8
_troposphericDelayCorrection_stddev <- Get Word8
getWord8
forall (f :: * -> *) a. Applicative f => a -> f a
pure TroposphericDelayCorrection {Int8
Int16
Word8
_troposphericDelayCorrection_stddev :: Word8
_troposphericDelayCorrection_wet :: Int8
_troposphericDelayCorrection_hydro :: Int16
_troposphericDelayCorrection_stddev :: Word8
_troposphericDelayCorrection_wet :: Int8
_troposphericDelayCorrection_hydro :: Int16
..}
put :: TroposphericDelayCorrection -> Put
put TroposphericDelayCorrection {Int8
Int16
Word8
_troposphericDelayCorrection_stddev :: Word8
_troposphericDelayCorrection_wet :: Int8
_troposphericDelayCorrection_hydro :: Int16
_troposphericDelayCorrection_stddev :: TroposphericDelayCorrection -> Word8
_troposphericDelayCorrection_wet :: TroposphericDelayCorrection -> Int8
_troposphericDelayCorrection_hydro :: TroposphericDelayCorrection -> Int16
..} = do
(Word16 -> Put
putWord16le forall {k} (cat :: k -> k -> *) (b :: k) (c :: k) (a :: k).
Category cat =>
cat b c -> cat a b -> cat a c
. forall a b. (Integral a, Num b) => a -> b
fromIntegral) Int16
_troposphericDelayCorrection_hydro
(Word8 -> Put
putWord8 forall {k} (cat :: k -> k -> *) (b :: k) (c :: k) (a :: k).
Category cat =>
cat b c -> cat a b -> cat a c
. forall a b. (Integral a, Num b) => a -> b
fromIntegral) Int8
_troposphericDelayCorrection_wet
Word8 -> Put
putWord8 Word8
_troposphericDelayCorrection_stddev
$(makeJSON "_troposphericDelayCorrection_" ''TroposphericDelayCorrection)
$(makeLenses ''TroposphericDelayCorrection)
data STECResidualNoStd = STECResidualNoStd
{ STECResidualNoStd -> SvId
_sTECResidualNoStd_sv_id :: !SvId
, STECResidualNoStd -> Int16
_sTECResidualNoStd_residual :: !Int16
} deriving ( Int -> STECResidualNoStd -> ShowS
[STECResidualNoStd] -> ShowS
STECResidualNoStd -> String
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [STECResidualNoStd] -> ShowS
$cshowList :: [STECResidualNoStd] -> ShowS
show :: STECResidualNoStd -> String
$cshow :: STECResidualNoStd -> String
showsPrec :: Int -> STECResidualNoStd -> ShowS
$cshowsPrec :: Int -> STECResidualNoStd -> ShowS
Show, ReadPrec [STECResidualNoStd]
ReadPrec STECResidualNoStd
Int -> ReadS STECResidualNoStd
ReadS [STECResidualNoStd]
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [STECResidualNoStd]
$creadListPrec :: ReadPrec [STECResidualNoStd]
readPrec :: ReadPrec STECResidualNoStd
$creadPrec :: ReadPrec STECResidualNoStd
readList :: ReadS [STECResidualNoStd]
$creadList :: ReadS [STECResidualNoStd]
readsPrec :: Int -> ReadS STECResidualNoStd
$creadsPrec :: Int -> ReadS STECResidualNoStd
Read, STECResidualNoStd -> STECResidualNoStd -> Bool
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: STECResidualNoStd -> STECResidualNoStd -> Bool
$c/= :: STECResidualNoStd -> STECResidualNoStd -> Bool
== :: STECResidualNoStd -> STECResidualNoStd -> Bool
$c== :: STECResidualNoStd -> STECResidualNoStd -> Bool
Eq )
instance Binary STECResidualNoStd where
get :: Get STECResidualNoStd
get = do
SvId
_sTECResidualNoStd_sv_id <- forall t. Binary t => Get t
get
Int16
_sTECResidualNoStd_residual <- (forall a b. (Integral a, Num b) => a -> b
fromIntegral forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
<$> Get Word16
getWord16le)
forall (f :: * -> *) a. Applicative f => a -> f a
pure STECResidualNoStd {Int16
SvId
_sTECResidualNoStd_residual :: Int16
_sTECResidualNoStd_sv_id :: SvId
_sTECResidualNoStd_residual :: Int16
_sTECResidualNoStd_sv_id :: SvId
..}
put :: STECResidualNoStd -> Put
put STECResidualNoStd {Int16
SvId
_sTECResidualNoStd_residual :: Int16
_sTECResidualNoStd_sv_id :: SvId
_sTECResidualNoStd_residual :: STECResidualNoStd -> Int16
_sTECResidualNoStd_sv_id :: STECResidualNoStd -> SvId
..} = do
forall t. Binary t => t -> Put
put SvId
_sTECResidualNoStd_sv_id
(Word16 -> Put
putWord16le forall {k} (cat :: k -> k -> *) (b :: k) (c :: k) (a :: k).
Category cat =>
cat b c -> cat a b -> cat a c
. forall a b. (Integral a, Num b) => a -> b
fromIntegral) Int16
_sTECResidualNoStd_residual
$(makeJSON "_sTECResidualNoStd_" ''STECResidualNoStd)
$(makeLenses ''STECResidualNoStd)
data STECResidual = STECResidual
{ STECResidual -> SvId
_sTECResidual_sv_id :: !SvId
, STECResidual -> Int16
_sTECResidual_residual :: !Int16
, STECResidual -> Word8
_sTECResidual_stddev :: !Word8
} deriving ( Int -> STECResidual -> ShowS
[STECResidual] -> ShowS
STECResidual -> String
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [STECResidual] -> ShowS
$cshowList :: [STECResidual] -> ShowS
show :: STECResidual -> String
$cshow :: STECResidual -> String
showsPrec :: Int -> STECResidual -> ShowS
$cshowsPrec :: Int -> STECResidual -> ShowS
Show, ReadPrec [STECResidual]
ReadPrec STECResidual
Int -> ReadS STECResidual
ReadS [STECResidual]
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [STECResidual]
$creadListPrec :: ReadPrec [STECResidual]
readPrec :: ReadPrec STECResidual
$creadPrec :: ReadPrec STECResidual
readList :: ReadS [STECResidual]
$creadList :: ReadS [STECResidual]
readsPrec :: Int -> ReadS STECResidual
$creadsPrec :: Int -> ReadS STECResidual
Read, STECResidual -> STECResidual -> Bool
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: STECResidual -> STECResidual -> Bool
$c/= :: STECResidual -> STECResidual -> Bool
== :: STECResidual -> STECResidual -> Bool
$c== :: STECResidual -> STECResidual -> Bool
Eq )
instance Binary STECResidual where
get :: Get STECResidual
get = do
SvId
_sTECResidual_sv_id <- forall t. Binary t => Get t
get
Int16
_sTECResidual_residual <- (forall a b. (Integral a, Num b) => a -> b
fromIntegral forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
<$> Get Word16
getWord16le)
Word8
_sTECResidual_stddev <- Get Word8
getWord8
forall (f :: * -> *) a. Applicative f => a -> f a
pure STECResidual {Int16
Word8
SvId
_sTECResidual_stddev :: Word8
_sTECResidual_residual :: Int16
_sTECResidual_sv_id :: SvId
_sTECResidual_stddev :: Word8
_sTECResidual_residual :: Int16
_sTECResidual_sv_id :: SvId
..}
put :: STECResidual -> Put
put STECResidual {Int16
Word8
SvId
_sTECResidual_stddev :: Word8
_sTECResidual_residual :: Int16
_sTECResidual_sv_id :: SvId
_sTECResidual_stddev :: STECResidual -> Word8
_sTECResidual_residual :: STECResidual -> Int16
_sTECResidual_sv_id :: STECResidual -> SvId
..} = do
forall t. Binary t => t -> Put
put SvId
_sTECResidual_sv_id
(Word16 -> Put
putWord16le forall {k} (cat :: k -> k -> *) (b :: k) (c :: k) (a :: k).
Category cat =>
cat b c -> cat a b -> cat a c
. forall a b. (Integral a, Num b) => a -> b
fromIntegral) Int16
_sTECResidual_residual
Word8 -> Put
putWord8 Word8
_sTECResidual_stddev
$(makeJSON "_sTECResidual_" ''STECResidual)
$(makeLenses ''STECResidual)
msgSsrOrbitClock :: Word16
msgSsrOrbitClock :: Word16
msgSsrOrbitClock = Word16
0x05DD
data MsgSsrOrbitClock = MsgSsrOrbitClock
{ MsgSsrOrbitClock -> GpsTimeSec
_msgSsrOrbitClock_time :: !GpsTimeSec
, MsgSsrOrbitClock -> GnssSignal
_msgSsrOrbitClock_sid :: !GnssSignal
, MsgSsrOrbitClock -> Word8
_msgSsrOrbitClock_update_interval :: !Word8
, MsgSsrOrbitClock -> Word8
_msgSsrOrbitClock_iod_ssr :: !Word8
, MsgSsrOrbitClock -> Word32
_msgSsrOrbitClock_iod :: !Word32
, MsgSsrOrbitClock -> Int32
_msgSsrOrbitClock_radial :: !Int32
, MsgSsrOrbitClock -> Int32
_msgSsrOrbitClock_along :: !Int32
, MsgSsrOrbitClock -> Int32
_msgSsrOrbitClock_cross :: !Int32
, MsgSsrOrbitClock -> Int32
_msgSsrOrbitClock_dot_radial :: !Int32
, MsgSsrOrbitClock -> Int32
_msgSsrOrbitClock_dot_along :: !Int32
, MsgSsrOrbitClock -> Int32
_msgSsrOrbitClock_dot_cross :: !Int32
, MsgSsrOrbitClock -> Int32
_msgSsrOrbitClock_c0 :: !Int32
, MsgSsrOrbitClock -> Int32
_msgSsrOrbitClock_c1 :: !Int32
, MsgSsrOrbitClock -> Int32
_msgSsrOrbitClock_c2 :: !Int32
} deriving ( Int -> MsgSsrOrbitClock -> ShowS
[MsgSsrOrbitClock] -> ShowS
MsgSsrOrbitClock -> String
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [MsgSsrOrbitClock] -> ShowS
$cshowList :: [MsgSsrOrbitClock] -> ShowS
show :: MsgSsrOrbitClock -> String
$cshow :: MsgSsrOrbitClock -> String
showsPrec :: Int -> MsgSsrOrbitClock -> ShowS
$cshowsPrec :: Int -> MsgSsrOrbitClock -> ShowS
Show, ReadPrec [MsgSsrOrbitClock]
ReadPrec MsgSsrOrbitClock
Int -> ReadS MsgSsrOrbitClock
ReadS [MsgSsrOrbitClock]
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [MsgSsrOrbitClock]
$creadListPrec :: ReadPrec [MsgSsrOrbitClock]
readPrec :: ReadPrec MsgSsrOrbitClock
$creadPrec :: ReadPrec MsgSsrOrbitClock
readList :: ReadS [MsgSsrOrbitClock]
$creadList :: ReadS [MsgSsrOrbitClock]
readsPrec :: Int -> ReadS MsgSsrOrbitClock
$creadsPrec :: Int -> ReadS MsgSsrOrbitClock
Read, MsgSsrOrbitClock -> MsgSsrOrbitClock -> Bool
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: MsgSsrOrbitClock -> MsgSsrOrbitClock -> Bool
$c/= :: MsgSsrOrbitClock -> MsgSsrOrbitClock -> Bool
== :: MsgSsrOrbitClock -> MsgSsrOrbitClock -> Bool
$c== :: MsgSsrOrbitClock -> MsgSsrOrbitClock -> Bool
Eq )
instance Binary MsgSsrOrbitClock where
get :: Get MsgSsrOrbitClock
get = do
GpsTimeSec
_msgSsrOrbitClock_time <- forall t. Binary t => Get t
get
GnssSignal
_msgSsrOrbitClock_sid <- forall t. Binary t => Get t
get
Word8
_msgSsrOrbitClock_update_interval <- Get Word8
getWord8
Word8
_msgSsrOrbitClock_iod_ssr <- Get Word8
getWord8
Word32
_msgSsrOrbitClock_iod <- Get Word32
getWord32le
Int32
_msgSsrOrbitClock_radial <- (forall a b. (Integral a, Num b) => a -> b
fromIntegral forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
<$> Get Word32
getWord32le)
Int32
_msgSsrOrbitClock_along <- (forall a b. (Integral a, Num b) => a -> b
fromIntegral forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
<$> Get Word32
getWord32le)
Int32
_msgSsrOrbitClock_cross <- (forall a b. (Integral a, Num b) => a -> b
fromIntegral forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
<$> Get Word32
getWord32le)
Int32
_msgSsrOrbitClock_dot_radial <- (forall a b. (Integral a, Num b) => a -> b
fromIntegral forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
<$> Get Word32
getWord32le)
Int32
_msgSsrOrbitClock_dot_along <- (forall a b. (Integral a, Num b) => a -> b
fromIntegral forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
<$> Get Word32
getWord32le)
Int32
_msgSsrOrbitClock_dot_cross <- (forall a b. (Integral a, Num b) => a -> b
fromIntegral forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
<$> Get Word32
getWord32le)
Int32
_msgSsrOrbitClock_c0 <- (forall a b. (Integral a, Num b) => a -> b
fromIntegral forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
<$> Get Word32
getWord32le)
Int32
_msgSsrOrbitClock_c1 <- (forall a b. (Integral a, Num b) => a -> b
fromIntegral forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
<$> Get Word32
getWord32le)
Int32
_msgSsrOrbitClock_c2 <- (forall a b. (Integral a, Num b) => a -> b
fromIntegral forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
<$> Get Word32
getWord32le)
forall (f :: * -> *) a. Applicative f => a -> f a
pure MsgSsrOrbitClock {Int32
Word8
Word32
GnssSignal
GpsTimeSec
_msgSsrOrbitClock_c2 :: Int32
_msgSsrOrbitClock_c1 :: Int32
_msgSsrOrbitClock_c0 :: Int32
_msgSsrOrbitClock_dot_cross :: Int32
_msgSsrOrbitClock_dot_along :: Int32
_msgSsrOrbitClock_dot_radial :: Int32
_msgSsrOrbitClock_cross :: Int32
_msgSsrOrbitClock_along :: Int32
_msgSsrOrbitClock_radial :: Int32
_msgSsrOrbitClock_iod :: Word32
_msgSsrOrbitClock_iod_ssr :: Word8
_msgSsrOrbitClock_update_interval :: Word8
_msgSsrOrbitClock_sid :: GnssSignal
_msgSsrOrbitClock_time :: GpsTimeSec
_msgSsrOrbitClock_c2 :: Int32
_msgSsrOrbitClock_c1 :: Int32
_msgSsrOrbitClock_c0 :: Int32
_msgSsrOrbitClock_dot_cross :: Int32
_msgSsrOrbitClock_dot_along :: Int32
_msgSsrOrbitClock_dot_radial :: Int32
_msgSsrOrbitClock_cross :: Int32
_msgSsrOrbitClock_along :: Int32
_msgSsrOrbitClock_radial :: Int32
_msgSsrOrbitClock_iod :: Word32
_msgSsrOrbitClock_iod_ssr :: Word8
_msgSsrOrbitClock_update_interval :: Word8
_msgSsrOrbitClock_sid :: GnssSignal
_msgSsrOrbitClock_time :: GpsTimeSec
..}
put :: MsgSsrOrbitClock -> Put
put MsgSsrOrbitClock {Int32
Word8
Word32
GnssSignal
GpsTimeSec
_msgSsrOrbitClock_c2 :: Int32
_msgSsrOrbitClock_c1 :: Int32
_msgSsrOrbitClock_c0 :: Int32
_msgSsrOrbitClock_dot_cross :: Int32
_msgSsrOrbitClock_dot_along :: Int32
_msgSsrOrbitClock_dot_radial :: Int32
_msgSsrOrbitClock_cross :: Int32
_msgSsrOrbitClock_along :: Int32
_msgSsrOrbitClock_radial :: Int32
_msgSsrOrbitClock_iod :: Word32
_msgSsrOrbitClock_iod_ssr :: Word8
_msgSsrOrbitClock_update_interval :: Word8
_msgSsrOrbitClock_sid :: GnssSignal
_msgSsrOrbitClock_time :: GpsTimeSec
_msgSsrOrbitClock_c2 :: MsgSsrOrbitClock -> Int32
_msgSsrOrbitClock_c1 :: MsgSsrOrbitClock -> Int32
_msgSsrOrbitClock_c0 :: MsgSsrOrbitClock -> Int32
_msgSsrOrbitClock_dot_cross :: MsgSsrOrbitClock -> Int32
_msgSsrOrbitClock_dot_along :: MsgSsrOrbitClock -> Int32
_msgSsrOrbitClock_dot_radial :: MsgSsrOrbitClock -> Int32
_msgSsrOrbitClock_cross :: MsgSsrOrbitClock -> Int32
_msgSsrOrbitClock_along :: MsgSsrOrbitClock -> Int32
_msgSsrOrbitClock_radial :: MsgSsrOrbitClock -> Int32
_msgSsrOrbitClock_iod :: MsgSsrOrbitClock -> Word32
_msgSsrOrbitClock_iod_ssr :: MsgSsrOrbitClock -> Word8
_msgSsrOrbitClock_update_interval :: MsgSsrOrbitClock -> Word8
_msgSsrOrbitClock_sid :: MsgSsrOrbitClock -> GnssSignal
_msgSsrOrbitClock_time :: MsgSsrOrbitClock -> GpsTimeSec
..} = do
forall t. Binary t => t -> Put
put GpsTimeSec
_msgSsrOrbitClock_time
forall t. Binary t => t -> Put
put GnssSignal
_msgSsrOrbitClock_sid
Word8 -> Put
putWord8 Word8
_msgSsrOrbitClock_update_interval
Word8 -> Put
putWord8 Word8
_msgSsrOrbitClock_iod_ssr
Word32 -> Put
putWord32le Word32
_msgSsrOrbitClock_iod
(Word32 -> Put
putWord32le forall {k} (cat :: k -> k -> *) (b :: k) (c :: k) (a :: k).
Category cat =>
cat b c -> cat a b -> cat a c
. forall a b. (Integral a, Num b) => a -> b
fromIntegral) Int32
_msgSsrOrbitClock_radial
(Word32 -> Put
putWord32le forall {k} (cat :: k -> k -> *) (b :: k) (c :: k) (a :: k).
Category cat =>
cat b c -> cat a b -> cat a c
. forall a b. (Integral a, Num b) => a -> b
fromIntegral) Int32
_msgSsrOrbitClock_along
(Word32 -> Put
putWord32le forall {k} (cat :: k -> k -> *) (b :: k) (c :: k) (a :: k).
Category cat =>
cat b c -> cat a b -> cat a c
. forall a b. (Integral a, Num b) => a -> b
fromIntegral) Int32
_msgSsrOrbitClock_cross
(Word32 -> Put
putWord32le forall {k} (cat :: k -> k -> *) (b :: k) (c :: k) (a :: k).
Category cat =>
cat b c -> cat a b -> cat a c
. forall a b. (Integral a, Num b) => a -> b
fromIntegral) Int32
_msgSsrOrbitClock_dot_radial
(Word32 -> Put
putWord32le forall {k} (cat :: k -> k -> *) (b :: k) (c :: k) (a :: k).
Category cat =>
cat b c -> cat a b -> cat a c
. forall a b. (Integral a, Num b) => a -> b
fromIntegral) Int32
_msgSsrOrbitClock_dot_along
(Word32 -> Put
putWord32le forall {k} (cat :: k -> k -> *) (b :: k) (c :: k) (a :: k).
Category cat =>
cat b c -> cat a b -> cat a c
. forall a b. (Integral a, Num b) => a -> b
fromIntegral) Int32
_msgSsrOrbitClock_dot_cross
(Word32 -> Put
putWord32le forall {k} (cat :: k -> k -> *) (b :: k) (c :: k) (a :: k).
Category cat =>
cat b c -> cat a b -> cat a c
. forall a b. (Integral a, Num b) => a -> b
fromIntegral) Int32
_msgSsrOrbitClock_c0
(Word32 -> Put
putWord32le forall {k} (cat :: k -> k -> *) (b :: k) (c :: k) (a :: k).
Category cat =>
cat b c -> cat a b -> cat a c
. forall a b. (Integral a, Num b) => a -> b
fromIntegral) Int32
_msgSsrOrbitClock_c1
(Word32 -> Put
putWord32le forall {k} (cat :: k -> k -> *) (b :: k) (c :: k) (a :: k).
Category cat =>
cat b c -> cat a b -> cat a c
. forall a b. (Integral a, Num b) => a -> b
fromIntegral) Int32
_msgSsrOrbitClock_c2
$(makeSBP 'msgSsrOrbitClock ''MsgSsrOrbitClock)
$(makeJSON "_msgSsrOrbitClock_" ''MsgSsrOrbitClock)
$(makeLenses ''MsgSsrOrbitClock)
msgSsrCodeBiases :: Word16
msgSsrCodeBiases :: Word16
msgSsrCodeBiases = Word16
0x05E1
data MsgSsrCodeBiases = MsgSsrCodeBiases
{ MsgSsrCodeBiases -> GpsTimeSec
_msgSsrCodeBiases_time :: !GpsTimeSec
, MsgSsrCodeBiases -> GnssSignal
_msgSsrCodeBiases_sid :: !GnssSignal
, MsgSsrCodeBiases -> Word8
_msgSsrCodeBiases_update_interval :: !Word8
, MsgSsrCodeBiases -> Word8
_msgSsrCodeBiases_iod_ssr :: !Word8
, MsgSsrCodeBiases -> [CodeBiasesContent]
_msgSsrCodeBiases_biases :: ![CodeBiasesContent]
} deriving ( Int -> MsgSsrCodeBiases -> ShowS
[MsgSsrCodeBiases] -> ShowS
MsgSsrCodeBiases -> String
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [MsgSsrCodeBiases] -> ShowS
$cshowList :: [MsgSsrCodeBiases] -> ShowS
show :: MsgSsrCodeBiases -> String
$cshow :: MsgSsrCodeBiases -> String
showsPrec :: Int -> MsgSsrCodeBiases -> ShowS
$cshowsPrec :: Int -> MsgSsrCodeBiases -> ShowS
Show, ReadPrec [MsgSsrCodeBiases]
ReadPrec MsgSsrCodeBiases
Int -> ReadS MsgSsrCodeBiases
ReadS [MsgSsrCodeBiases]
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [MsgSsrCodeBiases]
$creadListPrec :: ReadPrec [MsgSsrCodeBiases]
readPrec :: ReadPrec MsgSsrCodeBiases
$creadPrec :: ReadPrec MsgSsrCodeBiases
readList :: ReadS [MsgSsrCodeBiases]
$creadList :: ReadS [MsgSsrCodeBiases]
readsPrec :: Int -> ReadS MsgSsrCodeBiases
$creadsPrec :: Int -> ReadS MsgSsrCodeBiases
Read, MsgSsrCodeBiases -> MsgSsrCodeBiases -> Bool
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: MsgSsrCodeBiases -> MsgSsrCodeBiases -> Bool
$c/= :: MsgSsrCodeBiases -> MsgSsrCodeBiases -> Bool
== :: MsgSsrCodeBiases -> MsgSsrCodeBiases -> Bool
$c== :: MsgSsrCodeBiases -> MsgSsrCodeBiases -> Bool
Eq )
instance Binary MsgSsrCodeBiases where
get :: Get MsgSsrCodeBiases
get = do
GpsTimeSec
_msgSsrCodeBiases_time <- forall t. Binary t => Get t
get
GnssSignal
_msgSsrCodeBiases_sid <- forall t. Binary t => Get t
get
Word8
_msgSsrCodeBiases_update_interval <- Get Word8
getWord8
Word8
_msgSsrCodeBiases_iod_ssr <- Get Word8
getWord8
[CodeBiasesContent]
_msgSsrCodeBiases_biases <- forall (m :: * -> *) a. Monad m => m Bool -> m a -> m [a]
whileM (Bool -> Bool
not forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
<$> Get Bool
isEmpty) forall t. Binary t => Get t
get
forall (f :: * -> *) a. Applicative f => a -> f a
pure MsgSsrCodeBiases {[CodeBiasesContent]
Word8
GnssSignal
GpsTimeSec
_msgSsrCodeBiases_biases :: [CodeBiasesContent]
_msgSsrCodeBiases_iod_ssr :: Word8
_msgSsrCodeBiases_update_interval :: Word8
_msgSsrCodeBiases_sid :: GnssSignal
_msgSsrCodeBiases_time :: GpsTimeSec
_msgSsrCodeBiases_biases :: [CodeBiasesContent]
_msgSsrCodeBiases_iod_ssr :: Word8
_msgSsrCodeBiases_update_interval :: Word8
_msgSsrCodeBiases_sid :: GnssSignal
_msgSsrCodeBiases_time :: GpsTimeSec
..}
put :: MsgSsrCodeBiases -> Put
put MsgSsrCodeBiases {[CodeBiasesContent]
Word8
GnssSignal
GpsTimeSec
_msgSsrCodeBiases_biases :: [CodeBiasesContent]
_msgSsrCodeBiases_iod_ssr :: Word8
_msgSsrCodeBiases_update_interval :: Word8
_msgSsrCodeBiases_sid :: GnssSignal
_msgSsrCodeBiases_time :: GpsTimeSec
_msgSsrCodeBiases_biases :: MsgSsrCodeBiases -> [CodeBiasesContent]
_msgSsrCodeBiases_iod_ssr :: MsgSsrCodeBiases -> Word8
_msgSsrCodeBiases_update_interval :: MsgSsrCodeBiases -> Word8
_msgSsrCodeBiases_sid :: MsgSsrCodeBiases -> GnssSignal
_msgSsrCodeBiases_time :: MsgSsrCodeBiases -> GpsTimeSec
..} = do
forall t. Binary t => t -> Put
put GpsTimeSec
_msgSsrCodeBiases_time
forall t. Binary t => t -> Put
put GnssSignal
_msgSsrCodeBiases_sid
Word8 -> Put
putWord8 Word8
_msgSsrCodeBiases_update_interval
Word8 -> Put
putWord8 Word8
_msgSsrCodeBiases_iod_ssr
forall (t :: * -> *) (m :: * -> *) a b.
(Foldable t, Monad m) =>
(a -> m b) -> t a -> m ()
mapM_ forall t. Binary t => t -> Put
put [CodeBiasesContent]
_msgSsrCodeBiases_biases
$(makeSBP 'msgSsrCodeBiases ''MsgSsrCodeBiases)
$(makeJSON "_msgSsrCodeBiases_" ''MsgSsrCodeBiases)
$(makeLenses ''MsgSsrCodeBiases)
msgSsrPhaseBiases :: Word16
msgSsrPhaseBiases :: Word16
msgSsrPhaseBiases = Word16
0x05E6
data MsgSsrPhaseBiases = MsgSsrPhaseBiases
{ MsgSsrPhaseBiases -> GpsTimeSec
_msgSsrPhaseBiases_time :: !GpsTimeSec
, MsgSsrPhaseBiases -> GnssSignal
_msgSsrPhaseBiases_sid :: !GnssSignal
, MsgSsrPhaseBiases -> Word8
_msgSsrPhaseBiases_update_interval :: !Word8
, MsgSsrPhaseBiases -> Word8
_msgSsrPhaseBiases_iod_ssr :: !Word8
, MsgSsrPhaseBiases -> Word8
_msgSsrPhaseBiases_dispersive_bias :: !Word8
, MsgSsrPhaseBiases -> Word8
_msgSsrPhaseBiases_mw_consistency :: !Word8
, MsgSsrPhaseBiases -> Word16
_msgSsrPhaseBiases_yaw :: !Word16
, MsgSsrPhaseBiases -> Int8
_msgSsrPhaseBiases_yaw_rate :: !Int8
, MsgSsrPhaseBiases -> [PhaseBiasesContent]
_msgSsrPhaseBiases_biases :: ![PhaseBiasesContent]
} deriving ( Int -> MsgSsrPhaseBiases -> ShowS
[MsgSsrPhaseBiases] -> ShowS
MsgSsrPhaseBiases -> String
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [MsgSsrPhaseBiases] -> ShowS
$cshowList :: [MsgSsrPhaseBiases] -> ShowS
show :: MsgSsrPhaseBiases -> String
$cshow :: MsgSsrPhaseBiases -> String
showsPrec :: Int -> MsgSsrPhaseBiases -> ShowS
$cshowsPrec :: Int -> MsgSsrPhaseBiases -> ShowS
Show, ReadPrec [MsgSsrPhaseBiases]
ReadPrec MsgSsrPhaseBiases
Int -> ReadS MsgSsrPhaseBiases
ReadS [MsgSsrPhaseBiases]
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [MsgSsrPhaseBiases]
$creadListPrec :: ReadPrec [MsgSsrPhaseBiases]
readPrec :: ReadPrec MsgSsrPhaseBiases
$creadPrec :: ReadPrec MsgSsrPhaseBiases
readList :: ReadS [MsgSsrPhaseBiases]
$creadList :: ReadS [MsgSsrPhaseBiases]
readsPrec :: Int -> ReadS MsgSsrPhaseBiases
$creadsPrec :: Int -> ReadS MsgSsrPhaseBiases
Read, MsgSsrPhaseBiases -> MsgSsrPhaseBiases -> Bool
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: MsgSsrPhaseBiases -> MsgSsrPhaseBiases -> Bool
$c/= :: MsgSsrPhaseBiases -> MsgSsrPhaseBiases -> Bool
== :: MsgSsrPhaseBiases -> MsgSsrPhaseBiases -> Bool
$c== :: MsgSsrPhaseBiases -> MsgSsrPhaseBiases -> Bool
Eq )
instance Binary MsgSsrPhaseBiases where
get :: Get MsgSsrPhaseBiases
get = do
GpsTimeSec
_msgSsrPhaseBiases_time <- forall t. Binary t => Get t
get
GnssSignal
_msgSsrPhaseBiases_sid <- forall t. Binary t => Get t
get
Word8
_msgSsrPhaseBiases_update_interval <- Get Word8
getWord8
Word8
_msgSsrPhaseBiases_iod_ssr <- Get Word8
getWord8
Word8
_msgSsrPhaseBiases_dispersive_bias <- Get Word8
getWord8
Word8
_msgSsrPhaseBiases_mw_consistency <- Get Word8
getWord8
Word16
_msgSsrPhaseBiases_yaw <- Get Word16
getWord16le
Int8
_msgSsrPhaseBiases_yaw_rate <- (forall a b. (Integral a, Num b) => a -> b
fromIntegral forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
<$> Get Word8
getWord8)
[PhaseBiasesContent]
_msgSsrPhaseBiases_biases <- forall (m :: * -> *) a. Monad m => m Bool -> m a -> m [a]
whileM (Bool -> Bool
not forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
<$> Get Bool
isEmpty) forall t. Binary t => Get t
get
forall (f :: * -> *) a. Applicative f => a -> f a
pure MsgSsrPhaseBiases {Int8
[PhaseBiasesContent]
Word8
Word16
GnssSignal
GpsTimeSec
_msgSsrPhaseBiases_biases :: [PhaseBiasesContent]
_msgSsrPhaseBiases_yaw_rate :: Int8
_msgSsrPhaseBiases_yaw :: Word16
_msgSsrPhaseBiases_mw_consistency :: Word8
_msgSsrPhaseBiases_dispersive_bias :: Word8
_msgSsrPhaseBiases_iod_ssr :: Word8
_msgSsrPhaseBiases_update_interval :: Word8
_msgSsrPhaseBiases_sid :: GnssSignal
_msgSsrPhaseBiases_time :: GpsTimeSec
_msgSsrPhaseBiases_biases :: [PhaseBiasesContent]
_msgSsrPhaseBiases_yaw_rate :: Int8
_msgSsrPhaseBiases_yaw :: Word16
_msgSsrPhaseBiases_mw_consistency :: Word8
_msgSsrPhaseBiases_dispersive_bias :: Word8
_msgSsrPhaseBiases_iod_ssr :: Word8
_msgSsrPhaseBiases_update_interval :: Word8
_msgSsrPhaseBiases_sid :: GnssSignal
_msgSsrPhaseBiases_time :: GpsTimeSec
..}
put :: MsgSsrPhaseBiases -> Put
put MsgSsrPhaseBiases {Int8
[PhaseBiasesContent]
Word8
Word16
GnssSignal
GpsTimeSec
_msgSsrPhaseBiases_biases :: [PhaseBiasesContent]
_msgSsrPhaseBiases_yaw_rate :: Int8
_msgSsrPhaseBiases_yaw :: Word16
_msgSsrPhaseBiases_mw_consistency :: Word8
_msgSsrPhaseBiases_dispersive_bias :: Word8
_msgSsrPhaseBiases_iod_ssr :: Word8
_msgSsrPhaseBiases_update_interval :: Word8
_msgSsrPhaseBiases_sid :: GnssSignal
_msgSsrPhaseBiases_time :: GpsTimeSec
_msgSsrPhaseBiases_biases :: MsgSsrPhaseBiases -> [PhaseBiasesContent]
_msgSsrPhaseBiases_yaw_rate :: MsgSsrPhaseBiases -> Int8
_msgSsrPhaseBiases_yaw :: MsgSsrPhaseBiases -> Word16
_msgSsrPhaseBiases_mw_consistency :: MsgSsrPhaseBiases -> Word8
_msgSsrPhaseBiases_dispersive_bias :: MsgSsrPhaseBiases -> Word8
_msgSsrPhaseBiases_iod_ssr :: MsgSsrPhaseBiases -> Word8
_msgSsrPhaseBiases_update_interval :: MsgSsrPhaseBiases -> Word8
_msgSsrPhaseBiases_sid :: MsgSsrPhaseBiases -> GnssSignal
_msgSsrPhaseBiases_time :: MsgSsrPhaseBiases -> GpsTimeSec
..} = do
forall t. Binary t => t -> Put
put GpsTimeSec
_msgSsrPhaseBiases_time
forall t. Binary t => t -> Put
put GnssSignal
_msgSsrPhaseBiases_sid
Word8 -> Put
putWord8 Word8
_msgSsrPhaseBiases_update_interval
Word8 -> Put
putWord8 Word8
_msgSsrPhaseBiases_iod_ssr
Word8 -> Put
putWord8 Word8
_msgSsrPhaseBiases_dispersive_bias
Word8 -> Put
putWord8 Word8
_msgSsrPhaseBiases_mw_consistency
Word16 -> Put
putWord16le Word16
_msgSsrPhaseBiases_yaw
(Word8 -> Put
putWord8 forall {k} (cat :: k -> k -> *) (b :: k) (c :: k) (a :: k).
Category cat =>
cat b c -> cat a b -> cat a c
. forall a b. (Integral a, Num b) => a -> b
fromIntegral) Int8
_msgSsrPhaseBiases_yaw_rate
forall (t :: * -> *) (m :: * -> *) a b.
(Foldable t, Monad m) =>
(a -> m b) -> t a -> m ()
mapM_ forall t. Binary t => t -> Put
put [PhaseBiasesContent]
_msgSsrPhaseBiases_biases
$(makeSBP 'msgSsrPhaseBiases ''MsgSsrPhaseBiases)
$(makeJSON "_msgSsrPhaseBiases_" ''MsgSsrPhaseBiases)
$(makeLenses ''MsgSsrPhaseBiases)
msgSsrStecCorrectionDep :: Word16
msgSsrStecCorrectionDep :: Word16
msgSsrStecCorrectionDep = Word16
0x05FB
data MsgSsrStecCorrectionDep = MsgSsrStecCorrectionDep
{ :: !STECHeader
, MsgSsrStecCorrectionDep -> [STECSatElement]
_msgSsrStecCorrectionDep_stec_sat_list :: ![STECSatElement]
} deriving ( Int -> MsgSsrStecCorrectionDep -> ShowS
[MsgSsrStecCorrectionDep] -> ShowS
MsgSsrStecCorrectionDep -> String
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [MsgSsrStecCorrectionDep] -> ShowS
$cshowList :: [MsgSsrStecCorrectionDep] -> ShowS
show :: MsgSsrStecCorrectionDep -> String
$cshow :: MsgSsrStecCorrectionDep -> String
showsPrec :: Int -> MsgSsrStecCorrectionDep -> ShowS
$cshowsPrec :: Int -> MsgSsrStecCorrectionDep -> ShowS
Show, ReadPrec [MsgSsrStecCorrectionDep]
ReadPrec MsgSsrStecCorrectionDep
Int -> ReadS MsgSsrStecCorrectionDep
ReadS [MsgSsrStecCorrectionDep]
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [MsgSsrStecCorrectionDep]
$creadListPrec :: ReadPrec [MsgSsrStecCorrectionDep]
readPrec :: ReadPrec MsgSsrStecCorrectionDep
$creadPrec :: ReadPrec MsgSsrStecCorrectionDep
readList :: ReadS [MsgSsrStecCorrectionDep]
$creadList :: ReadS [MsgSsrStecCorrectionDep]
readsPrec :: Int -> ReadS MsgSsrStecCorrectionDep
$creadsPrec :: Int -> ReadS MsgSsrStecCorrectionDep
Read, MsgSsrStecCorrectionDep -> MsgSsrStecCorrectionDep -> Bool
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: MsgSsrStecCorrectionDep -> MsgSsrStecCorrectionDep -> Bool
$c/= :: MsgSsrStecCorrectionDep -> MsgSsrStecCorrectionDep -> Bool
== :: MsgSsrStecCorrectionDep -> MsgSsrStecCorrectionDep -> Bool
$c== :: MsgSsrStecCorrectionDep -> MsgSsrStecCorrectionDep -> Bool
Eq )
instance Binary MsgSsrStecCorrectionDep where
get :: Get MsgSsrStecCorrectionDep
get = do
STECHeader
_msgSsrStecCorrectionDep_header <- forall t. Binary t => Get t
get
[STECSatElement]
_msgSsrStecCorrectionDep_stec_sat_list <- forall (m :: * -> *) a. Monad m => m Bool -> m a -> m [a]
whileM (Bool -> Bool
not forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
<$> Get Bool
isEmpty) forall t. Binary t => Get t
get
forall (f :: * -> *) a. Applicative f => a -> f a
pure MsgSsrStecCorrectionDep {[STECSatElement]
STECHeader
_msgSsrStecCorrectionDep_stec_sat_list :: [STECSatElement]
_msgSsrStecCorrectionDep_header :: STECHeader
_msgSsrStecCorrectionDep_stec_sat_list :: [STECSatElement]
_msgSsrStecCorrectionDep_header :: STECHeader
..}
put :: MsgSsrStecCorrectionDep -> Put
put MsgSsrStecCorrectionDep {[STECSatElement]
STECHeader
_msgSsrStecCorrectionDep_stec_sat_list :: [STECSatElement]
_msgSsrStecCorrectionDep_header :: STECHeader
_msgSsrStecCorrectionDep_stec_sat_list :: MsgSsrStecCorrectionDep -> [STECSatElement]
_msgSsrStecCorrectionDep_header :: MsgSsrStecCorrectionDep -> STECHeader
..} = do
forall t. Binary t => t -> Put
put STECHeader
_msgSsrStecCorrectionDep_header
forall (t :: * -> *) (m :: * -> *) a b.
(Foldable t, Monad m) =>
(a -> m b) -> t a -> m ()
mapM_ forall t. Binary t => t -> Put
put [STECSatElement]
_msgSsrStecCorrectionDep_stec_sat_list
$(makeSBP 'msgSsrStecCorrectionDep ''MsgSsrStecCorrectionDep)
$(makeJSON "_msgSsrStecCorrectionDep_" ''MsgSsrStecCorrectionDep)
$
data =
{ :: !GpsTimeSec
, :: !Word8
, :: !Word8
, :: !Word8
, :: !Word8
} deriving ( Int -> BoundsHeader -> ShowS
[BoundsHeader] -> ShowS
BoundsHeader -> String
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [BoundsHeader] -> ShowS
$cshowList :: [BoundsHeader] -> ShowS
show :: BoundsHeader -> String
$cshow :: BoundsHeader -> String
showsPrec :: Int -> BoundsHeader -> ShowS
$cshowsPrec :: Int -> BoundsHeader -> ShowS
Show, ReadPrec [BoundsHeader]
ReadPrec BoundsHeader
Int -> ReadS BoundsHeader
ReadS [BoundsHeader]
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [BoundsHeader]
$creadListPrec :: ReadPrec [BoundsHeader]
readPrec :: ReadPrec BoundsHeader
$creadPrec :: ReadPrec BoundsHeader
readList :: ReadS [BoundsHeader]
$creadList :: ReadS [BoundsHeader]
readsPrec :: Int -> ReadS BoundsHeader
$creadsPrec :: Int -> ReadS BoundsHeader
Read, BoundsHeader -> BoundsHeader -> Bool
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: BoundsHeader -> BoundsHeader -> Bool
$c/= :: BoundsHeader -> BoundsHeader -> Bool
== :: BoundsHeader -> BoundsHeader -> Bool
$c== :: BoundsHeader -> BoundsHeader -> Bool
Eq )
instance Binary BoundsHeader where
get :: Get BoundsHeader
get = do
GpsTimeSec
_boundsHeader_time <- forall t. Binary t => Get t
get
Word8
_boundsHeader_num_msgs <- Get Word8
getWord8
Word8
_boundsHeader_seq_num <- Get Word8
getWord8
Word8
_boundsHeader_update_interval <- Get Word8
getWord8
Word8
_boundsHeader_sol_id <- Get Word8
getWord8
forall (f :: * -> *) a. Applicative f => a -> f a
pure BoundsHeader {Word8
GpsTimeSec
_boundsHeader_sol_id :: Word8
_boundsHeader_update_interval :: Word8
_boundsHeader_seq_num :: Word8
_boundsHeader_num_msgs :: Word8
_boundsHeader_time :: GpsTimeSec
_boundsHeader_sol_id :: Word8
_boundsHeader_update_interval :: Word8
_boundsHeader_seq_num :: Word8
_boundsHeader_num_msgs :: Word8
_boundsHeader_time :: GpsTimeSec
..}
put :: BoundsHeader -> Put
put BoundsHeader {Word8
GpsTimeSec
_boundsHeader_sol_id :: Word8
_boundsHeader_update_interval :: Word8
_boundsHeader_seq_num :: Word8
_boundsHeader_num_msgs :: Word8
_boundsHeader_time :: GpsTimeSec
_boundsHeader_sol_id :: BoundsHeader -> Word8
_boundsHeader_update_interval :: BoundsHeader -> Word8
_boundsHeader_seq_num :: BoundsHeader -> Word8
_boundsHeader_num_msgs :: BoundsHeader -> Word8
_boundsHeader_time :: BoundsHeader -> GpsTimeSec
..} = do
forall t. Binary t => t -> Put
put GpsTimeSec
_boundsHeader_time
Word8 -> Put
putWord8 Word8
_boundsHeader_num_msgs
Word8 -> Put
putWord8 Word8
_boundsHeader_seq_num
Word8 -> Put
putWord8 Word8
_boundsHeader_update_interval
Word8 -> Put
putWord8 Word8
_boundsHeader_sol_id
$(makeJSON "_boundsHeader_" ''BoundsHeader)
$
msgSsrStecCorrection :: Word16
msgSsrStecCorrection :: Word16
msgSsrStecCorrection = Word16
0x05FD
data MsgSsrStecCorrection = MsgSsrStecCorrection
{ :: !BoundsHeader
, MsgSsrStecCorrection -> Word8
_msgSsrStecCorrection_ssr_iod_atmo :: !Word8
, MsgSsrStecCorrection -> Word16
_msgSsrStecCorrection_tile_set_id :: !Word16
, MsgSsrStecCorrection -> Word16
_msgSsrStecCorrection_tile_id :: !Word16
, MsgSsrStecCorrection -> Word8
_msgSsrStecCorrection_n_sats :: !Word8
, MsgSsrStecCorrection -> [STECSatElement]
_msgSsrStecCorrection_stec_sat_list :: ![STECSatElement]
} deriving ( Int -> MsgSsrStecCorrection -> ShowS
[MsgSsrStecCorrection] -> ShowS
MsgSsrStecCorrection -> String
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [MsgSsrStecCorrection] -> ShowS
$cshowList :: [MsgSsrStecCorrection] -> ShowS
show :: MsgSsrStecCorrection -> String
$cshow :: MsgSsrStecCorrection -> String
showsPrec :: Int -> MsgSsrStecCorrection -> ShowS
$cshowsPrec :: Int -> MsgSsrStecCorrection -> ShowS
Show, ReadPrec [MsgSsrStecCorrection]
ReadPrec MsgSsrStecCorrection
Int -> ReadS MsgSsrStecCorrection
ReadS [MsgSsrStecCorrection]
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [MsgSsrStecCorrection]
$creadListPrec :: ReadPrec [MsgSsrStecCorrection]
readPrec :: ReadPrec MsgSsrStecCorrection
$creadPrec :: ReadPrec MsgSsrStecCorrection
readList :: ReadS [MsgSsrStecCorrection]
$creadList :: ReadS [MsgSsrStecCorrection]
readsPrec :: Int -> ReadS MsgSsrStecCorrection
$creadsPrec :: Int -> ReadS MsgSsrStecCorrection
Read, MsgSsrStecCorrection -> MsgSsrStecCorrection -> Bool
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: MsgSsrStecCorrection -> MsgSsrStecCorrection -> Bool
$c/= :: MsgSsrStecCorrection -> MsgSsrStecCorrection -> Bool
== :: MsgSsrStecCorrection -> MsgSsrStecCorrection -> Bool
$c== :: MsgSsrStecCorrection -> MsgSsrStecCorrection -> Bool
Eq )
instance Binary MsgSsrStecCorrection where
get :: Get MsgSsrStecCorrection
get = do
BoundsHeader
_msgSsrStecCorrection_header <- forall t. Binary t => Get t
get
Word8
_msgSsrStecCorrection_ssr_iod_atmo <- Get Word8
getWord8
Word16
_msgSsrStecCorrection_tile_set_id <- Get Word16
getWord16le
Word16
_msgSsrStecCorrection_tile_id <- Get Word16
getWord16le
Word8
_msgSsrStecCorrection_n_sats <- Get Word8
getWord8
[STECSatElement]
_msgSsrStecCorrection_stec_sat_list <- forall (m :: * -> *) a. Monad m => m Bool -> m a -> m [a]
whileM (Bool -> Bool
not forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
<$> Get Bool
isEmpty) forall t. Binary t => Get t
get
forall (f :: * -> *) a. Applicative f => a -> f a
pure MsgSsrStecCorrection {[STECSatElement]
Word8
Word16
BoundsHeader
_msgSsrStecCorrection_stec_sat_list :: [STECSatElement]
_msgSsrStecCorrection_n_sats :: Word8
_msgSsrStecCorrection_tile_id :: Word16
_msgSsrStecCorrection_tile_set_id :: Word16
_msgSsrStecCorrection_ssr_iod_atmo :: Word8
_msgSsrStecCorrection_header :: BoundsHeader
_msgSsrStecCorrection_stec_sat_list :: [STECSatElement]
_msgSsrStecCorrection_n_sats :: Word8
_msgSsrStecCorrection_tile_id :: Word16
_msgSsrStecCorrection_tile_set_id :: Word16
_msgSsrStecCorrection_ssr_iod_atmo :: Word8
_msgSsrStecCorrection_header :: BoundsHeader
..}
put :: MsgSsrStecCorrection -> Put
put MsgSsrStecCorrection {[STECSatElement]
Word8
Word16
BoundsHeader
_msgSsrStecCorrection_stec_sat_list :: [STECSatElement]
_msgSsrStecCorrection_n_sats :: Word8
_msgSsrStecCorrection_tile_id :: Word16
_msgSsrStecCorrection_tile_set_id :: Word16
_msgSsrStecCorrection_ssr_iod_atmo :: Word8
_msgSsrStecCorrection_header :: BoundsHeader
_msgSsrStecCorrection_stec_sat_list :: MsgSsrStecCorrection -> [STECSatElement]
_msgSsrStecCorrection_n_sats :: MsgSsrStecCorrection -> Word8
_msgSsrStecCorrection_tile_id :: MsgSsrStecCorrection -> Word16
_msgSsrStecCorrection_tile_set_id :: MsgSsrStecCorrection -> Word16
_msgSsrStecCorrection_ssr_iod_atmo :: MsgSsrStecCorrection -> Word8
_msgSsrStecCorrection_header :: MsgSsrStecCorrection -> BoundsHeader
..} = do
forall t. Binary t => t -> Put
put BoundsHeader
_msgSsrStecCorrection_header
Word8 -> Put
putWord8 Word8
_msgSsrStecCorrection_ssr_iod_atmo
Word16 -> Put
putWord16le Word16
_msgSsrStecCorrection_tile_set_id
Word16 -> Put
putWord16le Word16
_msgSsrStecCorrection_tile_id
Word8 -> Put
putWord8 Word8
_msgSsrStecCorrection_n_sats
forall (t :: * -> *) (m :: * -> *) a b.
(Foldable t, Monad m) =>
(a -> m b) -> t a -> m ()
mapM_ forall t. Binary t => t -> Put
put [STECSatElement]
_msgSsrStecCorrection_stec_sat_list
$(makeSBP 'msgSsrStecCorrection ''MsgSsrStecCorrection)
$(makeJSON "_msgSsrStecCorrection_" ''MsgSsrStecCorrection)
$
msgSsrGriddedCorrection :: Word16
msgSsrGriddedCorrection :: Word16
msgSsrGriddedCorrection = Word16
0x05FC
data MsgSsrGriddedCorrection = MsgSsrGriddedCorrection
{ :: !GriddedCorrectionHeader
, MsgSsrGriddedCorrection -> Word16
_msgSsrGriddedCorrection_index :: !Word16
, MsgSsrGriddedCorrection -> TroposphericDelayCorrection
_msgSsrGriddedCorrection_tropo_delay_correction :: !TroposphericDelayCorrection
, MsgSsrGriddedCorrection -> [STECResidual]
_msgSsrGriddedCorrection_stec_residuals :: ![STECResidual]
} deriving ( Int -> MsgSsrGriddedCorrection -> ShowS
[MsgSsrGriddedCorrection] -> ShowS
MsgSsrGriddedCorrection -> String
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [MsgSsrGriddedCorrection] -> ShowS
$cshowList :: [MsgSsrGriddedCorrection] -> ShowS
show :: MsgSsrGriddedCorrection -> String
$cshow :: MsgSsrGriddedCorrection -> String
showsPrec :: Int -> MsgSsrGriddedCorrection -> ShowS
$cshowsPrec :: Int -> MsgSsrGriddedCorrection -> ShowS
Show, ReadPrec [MsgSsrGriddedCorrection]
ReadPrec MsgSsrGriddedCorrection
Int -> ReadS MsgSsrGriddedCorrection
ReadS [MsgSsrGriddedCorrection]
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [MsgSsrGriddedCorrection]
$creadListPrec :: ReadPrec [MsgSsrGriddedCorrection]
readPrec :: ReadPrec MsgSsrGriddedCorrection
$creadPrec :: ReadPrec MsgSsrGriddedCorrection
readList :: ReadS [MsgSsrGriddedCorrection]
$creadList :: ReadS [MsgSsrGriddedCorrection]
readsPrec :: Int -> ReadS MsgSsrGriddedCorrection
$creadsPrec :: Int -> ReadS MsgSsrGriddedCorrection
Read, MsgSsrGriddedCorrection -> MsgSsrGriddedCorrection -> Bool
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: MsgSsrGriddedCorrection -> MsgSsrGriddedCorrection -> Bool
$c/= :: MsgSsrGriddedCorrection -> MsgSsrGriddedCorrection -> Bool
== :: MsgSsrGriddedCorrection -> MsgSsrGriddedCorrection -> Bool
$c== :: MsgSsrGriddedCorrection -> MsgSsrGriddedCorrection -> Bool
Eq )
instance Binary MsgSsrGriddedCorrection where
get :: Get MsgSsrGriddedCorrection
get = do
GriddedCorrectionHeader
_msgSsrGriddedCorrection_header <- forall t. Binary t => Get t
get
Word16
_msgSsrGriddedCorrection_index <- Get Word16
getWord16le
TroposphericDelayCorrection
_msgSsrGriddedCorrection_tropo_delay_correction <- forall t. Binary t => Get t
get
[STECResidual]
_msgSsrGriddedCorrection_stec_residuals <- forall (m :: * -> *) a. Monad m => m Bool -> m a -> m [a]
whileM (Bool -> Bool
not forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
<$> Get Bool
isEmpty) forall t. Binary t => Get t
get
forall (f :: * -> *) a. Applicative f => a -> f a
pure MsgSsrGriddedCorrection {[STECResidual]
Word16
GriddedCorrectionHeader
TroposphericDelayCorrection
_msgSsrGriddedCorrection_stec_residuals :: [STECResidual]
_msgSsrGriddedCorrection_tropo_delay_correction :: TroposphericDelayCorrection
_msgSsrGriddedCorrection_index :: Word16
_msgSsrGriddedCorrection_header :: GriddedCorrectionHeader
_msgSsrGriddedCorrection_stec_residuals :: [STECResidual]
_msgSsrGriddedCorrection_tropo_delay_correction :: TroposphericDelayCorrection
_msgSsrGriddedCorrection_index :: Word16
_msgSsrGriddedCorrection_header :: GriddedCorrectionHeader
..}
put :: MsgSsrGriddedCorrection -> Put
put MsgSsrGriddedCorrection {[STECResidual]
Word16
GriddedCorrectionHeader
TroposphericDelayCorrection
_msgSsrGriddedCorrection_stec_residuals :: [STECResidual]
_msgSsrGriddedCorrection_tropo_delay_correction :: TroposphericDelayCorrection
_msgSsrGriddedCorrection_index :: Word16
_msgSsrGriddedCorrection_header :: GriddedCorrectionHeader
_msgSsrGriddedCorrection_stec_residuals :: MsgSsrGriddedCorrection -> [STECResidual]
_msgSsrGriddedCorrection_tropo_delay_correction :: MsgSsrGriddedCorrection -> TroposphericDelayCorrection
_msgSsrGriddedCorrection_index :: MsgSsrGriddedCorrection -> Word16
_msgSsrGriddedCorrection_header :: MsgSsrGriddedCorrection -> GriddedCorrectionHeader
..} = do
forall t. Binary t => t -> Put
put GriddedCorrectionHeader
_msgSsrGriddedCorrection_header
Word16 -> Put
putWord16le Word16
_msgSsrGriddedCorrection_index
forall t. Binary t => t -> Put
put TroposphericDelayCorrection
_msgSsrGriddedCorrection_tropo_delay_correction
forall (t :: * -> *) (m :: * -> *) a b.
(Foldable t, Monad m) =>
(a -> m b) -> t a -> m ()
mapM_ forall t. Binary t => t -> Put
put [STECResidual]
_msgSsrGriddedCorrection_stec_residuals
$(makeSBP 'msgSsrGriddedCorrection ''MsgSsrGriddedCorrection)
$(makeJSON "_msgSsrGriddedCorrection_" ''MsgSsrGriddedCorrection)
$
data STECSatElementIntegrity = STECSatElementIntegrity
{ STECSatElementIntegrity -> STECResidual
_sTECSatElementIntegrity_stec_residual :: !STECResidual
, STECSatElementIntegrity -> Word8
_sTECSatElementIntegrity_stec_bound_mu :: !Word8
, STECSatElementIntegrity -> Word8
_sTECSatElementIntegrity_stec_bound_sig :: !Word8
, STECSatElementIntegrity -> Word8
_sTECSatElementIntegrity_stec_bound_mu_dot :: !Word8
, STECSatElementIntegrity -> Word8
_sTECSatElementIntegrity_stec_bound_sig_dot :: !Word8
} deriving ( Int -> STECSatElementIntegrity -> ShowS
[STECSatElementIntegrity] -> ShowS
STECSatElementIntegrity -> String
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [STECSatElementIntegrity] -> ShowS
$cshowList :: [STECSatElementIntegrity] -> ShowS
show :: STECSatElementIntegrity -> String
$cshow :: STECSatElementIntegrity -> String
showsPrec :: Int -> STECSatElementIntegrity -> ShowS
$cshowsPrec :: Int -> STECSatElementIntegrity -> ShowS
Show, ReadPrec [STECSatElementIntegrity]
ReadPrec STECSatElementIntegrity
Int -> ReadS STECSatElementIntegrity
ReadS [STECSatElementIntegrity]
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [STECSatElementIntegrity]
$creadListPrec :: ReadPrec [STECSatElementIntegrity]
readPrec :: ReadPrec STECSatElementIntegrity
$creadPrec :: ReadPrec STECSatElementIntegrity
readList :: ReadS [STECSatElementIntegrity]
$creadList :: ReadS [STECSatElementIntegrity]
readsPrec :: Int -> ReadS STECSatElementIntegrity
$creadsPrec :: Int -> ReadS STECSatElementIntegrity
Read, STECSatElementIntegrity -> STECSatElementIntegrity -> Bool
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: STECSatElementIntegrity -> STECSatElementIntegrity -> Bool
$c/= :: STECSatElementIntegrity -> STECSatElementIntegrity -> Bool
== :: STECSatElementIntegrity -> STECSatElementIntegrity -> Bool
$c== :: STECSatElementIntegrity -> STECSatElementIntegrity -> Bool
Eq )
instance Binary STECSatElementIntegrity where
get :: Get STECSatElementIntegrity
get = do
STECResidual
_sTECSatElementIntegrity_stec_residual <- forall t. Binary t => Get t
get
Word8
_sTECSatElementIntegrity_stec_bound_mu <- Get Word8
getWord8
Word8
_sTECSatElementIntegrity_stec_bound_sig <- Get Word8
getWord8
Word8
_sTECSatElementIntegrity_stec_bound_mu_dot <- Get Word8
getWord8
Word8
_sTECSatElementIntegrity_stec_bound_sig_dot <- Get Word8
getWord8
forall (f :: * -> *) a. Applicative f => a -> f a
pure STECSatElementIntegrity {Word8
STECResidual
_sTECSatElementIntegrity_stec_bound_sig_dot :: Word8
_sTECSatElementIntegrity_stec_bound_mu_dot :: Word8
_sTECSatElementIntegrity_stec_bound_sig :: Word8
_sTECSatElementIntegrity_stec_bound_mu :: Word8
_sTECSatElementIntegrity_stec_residual :: STECResidual
_sTECSatElementIntegrity_stec_bound_sig_dot :: Word8
_sTECSatElementIntegrity_stec_bound_mu_dot :: Word8
_sTECSatElementIntegrity_stec_bound_sig :: Word8
_sTECSatElementIntegrity_stec_bound_mu :: Word8
_sTECSatElementIntegrity_stec_residual :: STECResidual
..}
put :: STECSatElementIntegrity -> Put
put STECSatElementIntegrity {Word8
STECResidual
_sTECSatElementIntegrity_stec_bound_sig_dot :: Word8
_sTECSatElementIntegrity_stec_bound_mu_dot :: Word8
_sTECSatElementIntegrity_stec_bound_sig :: Word8
_sTECSatElementIntegrity_stec_bound_mu :: Word8
_sTECSatElementIntegrity_stec_residual :: STECResidual
_sTECSatElementIntegrity_stec_bound_sig_dot :: STECSatElementIntegrity -> Word8
_sTECSatElementIntegrity_stec_bound_mu_dot :: STECSatElementIntegrity -> Word8
_sTECSatElementIntegrity_stec_bound_sig :: STECSatElementIntegrity -> Word8
_sTECSatElementIntegrity_stec_bound_mu :: STECSatElementIntegrity -> Word8
_sTECSatElementIntegrity_stec_residual :: STECSatElementIntegrity -> STECResidual
..} = do
forall t. Binary t => t -> Put
put STECResidual
_sTECSatElementIntegrity_stec_residual
Word8 -> Put
putWord8 Word8
_sTECSatElementIntegrity_stec_bound_mu
Word8 -> Put
putWord8 Word8
_sTECSatElementIntegrity_stec_bound_sig
Word8 -> Put
putWord8 Word8
_sTECSatElementIntegrity_stec_bound_mu_dot
Word8 -> Put
putWord8 Word8
_sTECSatElementIntegrity_stec_bound_sig_dot
$(makeJSON "_sTECSatElementIntegrity_" ''STECSatElementIntegrity)
$(makeLenses ''STECSatElementIntegrity)
msgSsrGriddedCorrectionBounds :: Word16
msgSsrGriddedCorrectionBounds :: Word16
msgSsrGriddedCorrectionBounds = Word16
0x05FE
data MsgSsrGriddedCorrectionBounds = MsgSsrGriddedCorrectionBounds
{ :: !BoundsHeader
, MsgSsrGriddedCorrectionBounds -> Word8
_msgSsrGriddedCorrectionBounds_ssr_iod_atmo :: !Word8
, MsgSsrGriddedCorrectionBounds -> Word16
_msgSsrGriddedCorrectionBounds_tile_set_id :: !Word16
, MsgSsrGriddedCorrectionBounds -> Word16
_msgSsrGriddedCorrectionBounds_tile_id :: !Word16
, MsgSsrGriddedCorrectionBounds -> Word8
_msgSsrGriddedCorrectionBounds_tropo_qi :: !Word8
, MsgSsrGriddedCorrectionBounds -> Word16
_msgSsrGriddedCorrectionBounds_grid_point_id :: !Word16
, MsgSsrGriddedCorrectionBounds -> TroposphericDelayCorrection
_msgSsrGriddedCorrectionBounds_tropo_delay_correction :: !TroposphericDelayCorrection
, MsgSsrGriddedCorrectionBounds -> Word8
_msgSsrGriddedCorrectionBounds_tropo_v_hydro_bound_mu :: !Word8
, MsgSsrGriddedCorrectionBounds -> Word8
_msgSsrGriddedCorrectionBounds_tropo_v_hydro_bound_sig :: !Word8
, MsgSsrGriddedCorrectionBounds -> Word8
_msgSsrGriddedCorrectionBounds_tropo_v_wet_bound_mu :: !Word8
, MsgSsrGriddedCorrectionBounds -> Word8
_msgSsrGriddedCorrectionBounds_tropo_v_wet_bound_sig :: !Word8
, MsgSsrGriddedCorrectionBounds -> Word8
_msgSsrGriddedCorrectionBounds_n_sats :: !Word8
, MsgSsrGriddedCorrectionBounds -> [STECSatElementIntegrity]
_msgSsrGriddedCorrectionBounds_stec_sat_list :: ![STECSatElementIntegrity]
} deriving ( Int -> MsgSsrGriddedCorrectionBounds -> ShowS
[MsgSsrGriddedCorrectionBounds] -> ShowS
MsgSsrGriddedCorrectionBounds -> String
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [MsgSsrGriddedCorrectionBounds] -> ShowS
$cshowList :: [MsgSsrGriddedCorrectionBounds] -> ShowS
show :: MsgSsrGriddedCorrectionBounds -> String
$cshow :: MsgSsrGriddedCorrectionBounds -> String
showsPrec :: Int -> MsgSsrGriddedCorrectionBounds -> ShowS
$cshowsPrec :: Int -> MsgSsrGriddedCorrectionBounds -> ShowS
Show, ReadPrec [MsgSsrGriddedCorrectionBounds]
ReadPrec MsgSsrGriddedCorrectionBounds
Int -> ReadS MsgSsrGriddedCorrectionBounds
ReadS [MsgSsrGriddedCorrectionBounds]
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [MsgSsrGriddedCorrectionBounds]
$creadListPrec :: ReadPrec [MsgSsrGriddedCorrectionBounds]
readPrec :: ReadPrec MsgSsrGriddedCorrectionBounds
$creadPrec :: ReadPrec MsgSsrGriddedCorrectionBounds
readList :: ReadS [MsgSsrGriddedCorrectionBounds]
$creadList :: ReadS [MsgSsrGriddedCorrectionBounds]
readsPrec :: Int -> ReadS MsgSsrGriddedCorrectionBounds
$creadsPrec :: Int -> ReadS MsgSsrGriddedCorrectionBounds
Read, MsgSsrGriddedCorrectionBounds
-> MsgSsrGriddedCorrectionBounds -> Bool
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: MsgSsrGriddedCorrectionBounds
-> MsgSsrGriddedCorrectionBounds -> Bool
$c/= :: MsgSsrGriddedCorrectionBounds
-> MsgSsrGriddedCorrectionBounds -> Bool
== :: MsgSsrGriddedCorrectionBounds
-> MsgSsrGriddedCorrectionBounds -> Bool
$c== :: MsgSsrGriddedCorrectionBounds
-> MsgSsrGriddedCorrectionBounds -> Bool
Eq )
instance Binary MsgSsrGriddedCorrectionBounds where
get :: Get MsgSsrGriddedCorrectionBounds
get = do
BoundsHeader
_msgSsrGriddedCorrectionBounds_header <- forall t. Binary t => Get t
get
Word8
_msgSsrGriddedCorrectionBounds_ssr_iod_atmo <- Get Word8
getWord8
Word16
_msgSsrGriddedCorrectionBounds_tile_set_id <- Get Word16
getWord16le
Word16
_msgSsrGriddedCorrectionBounds_tile_id <- Get Word16
getWord16le
Word8
_msgSsrGriddedCorrectionBounds_tropo_qi <- Get Word8
getWord8
Word16
_msgSsrGriddedCorrectionBounds_grid_point_id <- Get Word16
getWord16le
TroposphericDelayCorrection
_msgSsrGriddedCorrectionBounds_tropo_delay_correction <- forall t. Binary t => Get t
get
Word8
_msgSsrGriddedCorrectionBounds_tropo_v_hydro_bound_mu <- Get Word8
getWord8
Word8
_msgSsrGriddedCorrectionBounds_tropo_v_hydro_bound_sig <- Get Word8
getWord8
Word8
_msgSsrGriddedCorrectionBounds_tropo_v_wet_bound_mu <- Get Word8
getWord8
Word8
_msgSsrGriddedCorrectionBounds_tropo_v_wet_bound_sig <- Get Word8
getWord8
Word8
_msgSsrGriddedCorrectionBounds_n_sats <- Get Word8
getWord8
[STECSatElementIntegrity]
_msgSsrGriddedCorrectionBounds_stec_sat_list <- forall (m :: * -> *) a. Monad m => m Bool -> m a -> m [a]
whileM (Bool -> Bool
not forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
<$> Get Bool
isEmpty) forall t. Binary t => Get t
get
forall (f :: * -> *) a. Applicative f => a -> f a
pure MsgSsrGriddedCorrectionBounds {[STECSatElementIntegrity]
Word8
Word16
TroposphericDelayCorrection
BoundsHeader
_msgSsrGriddedCorrectionBounds_stec_sat_list :: [STECSatElementIntegrity]
_msgSsrGriddedCorrectionBounds_n_sats :: Word8
_msgSsrGriddedCorrectionBounds_tropo_v_wet_bound_sig :: Word8
_msgSsrGriddedCorrectionBounds_tropo_v_wet_bound_mu :: Word8
_msgSsrGriddedCorrectionBounds_tropo_v_hydro_bound_sig :: Word8
_msgSsrGriddedCorrectionBounds_tropo_v_hydro_bound_mu :: Word8
_msgSsrGriddedCorrectionBounds_tropo_delay_correction :: TroposphericDelayCorrection
_msgSsrGriddedCorrectionBounds_grid_point_id :: Word16
_msgSsrGriddedCorrectionBounds_tropo_qi :: Word8
_msgSsrGriddedCorrectionBounds_tile_id :: Word16
_msgSsrGriddedCorrectionBounds_tile_set_id :: Word16
_msgSsrGriddedCorrectionBounds_ssr_iod_atmo :: Word8
_msgSsrGriddedCorrectionBounds_header :: BoundsHeader
_msgSsrGriddedCorrectionBounds_stec_sat_list :: [STECSatElementIntegrity]
_msgSsrGriddedCorrectionBounds_n_sats :: Word8
_msgSsrGriddedCorrectionBounds_tropo_v_wet_bound_sig :: Word8
_msgSsrGriddedCorrectionBounds_tropo_v_wet_bound_mu :: Word8
_msgSsrGriddedCorrectionBounds_tropo_v_hydro_bound_sig :: Word8
_msgSsrGriddedCorrectionBounds_tropo_v_hydro_bound_mu :: Word8
_msgSsrGriddedCorrectionBounds_tropo_delay_correction :: TroposphericDelayCorrection
_msgSsrGriddedCorrectionBounds_grid_point_id :: Word16
_msgSsrGriddedCorrectionBounds_tropo_qi :: Word8
_msgSsrGriddedCorrectionBounds_tile_id :: Word16
_msgSsrGriddedCorrectionBounds_tile_set_id :: Word16
_msgSsrGriddedCorrectionBounds_ssr_iod_atmo :: Word8
_msgSsrGriddedCorrectionBounds_header :: BoundsHeader
..}
put :: MsgSsrGriddedCorrectionBounds -> Put
put MsgSsrGriddedCorrectionBounds {[STECSatElementIntegrity]
Word8
Word16
TroposphericDelayCorrection
BoundsHeader
_msgSsrGriddedCorrectionBounds_stec_sat_list :: [STECSatElementIntegrity]
_msgSsrGriddedCorrectionBounds_n_sats :: Word8
_msgSsrGriddedCorrectionBounds_tropo_v_wet_bound_sig :: Word8
_msgSsrGriddedCorrectionBounds_tropo_v_wet_bound_mu :: Word8
_msgSsrGriddedCorrectionBounds_tropo_v_hydro_bound_sig :: Word8
_msgSsrGriddedCorrectionBounds_tropo_v_hydro_bound_mu :: Word8
_msgSsrGriddedCorrectionBounds_tropo_delay_correction :: TroposphericDelayCorrection
_msgSsrGriddedCorrectionBounds_grid_point_id :: Word16
_msgSsrGriddedCorrectionBounds_tropo_qi :: Word8
_msgSsrGriddedCorrectionBounds_tile_id :: Word16
_msgSsrGriddedCorrectionBounds_tile_set_id :: Word16
_msgSsrGriddedCorrectionBounds_ssr_iod_atmo :: Word8
_msgSsrGriddedCorrectionBounds_header :: BoundsHeader
_msgSsrGriddedCorrectionBounds_stec_sat_list :: MsgSsrGriddedCorrectionBounds -> [STECSatElementIntegrity]
_msgSsrGriddedCorrectionBounds_n_sats :: MsgSsrGriddedCorrectionBounds -> Word8
_msgSsrGriddedCorrectionBounds_tropo_v_wet_bound_sig :: MsgSsrGriddedCorrectionBounds -> Word8
_msgSsrGriddedCorrectionBounds_tropo_v_wet_bound_mu :: MsgSsrGriddedCorrectionBounds -> Word8
_msgSsrGriddedCorrectionBounds_tropo_v_hydro_bound_sig :: MsgSsrGriddedCorrectionBounds -> Word8
_msgSsrGriddedCorrectionBounds_tropo_v_hydro_bound_mu :: MsgSsrGriddedCorrectionBounds -> Word8
_msgSsrGriddedCorrectionBounds_tropo_delay_correction :: MsgSsrGriddedCorrectionBounds -> TroposphericDelayCorrection
_msgSsrGriddedCorrectionBounds_grid_point_id :: MsgSsrGriddedCorrectionBounds -> Word16
_msgSsrGriddedCorrectionBounds_tropo_qi :: MsgSsrGriddedCorrectionBounds -> Word8
_msgSsrGriddedCorrectionBounds_tile_id :: MsgSsrGriddedCorrectionBounds -> Word16
_msgSsrGriddedCorrectionBounds_tile_set_id :: MsgSsrGriddedCorrectionBounds -> Word16
_msgSsrGriddedCorrectionBounds_ssr_iod_atmo :: MsgSsrGriddedCorrectionBounds -> Word8
_msgSsrGriddedCorrectionBounds_header :: MsgSsrGriddedCorrectionBounds -> BoundsHeader
..} = do
forall t. Binary t => t -> Put
put BoundsHeader
_msgSsrGriddedCorrectionBounds_header
Word8 -> Put
putWord8 Word8
_msgSsrGriddedCorrectionBounds_ssr_iod_atmo
Word16 -> Put
putWord16le Word16
_msgSsrGriddedCorrectionBounds_tile_set_id
Word16 -> Put
putWord16le Word16
_msgSsrGriddedCorrectionBounds_tile_id
Word8 -> Put
putWord8 Word8
_msgSsrGriddedCorrectionBounds_tropo_qi
Word16 -> Put
putWord16le Word16
_msgSsrGriddedCorrectionBounds_grid_point_id
forall t. Binary t => t -> Put
put TroposphericDelayCorrection
_msgSsrGriddedCorrectionBounds_tropo_delay_correction
Word8 -> Put
putWord8 Word8
_msgSsrGriddedCorrectionBounds_tropo_v_hydro_bound_mu
Word8 -> Put
putWord8 Word8
_msgSsrGriddedCorrectionBounds_tropo_v_hydro_bound_sig
Word8 -> Put
putWord8 Word8
_msgSsrGriddedCorrectionBounds_tropo_v_wet_bound_mu
Word8 -> Put
putWord8 Word8
_msgSsrGriddedCorrectionBounds_tropo_v_wet_bound_sig
Word8 -> Put
putWord8 Word8
_msgSsrGriddedCorrectionBounds_n_sats
forall (t :: * -> *) (m :: * -> *) a b.
(Foldable t, Monad m) =>
(a -> m b) -> t a -> m ()
mapM_ forall t. Binary t => t -> Put
put [STECSatElementIntegrity]
_msgSsrGriddedCorrectionBounds_stec_sat_list
$(makeSBP 'msgSsrGriddedCorrectionBounds ''MsgSsrGriddedCorrectionBounds)
$(makeJSON "_msgSsrGriddedCorrectionBounds_" ''MsgSsrGriddedCorrectionBounds)
$
msgSsrTileDefinitionDepA :: Word16
msgSsrTileDefinitionDepA :: Word16
msgSsrTileDefinitionDepA = Word16
0x05F6
data MsgSsrTileDefinitionDepA = MsgSsrTileDefinitionDepA
{ MsgSsrTileDefinitionDepA -> Word16
_msgSsrTileDefinitionDepA_tile_set_id :: !Word16
, MsgSsrTileDefinitionDepA -> Word16
_msgSsrTileDefinitionDepA_tile_id :: !Word16
, MsgSsrTileDefinitionDepA -> Int16
_msgSsrTileDefinitionDepA_corner_nw_lat :: !Int16
, MsgSsrTileDefinitionDepA -> Int16
_msgSsrTileDefinitionDepA_corner_nw_lon :: !Int16
, MsgSsrTileDefinitionDepA -> Word16
_msgSsrTileDefinitionDepA_spacing_lat :: !Word16
, MsgSsrTileDefinitionDepA -> Word16
_msgSsrTileDefinitionDepA_spacing_lon :: !Word16
, MsgSsrTileDefinitionDepA -> Word16
_msgSsrTileDefinitionDepA_rows :: !Word16
, MsgSsrTileDefinitionDepA -> Word16
_msgSsrTileDefinitionDepA_cols :: !Word16
, MsgSsrTileDefinitionDepA -> Word64
_msgSsrTileDefinitionDepA_bitmask :: !Word64
} deriving ( Int -> MsgSsrTileDefinitionDepA -> ShowS
[MsgSsrTileDefinitionDepA] -> ShowS
MsgSsrTileDefinitionDepA -> String
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [MsgSsrTileDefinitionDepA] -> ShowS
$cshowList :: [MsgSsrTileDefinitionDepA] -> ShowS
show :: MsgSsrTileDefinitionDepA -> String
$cshow :: MsgSsrTileDefinitionDepA -> String
showsPrec :: Int -> MsgSsrTileDefinitionDepA -> ShowS
$cshowsPrec :: Int -> MsgSsrTileDefinitionDepA -> ShowS
Show, ReadPrec [MsgSsrTileDefinitionDepA]
ReadPrec MsgSsrTileDefinitionDepA
Int -> ReadS MsgSsrTileDefinitionDepA
ReadS [MsgSsrTileDefinitionDepA]
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [MsgSsrTileDefinitionDepA]
$creadListPrec :: ReadPrec [MsgSsrTileDefinitionDepA]
readPrec :: ReadPrec MsgSsrTileDefinitionDepA
$creadPrec :: ReadPrec MsgSsrTileDefinitionDepA
readList :: ReadS [MsgSsrTileDefinitionDepA]
$creadList :: ReadS [MsgSsrTileDefinitionDepA]
readsPrec :: Int -> ReadS MsgSsrTileDefinitionDepA
$creadsPrec :: Int -> ReadS MsgSsrTileDefinitionDepA
Read, MsgSsrTileDefinitionDepA -> MsgSsrTileDefinitionDepA -> Bool
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: MsgSsrTileDefinitionDepA -> MsgSsrTileDefinitionDepA -> Bool
$c/= :: MsgSsrTileDefinitionDepA -> MsgSsrTileDefinitionDepA -> Bool
== :: MsgSsrTileDefinitionDepA -> MsgSsrTileDefinitionDepA -> Bool
$c== :: MsgSsrTileDefinitionDepA -> MsgSsrTileDefinitionDepA -> Bool
Eq )
instance Binary MsgSsrTileDefinitionDepA where
get :: Get MsgSsrTileDefinitionDepA
get = do
Word16
_msgSsrTileDefinitionDepA_tile_set_id <- Get Word16
getWord16le
Word16
_msgSsrTileDefinitionDepA_tile_id <- Get Word16
getWord16le
Int16
_msgSsrTileDefinitionDepA_corner_nw_lat <- (forall a b. (Integral a, Num b) => a -> b
fromIntegral forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
<$> Get Word16
getWord16le)
Int16
_msgSsrTileDefinitionDepA_corner_nw_lon <- (forall a b. (Integral a, Num b) => a -> b
fromIntegral forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
<$> Get Word16
getWord16le)
Word16
_msgSsrTileDefinitionDepA_spacing_lat <- Get Word16
getWord16le
Word16
_msgSsrTileDefinitionDepA_spacing_lon <- Get Word16
getWord16le
Word16
_msgSsrTileDefinitionDepA_rows <- Get Word16
getWord16le
Word16
_msgSsrTileDefinitionDepA_cols <- Get Word16
getWord16le
Word64
_msgSsrTileDefinitionDepA_bitmask <- Get Word64
getWord64le
forall (f :: * -> *) a. Applicative f => a -> f a
pure MsgSsrTileDefinitionDepA {Int16
Word16
Word64
_msgSsrTileDefinitionDepA_bitmask :: Word64
_msgSsrTileDefinitionDepA_cols :: Word16
_msgSsrTileDefinitionDepA_rows :: Word16
_msgSsrTileDefinitionDepA_spacing_lon :: Word16
_msgSsrTileDefinitionDepA_spacing_lat :: Word16
_msgSsrTileDefinitionDepA_corner_nw_lon :: Int16
_msgSsrTileDefinitionDepA_corner_nw_lat :: Int16
_msgSsrTileDefinitionDepA_tile_id :: Word16
_msgSsrTileDefinitionDepA_tile_set_id :: Word16
_msgSsrTileDefinitionDepA_bitmask :: Word64
_msgSsrTileDefinitionDepA_cols :: Word16
_msgSsrTileDefinitionDepA_rows :: Word16
_msgSsrTileDefinitionDepA_spacing_lon :: Word16
_msgSsrTileDefinitionDepA_spacing_lat :: Word16
_msgSsrTileDefinitionDepA_corner_nw_lon :: Int16
_msgSsrTileDefinitionDepA_corner_nw_lat :: Int16
_msgSsrTileDefinitionDepA_tile_id :: Word16
_msgSsrTileDefinitionDepA_tile_set_id :: Word16
..}
put :: MsgSsrTileDefinitionDepA -> Put
put MsgSsrTileDefinitionDepA {Int16
Word16
Word64
_msgSsrTileDefinitionDepA_bitmask :: Word64
_msgSsrTileDefinitionDepA_cols :: Word16
_msgSsrTileDefinitionDepA_rows :: Word16
_msgSsrTileDefinitionDepA_spacing_lon :: Word16
_msgSsrTileDefinitionDepA_spacing_lat :: Word16
_msgSsrTileDefinitionDepA_corner_nw_lon :: Int16
_msgSsrTileDefinitionDepA_corner_nw_lat :: Int16
_msgSsrTileDefinitionDepA_tile_id :: Word16
_msgSsrTileDefinitionDepA_tile_set_id :: Word16
_msgSsrTileDefinitionDepA_bitmask :: MsgSsrTileDefinitionDepA -> Word64
_msgSsrTileDefinitionDepA_cols :: MsgSsrTileDefinitionDepA -> Word16
_msgSsrTileDefinitionDepA_rows :: MsgSsrTileDefinitionDepA -> Word16
_msgSsrTileDefinitionDepA_spacing_lon :: MsgSsrTileDefinitionDepA -> Word16
_msgSsrTileDefinitionDepA_spacing_lat :: MsgSsrTileDefinitionDepA -> Word16
_msgSsrTileDefinitionDepA_corner_nw_lon :: MsgSsrTileDefinitionDepA -> Int16
_msgSsrTileDefinitionDepA_corner_nw_lat :: MsgSsrTileDefinitionDepA -> Int16
_msgSsrTileDefinitionDepA_tile_id :: MsgSsrTileDefinitionDepA -> Word16
_msgSsrTileDefinitionDepA_tile_set_id :: MsgSsrTileDefinitionDepA -> Word16
..} = do
Word16 -> Put
putWord16le Word16
_msgSsrTileDefinitionDepA_tile_set_id
Word16 -> Put
putWord16le Word16
_msgSsrTileDefinitionDepA_tile_id
(Word16 -> Put
putWord16le forall {k} (cat :: k -> k -> *) (b :: k) (c :: k) (a :: k).
Category cat =>
cat b c -> cat a b -> cat a c
. forall a b. (Integral a, Num b) => a -> b
fromIntegral) Int16
_msgSsrTileDefinitionDepA_corner_nw_lat
(Word16 -> Put
putWord16le forall {k} (cat :: k -> k -> *) (b :: k) (c :: k) (a :: k).
Category cat =>
cat b c -> cat a b -> cat a c
. forall a b. (Integral a, Num b) => a -> b
fromIntegral) Int16
_msgSsrTileDefinitionDepA_corner_nw_lon
Word16 -> Put
putWord16le Word16
_msgSsrTileDefinitionDepA_spacing_lat
Word16 -> Put
putWord16le Word16
_msgSsrTileDefinitionDepA_spacing_lon
Word16 -> Put
putWord16le Word16
_msgSsrTileDefinitionDepA_rows
Word16 -> Put
putWord16le Word16
_msgSsrTileDefinitionDepA_cols
Word64 -> Put
putWord64le Word64
_msgSsrTileDefinitionDepA_bitmask
$(makeSBP 'msgSsrTileDefinitionDepA ''MsgSsrTileDefinitionDepA)
$(makeJSON "_msgSsrTileDefinitionDepA_" ''MsgSsrTileDefinitionDepA)
$(makeLenses ''MsgSsrTileDefinitionDepA)
msgSsrTileDefinitionDepB :: Word16
msgSsrTileDefinitionDepB :: Word16
msgSsrTileDefinitionDepB = Word16
0x05F7
data MsgSsrTileDefinitionDepB = MsgSsrTileDefinitionDepB
{ MsgSsrTileDefinitionDepB -> Word8
_msgSsrTileDefinitionDepB_ssr_sol_id :: !Word8
, MsgSsrTileDefinitionDepB -> Word16
_msgSsrTileDefinitionDepB_tile_set_id :: !Word16
, MsgSsrTileDefinitionDepB -> Word16
_msgSsrTileDefinitionDepB_tile_id :: !Word16
, MsgSsrTileDefinitionDepB -> Int16
_msgSsrTileDefinitionDepB_corner_nw_lat :: !Int16
, MsgSsrTileDefinitionDepB -> Int16
_msgSsrTileDefinitionDepB_corner_nw_lon :: !Int16
, MsgSsrTileDefinitionDepB -> Word16
_msgSsrTileDefinitionDepB_spacing_lat :: !Word16
, MsgSsrTileDefinitionDepB -> Word16
_msgSsrTileDefinitionDepB_spacing_lon :: !Word16
, MsgSsrTileDefinitionDepB -> Word16
_msgSsrTileDefinitionDepB_rows :: !Word16
, MsgSsrTileDefinitionDepB -> Word16
_msgSsrTileDefinitionDepB_cols :: !Word16
, MsgSsrTileDefinitionDepB -> Word64
_msgSsrTileDefinitionDepB_bitmask :: !Word64
} deriving ( Int -> MsgSsrTileDefinitionDepB -> ShowS
[MsgSsrTileDefinitionDepB] -> ShowS
MsgSsrTileDefinitionDepB -> String
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [MsgSsrTileDefinitionDepB] -> ShowS
$cshowList :: [MsgSsrTileDefinitionDepB] -> ShowS
show :: MsgSsrTileDefinitionDepB -> String
$cshow :: MsgSsrTileDefinitionDepB -> String
showsPrec :: Int -> MsgSsrTileDefinitionDepB -> ShowS
$cshowsPrec :: Int -> MsgSsrTileDefinitionDepB -> ShowS
Show, ReadPrec [MsgSsrTileDefinitionDepB]
ReadPrec MsgSsrTileDefinitionDepB
Int -> ReadS MsgSsrTileDefinitionDepB
ReadS [MsgSsrTileDefinitionDepB]
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [MsgSsrTileDefinitionDepB]
$creadListPrec :: ReadPrec [MsgSsrTileDefinitionDepB]
readPrec :: ReadPrec MsgSsrTileDefinitionDepB
$creadPrec :: ReadPrec MsgSsrTileDefinitionDepB
readList :: ReadS [MsgSsrTileDefinitionDepB]
$creadList :: ReadS [MsgSsrTileDefinitionDepB]
readsPrec :: Int -> ReadS MsgSsrTileDefinitionDepB
$creadsPrec :: Int -> ReadS MsgSsrTileDefinitionDepB
Read, MsgSsrTileDefinitionDepB -> MsgSsrTileDefinitionDepB -> Bool
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: MsgSsrTileDefinitionDepB -> MsgSsrTileDefinitionDepB -> Bool
$c/= :: MsgSsrTileDefinitionDepB -> MsgSsrTileDefinitionDepB -> Bool
== :: MsgSsrTileDefinitionDepB -> MsgSsrTileDefinitionDepB -> Bool
$c== :: MsgSsrTileDefinitionDepB -> MsgSsrTileDefinitionDepB -> Bool
Eq )
instance Binary MsgSsrTileDefinitionDepB where
get :: Get MsgSsrTileDefinitionDepB
get = do
Word8
_msgSsrTileDefinitionDepB_ssr_sol_id <- Get Word8
getWord8
Word16
_msgSsrTileDefinitionDepB_tile_set_id <- Get Word16
getWord16le
Word16
_msgSsrTileDefinitionDepB_tile_id <- Get Word16
getWord16le
Int16
_msgSsrTileDefinitionDepB_corner_nw_lat <- (forall a b. (Integral a, Num b) => a -> b
fromIntegral forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
<$> Get Word16
getWord16le)
Int16
_msgSsrTileDefinitionDepB_corner_nw_lon <- (forall a b. (Integral a, Num b) => a -> b
fromIntegral forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
<$> Get Word16
getWord16le)
Word16
_msgSsrTileDefinitionDepB_spacing_lat <- Get Word16
getWord16le
Word16
_msgSsrTileDefinitionDepB_spacing_lon <- Get Word16
getWord16le
Word16
_msgSsrTileDefinitionDepB_rows <- Get Word16
getWord16le
Word16
_msgSsrTileDefinitionDepB_cols <- Get Word16
getWord16le
Word64
_msgSsrTileDefinitionDepB_bitmask <- Get Word64
getWord64le
forall (f :: * -> *) a. Applicative f => a -> f a
pure MsgSsrTileDefinitionDepB {Int16
Word8
Word16
Word64
_msgSsrTileDefinitionDepB_bitmask :: Word64
_msgSsrTileDefinitionDepB_cols :: Word16
_msgSsrTileDefinitionDepB_rows :: Word16
_msgSsrTileDefinitionDepB_spacing_lon :: Word16
_msgSsrTileDefinitionDepB_spacing_lat :: Word16
_msgSsrTileDefinitionDepB_corner_nw_lon :: Int16
_msgSsrTileDefinitionDepB_corner_nw_lat :: Int16
_msgSsrTileDefinitionDepB_tile_id :: Word16
_msgSsrTileDefinitionDepB_tile_set_id :: Word16
_msgSsrTileDefinitionDepB_ssr_sol_id :: Word8
_msgSsrTileDefinitionDepB_bitmask :: Word64
_msgSsrTileDefinitionDepB_cols :: Word16
_msgSsrTileDefinitionDepB_rows :: Word16
_msgSsrTileDefinitionDepB_spacing_lon :: Word16
_msgSsrTileDefinitionDepB_spacing_lat :: Word16
_msgSsrTileDefinitionDepB_corner_nw_lon :: Int16
_msgSsrTileDefinitionDepB_corner_nw_lat :: Int16
_msgSsrTileDefinitionDepB_tile_id :: Word16
_msgSsrTileDefinitionDepB_tile_set_id :: Word16
_msgSsrTileDefinitionDepB_ssr_sol_id :: Word8
..}
put :: MsgSsrTileDefinitionDepB -> Put
put MsgSsrTileDefinitionDepB {Int16
Word8
Word16
Word64
_msgSsrTileDefinitionDepB_bitmask :: Word64
_msgSsrTileDefinitionDepB_cols :: Word16
_msgSsrTileDefinitionDepB_rows :: Word16
_msgSsrTileDefinitionDepB_spacing_lon :: Word16
_msgSsrTileDefinitionDepB_spacing_lat :: Word16
_msgSsrTileDefinitionDepB_corner_nw_lon :: Int16
_msgSsrTileDefinitionDepB_corner_nw_lat :: Int16
_msgSsrTileDefinitionDepB_tile_id :: Word16
_msgSsrTileDefinitionDepB_tile_set_id :: Word16
_msgSsrTileDefinitionDepB_ssr_sol_id :: Word8
_msgSsrTileDefinitionDepB_bitmask :: MsgSsrTileDefinitionDepB -> Word64
_msgSsrTileDefinitionDepB_cols :: MsgSsrTileDefinitionDepB -> Word16
_msgSsrTileDefinitionDepB_rows :: MsgSsrTileDefinitionDepB -> Word16
_msgSsrTileDefinitionDepB_spacing_lon :: MsgSsrTileDefinitionDepB -> Word16
_msgSsrTileDefinitionDepB_spacing_lat :: MsgSsrTileDefinitionDepB -> Word16
_msgSsrTileDefinitionDepB_corner_nw_lon :: MsgSsrTileDefinitionDepB -> Int16
_msgSsrTileDefinitionDepB_corner_nw_lat :: MsgSsrTileDefinitionDepB -> Int16
_msgSsrTileDefinitionDepB_tile_id :: MsgSsrTileDefinitionDepB -> Word16
_msgSsrTileDefinitionDepB_tile_set_id :: MsgSsrTileDefinitionDepB -> Word16
_msgSsrTileDefinitionDepB_ssr_sol_id :: MsgSsrTileDefinitionDepB -> Word8
..} = do
Word8 -> Put
putWord8 Word8
_msgSsrTileDefinitionDepB_ssr_sol_id
Word16 -> Put
putWord16le Word16
_msgSsrTileDefinitionDepB_tile_set_id
Word16 -> Put
putWord16le Word16
_msgSsrTileDefinitionDepB_tile_id
(Word16 -> Put
putWord16le forall {k} (cat :: k -> k -> *) (b :: k) (c :: k) (a :: k).
Category cat =>
cat b c -> cat a b -> cat a c
. forall a b. (Integral a, Num b) => a -> b
fromIntegral) Int16
_msgSsrTileDefinitionDepB_corner_nw_lat
(Word16 -> Put
putWord16le forall {k} (cat :: k -> k -> *) (b :: k) (c :: k) (a :: k).
Category cat =>
cat b c -> cat a b -> cat a c
. forall a b. (Integral a, Num b) => a -> b
fromIntegral) Int16
_msgSsrTileDefinitionDepB_corner_nw_lon
Word16 -> Put
putWord16le Word16
_msgSsrTileDefinitionDepB_spacing_lat
Word16 -> Put
putWord16le Word16
_msgSsrTileDefinitionDepB_spacing_lon
Word16 -> Put
putWord16le Word16
_msgSsrTileDefinitionDepB_rows
Word16 -> Put
putWord16le Word16
_msgSsrTileDefinitionDepB_cols
Word64 -> Put
putWord64le Word64
_msgSsrTileDefinitionDepB_bitmask
$(makeSBP 'msgSsrTileDefinitionDepB ''MsgSsrTileDefinitionDepB)
$(makeJSON "_msgSsrTileDefinitionDepB_" ''MsgSsrTileDefinitionDepB)
$(makeLenses ''MsgSsrTileDefinitionDepB)
msgSsrTileDefinition :: Word16
msgSsrTileDefinition :: Word16
msgSsrTileDefinition = Word16
0x05F8
data MsgSsrTileDefinition = MsgSsrTileDefinition
{ MsgSsrTileDefinition -> GpsTimeSec
_msgSsrTileDefinition_time :: !GpsTimeSec
, MsgSsrTileDefinition -> Word8
_msgSsrTileDefinition_update_interval :: !Word8
, MsgSsrTileDefinition -> Word8
_msgSsrTileDefinition_sol_id :: !Word8
, MsgSsrTileDefinition -> Word8
_msgSsrTileDefinition_iod_atmo :: !Word8
, MsgSsrTileDefinition -> Word16
_msgSsrTileDefinition_tile_set_id :: !Word16
, MsgSsrTileDefinition -> Word16
_msgSsrTileDefinition_tile_id :: !Word16
, MsgSsrTileDefinition -> Int16
_msgSsrTileDefinition_corner_nw_lat :: !Int16
, MsgSsrTileDefinition -> Int16
_msgSsrTileDefinition_corner_nw_lon :: !Int16
, MsgSsrTileDefinition -> Word16
_msgSsrTileDefinition_spacing_lat :: !Word16
, MsgSsrTileDefinition -> Word16
_msgSsrTileDefinition_spacing_lon :: !Word16
, MsgSsrTileDefinition -> Word16
_msgSsrTileDefinition_rows :: !Word16
, MsgSsrTileDefinition -> Word16
_msgSsrTileDefinition_cols :: !Word16
, MsgSsrTileDefinition -> Word64
_msgSsrTileDefinition_bitmask :: !Word64
} deriving ( Int -> MsgSsrTileDefinition -> ShowS
[MsgSsrTileDefinition] -> ShowS
MsgSsrTileDefinition -> String
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [MsgSsrTileDefinition] -> ShowS
$cshowList :: [MsgSsrTileDefinition] -> ShowS
show :: MsgSsrTileDefinition -> String
$cshow :: MsgSsrTileDefinition -> String
showsPrec :: Int -> MsgSsrTileDefinition -> ShowS
$cshowsPrec :: Int -> MsgSsrTileDefinition -> ShowS
Show, ReadPrec [MsgSsrTileDefinition]
ReadPrec MsgSsrTileDefinition
Int -> ReadS MsgSsrTileDefinition
ReadS [MsgSsrTileDefinition]
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [MsgSsrTileDefinition]
$creadListPrec :: ReadPrec [MsgSsrTileDefinition]
readPrec :: ReadPrec MsgSsrTileDefinition
$creadPrec :: ReadPrec MsgSsrTileDefinition
readList :: ReadS [MsgSsrTileDefinition]
$creadList :: ReadS [MsgSsrTileDefinition]
readsPrec :: Int -> ReadS MsgSsrTileDefinition
$creadsPrec :: Int -> ReadS MsgSsrTileDefinition
Read, MsgSsrTileDefinition -> MsgSsrTileDefinition -> Bool
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: MsgSsrTileDefinition -> MsgSsrTileDefinition -> Bool
$c/= :: MsgSsrTileDefinition -> MsgSsrTileDefinition -> Bool
== :: MsgSsrTileDefinition -> MsgSsrTileDefinition -> Bool
$c== :: MsgSsrTileDefinition -> MsgSsrTileDefinition -> Bool
Eq )
instance Binary MsgSsrTileDefinition where
get :: Get MsgSsrTileDefinition
get = do
GpsTimeSec
_msgSsrTileDefinition_time <- forall t. Binary t => Get t
get
Word8
_msgSsrTileDefinition_update_interval <- Get Word8
getWord8
Word8
_msgSsrTileDefinition_sol_id <- Get Word8
getWord8
Word8
_msgSsrTileDefinition_iod_atmo <- Get Word8
getWord8
Word16
_msgSsrTileDefinition_tile_set_id <- Get Word16
getWord16le
Word16
_msgSsrTileDefinition_tile_id <- Get Word16
getWord16le
Int16
_msgSsrTileDefinition_corner_nw_lat <- (forall a b. (Integral a, Num b) => a -> b
fromIntegral forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
<$> Get Word16
getWord16le)
Int16
_msgSsrTileDefinition_corner_nw_lon <- (forall a b. (Integral a, Num b) => a -> b
fromIntegral forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
<$> Get Word16
getWord16le)
Word16
_msgSsrTileDefinition_spacing_lat <- Get Word16
getWord16le
Word16
_msgSsrTileDefinition_spacing_lon <- Get Word16
getWord16le
Word16
_msgSsrTileDefinition_rows <- Get Word16
getWord16le
Word16
_msgSsrTileDefinition_cols <- Get Word16
getWord16le
Word64
_msgSsrTileDefinition_bitmask <- Get Word64
getWord64le
forall (f :: * -> *) a. Applicative f => a -> f a
pure MsgSsrTileDefinition {Int16
Word8
Word16
Word64
GpsTimeSec
_msgSsrTileDefinition_bitmask :: Word64
_msgSsrTileDefinition_cols :: Word16
_msgSsrTileDefinition_rows :: Word16
_msgSsrTileDefinition_spacing_lon :: Word16
_msgSsrTileDefinition_spacing_lat :: Word16
_msgSsrTileDefinition_corner_nw_lon :: Int16
_msgSsrTileDefinition_corner_nw_lat :: Int16
_msgSsrTileDefinition_tile_id :: Word16
_msgSsrTileDefinition_tile_set_id :: Word16
_msgSsrTileDefinition_iod_atmo :: Word8
_msgSsrTileDefinition_sol_id :: Word8
_msgSsrTileDefinition_update_interval :: Word8
_msgSsrTileDefinition_time :: GpsTimeSec
_msgSsrTileDefinition_bitmask :: Word64
_msgSsrTileDefinition_cols :: Word16
_msgSsrTileDefinition_rows :: Word16
_msgSsrTileDefinition_spacing_lon :: Word16
_msgSsrTileDefinition_spacing_lat :: Word16
_msgSsrTileDefinition_corner_nw_lon :: Int16
_msgSsrTileDefinition_corner_nw_lat :: Int16
_msgSsrTileDefinition_tile_id :: Word16
_msgSsrTileDefinition_tile_set_id :: Word16
_msgSsrTileDefinition_iod_atmo :: Word8
_msgSsrTileDefinition_sol_id :: Word8
_msgSsrTileDefinition_update_interval :: Word8
_msgSsrTileDefinition_time :: GpsTimeSec
..}
put :: MsgSsrTileDefinition -> Put
put MsgSsrTileDefinition {Int16
Word8
Word16
Word64
GpsTimeSec
_msgSsrTileDefinition_bitmask :: Word64
_msgSsrTileDefinition_cols :: Word16
_msgSsrTileDefinition_rows :: Word16
_msgSsrTileDefinition_spacing_lon :: Word16
_msgSsrTileDefinition_spacing_lat :: Word16
_msgSsrTileDefinition_corner_nw_lon :: Int16
_msgSsrTileDefinition_corner_nw_lat :: Int16
_msgSsrTileDefinition_tile_id :: Word16
_msgSsrTileDefinition_tile_set_id :: Word16
_msgSsrTileDefinition_iod_atmo :: Word8
_msgSsrTileDefinition_sol_id :: Word8
_msgSsrTileDefinition_update_interval :: Word8
_msgSsrTileDefinition_time :: GpsTimeSec
_msgSsrTileDefinition_bitmask :: MsgSsrTileDefinition -> Word64
_msgSsrTileDefinition_cols :: MsgSsrTileDefinition -> Word16
_msgSsrTileDefinition_rows :: MsgSsrTileDefinition -> Word16
_msgSsrTileDefinition_spacing_lon :: MsgSsrTileDefinition -> Word16
_msgSsrTileDefinition_spacing_lat :: MsgSsrTileDefinition -> Word16
_msgSsrTileDefinition_corner_nw_lon :: MsgSsrTileDefinition -> Int16
_msgSsrTileDefinition_corner_nw_lat :: MsgSsrTileDefinition -> Int16
_msgSsrTileDefinition_tile_id :: MsgSsrTileDefinition -> Word16
_msgSsrTileDefinition_tile_set_id :: MsgSsrTileDefinition -> Word16
_msgSsrTileDefinition_iod_atmo :: MsgSsrTileDefinition -> Word8
_msgSsrTileDefinition_sol_id :: MsgSsrTileDefinition -> Word8
_msgSsrTileDefinition_update_interval :: MsgSsrTileDefinition -> Word8
_msgSsrTileDefinition_time :: MsgSsrTileDefinition -> GpsTimeSec
..} = do
forall t. Binary t => t -> Put
put GpsTimeSec
_msgSsrTileDefinition_time
Word8 -> Put
putWord8 Word8
_msgSsrTileDefinition_update_interval
Word8 -> Put
putWord8 Word8
_msgSsrTileDefinition_sol_id
Word8 -> Put
putWord8 Word8
_msgSsrTileDefinition_iod_atmo
Word16 -> Put
putWord16le Word16
_msgSsrTileDefinition_tile_set_id
Word16 -> Put
putWord16le Word16
_msgSsrTileDefinition_tile_id
(Word16 -> Put
putWord16le forall {k} (cat :: k -> k -> *) (b :: k) (c :: k) (a :: k).
Category cat =>
cat b c -> cat a b -> cat a c
. forall a b. (Integral a, Num b) => a -> b
fromIntegral) Int16
_msgSsrTileDefinition_corner_nw_lat
(Word16 -> Put
putWord16le forall {k} (cat :: k -> k -> *) (b :: k) (c :: k) (a :: k).
Category cat =>
cat b c -> cat a b -> cat a c
. forall a b. (Integral a, Num b) => a -> b
fromIntegral) Int16
_msgSsrTileDefinition_corner_nw_lon
Word16 -> Put
putWord16le Word16
_msgSsrTileDefinition_spacing_lat
Word16 -> Put
putWord16le Word16
_msgSsrTileDefinition_spacing_lon
Word16 -> Put
putWord16le Word16
_msgSsrTileDefinition_rows
Word16 -> Put
putWord16le Word16
_msgSsrTileDefinition_cols
Word64 -> Put
putWord64le Word64
_msgSsrTileDefinition_bitmask
$(makeSBP 'msgSsrTileDefinition ''MsgSsrTileDefinition)
$(makeJSON "_msgSsrTileDefinition_" ''MsgSsrTileDefinition)
$(makeLenses ''MsgSsrTileDefinition)
data SatelliteAPC = SatelliteAPC
{ SatelliteAPC -> GnssSignal
_satelliteAPC_sid :: !GnssSignal
, SatelliteAPC -> Word8
_satelliteAPC_sat_info :: !Word8
, SatelliteAPC -> Word16
_satelliteAPC_svn :: !Word16
, SatelliteAPC -> [Int16]
_satelliteAPC_pco :: ![Int16]
, SatelliteAPC -> [Int8]
_satelliteAPC_pcv :: ![Int8]
} deriving ( Int -> SatelliteAPC -> ShowS
[SatelliteAPC] -> ShowS
SatelliteAPC -> String
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [SatelliteAPC] -> ShowS
$cshowList :: [SatelliteAPC] -> ShowS
show :: SatelliteAPC -> String
$cshow :: SatelliteAPC -> String
showsPrec :: Int -> SatelliteAPC -> ShowS
$cshowsPrec :: Int -> SatelliteAPC -> ShowS
Show, ReadPrec [SatelliteAPC]
ReadPrec SatelliteAPC
Int -> ReadS SatelliteAPC
ReadS [SatelliteAPC]
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [SatelliteAPC]
$creadListPrec :: ReadPrec [SatelliteAPC]
readPrec :: ReadPrec SatelliteAPC
$creadPrec :: ReadPrec SatelliteAPC
readList :: ReadS [SatelliteAPC]
$creadList :: ReadS [SatelliteAPC]
readsPrec :: Int -> ReadS SatelliteAPC
$creadsPrec :: Int -> ReadS SatelliteAPC
Read, SatelliteAPC -> SatelliteAPC -> Bool
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: SatelliteAPC -> SatelliteAPC -> Bool
$c/= :: SatelliteAPC -> SatelliteAPC -> Bool
== :: SatelliteAPC -> SatelliteAPC -> Bool
$c== :: SatelliteAPC -> SatelliteAPC -> Bool
Eq )
instance Binary SatelliteAPC where
get :: Get SatelliteAPC
get = do
GnssSignal
_satelliteAPC_sid <- forall t. Binary t => Get t
get
Word8
_satelliteAPC_sat_info <- Get Word8
getWord8
Word16
_satelliteAPC_svn <- Get Word16
getWord16le
[Int16]
_satelliteAPC_pco <- forall (m :: * -> *) a. Applicative m => Int -> m a -> m [a]
replicateM Int
3 (forall a b. (Integral a, Num b) => a -> b
fromIntegral forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
<$> Get Word16
getWord16le)
[Int8]
_satelliteAPC_pcv <- forall (m :: * -> *) a. Applicative m => Int -> m a -> m [a]
replicateM Int
21 (forall a b. (Integral a, Num b) => a -> b
fromIntegral forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
<$> Get Word8
getWord8)
forall (f :: * -> *) a. Applicative f => a -> f a
pure SatelliteAPC {[Int8]
[Int16]
Word8
Word16
GnssSignal
_satelliteAPC_pcv :: [Int8]
_satelliteAPC_pco :: [Int16]
_satelliteAPC_svn :: Word16
_satelliteAPC_sat_info :: Word8
_satelliteAPC_sid :: GnssSignal
_satelliteAPC_pcv :: [Int8]
_satelliteAPC_pco :: [Int16]
_satelliteAPC_svn :: Word16
_satelliteAPC_sat_info :: Word8
_satelliteAPC_sid :: GnssSignal
..}
put :: SatelliteAPC -> Put
put SatelliteAPC {[Int8]
[Int16]
Word8
Word16
GnssSignal
_satelliteAPC_pcv :: [Int8]
_satelliteAPC_pco :: [Int16]
_satelliteAPC_svn :: Word16
_satelliteAPC_sat_info :: Word8
_satelliteAPC_sid :: GnssSignal
_satelliteAPC_pcv :: SatelliteAPC -> [Int8]
_satelliteAPC_pco :: SatelliteAPC -> [Int16]
_satelliteAPC_svn :: SatelliteAPC -> Word16
_satelliteAPC_sat_info :: SatelliteAPC -> Word8
_satelliteAPC_sid :: SatelliteAPC -> GnssSignal
..} = do
forall t. Binary t => t -> Put
put GnssSignal
_satelliteAPC_sid
Word8 -> Put
putWord8 Word8
_satelliteAPC_sat_info
Word16 -> Put
putWord16le Word16
_satelliteAPC_svn
forall (t :: * -> *) (m :: * -> *) a b.
(Foldable t, Monad m) =>
(a -> m b) -> t a -> m ()
mapM_ (Word16 -> Put
putWord16le forall {k} (cat :: k -> k -> *) (b :: k) (c :: k) (a :: k).
Category cat =>
cat b c -> cat a b -> cat a c
. forall a b. (Integral a, Num b) => a -> b
fromIntegral) [Int16]
_satelliteAPC_pco
forall (t :: * -> *) (m :: * -> *) a b.
(Foldable t, Monad m) =>
(a -> m b) -> t a -> m ()
mapM_ (Word8 -> Put
putWord8 forall {k} (cat :: k -> k -> *) (b :: k) (c :: k) (a :: k).
Category cat =>
cat b c -> cat a b -> cat a c
. forall a b. (Integral a, Num b) => a -> b
fromIntegral) [Int8]
_satelliteAPC_pcv
$(makeJSON "_satelliteAPC_" ''SatelliteAPC)
$(makeLenses ''SatelliteAPC)
msgSsrSatelliteApcDep :: Word16
msgSsrSatelliteApcDep :: Word16
msgSsrSatelliteApcDep = Word16
0x0604
data MsgSsrSatelliteApcDep = MsgSsrSatelliteApcDep
{ MsgSsrSatelliteApcDep -> [SatelliteAPC]
_msgSsrSatelliteApcDep_apc :: ![SatelliteAPC]
} deriving ( Int -> MsgSsrSatelliteApcDep -> ShowS
[MsgSsrSatelliteApcDep] -> ShowS
MsgSsrSatelliteApcDep -> String
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [MsgSsrSatelliteApcDep] -> ShowS
$cshowList :: [MsgSsrSatelliteApcDep] -> ShowS
show :: MsgSsrSatelliteApcDep -> String
$cshow :: MsgSsrSatelliteApcDep -> String
showsPrec :: Int -> MsgSsrSatelliteApcDep -> ShowS
$cshowsPrec :: Int -> MsgSsrSatelliteApcDep -> ShowS
Show, ReadPrec [MsgSsrSatelliteApcDep]
ReadPrec MsgSsrSatelliteApcDep
Int -> ReadS MsgSsrSatelliteApcDep
ReadS [MsgSsrSatelliteApcDep]
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [MsgSsrSatelliteApcDep]
$creadListPrec :: ReadPrec [MsgSsrSatelliteApcDep]
readPrec :: ReadPrec MsgSsrSatelliteApcDep
$creadPrec :: ReadPrec MsgSsrSatelliteApcDep
readList :: ReadS [MsgSsrSatelliteApcDep]
$creadList :: ReadS [MsgSsrSatelliteApcDep]
readsPrec :: Int -> ReadS MsgSsrSatelliteApcDep
$creadsPrec :: Int -> ReadS MsgSsrSatelliteApcDep
Read, MsgSsrSatelliteApcDep -> MsgSsrSatelliteApcDep -> Bool
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: MsgSsrSatelliteApcDep -> MsgSsrSatelliteApcDep -> Bool
$c/= :: MsgSsrSatelliteApcDep -> MsgSsrSatelliteApcDep -> Bool
== :: MsgSsrSatelliteApcDep -> MsgSsrSatelliteApcDep -> Bool
$c== :: MsgSsrSatelliteApcDep -> MsgSsrSatelliteApcDep -> Bool
Eq )
instance Binary MsgSsrSatelliteApcDep where
get :: Get MsgSsrSatelliteApcDep
get = do
[SatelliteAPC]
_msgSsrSatelliteApcDep_apc <- forall (m :: * -> *) a. Monad m => m Bool -> m a -> m [a]
whileM (Bool -> Bool
not forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
<$> Get Bool
isEmpty) forall t. Binary t => Get t
get
forall (f :: * -> *) a. Applicative f => a -> f a
pure MsgSsrSatelliteApcDep {[SatelliteAPC]
_msgSsrSatelliteApcDep_apc :: [SatelliteAPC]
_msgSsrSatelliteApcDep_apc :: [SatelliteAPC]
..}
put :: MsgSsrSatelliteApcDep -> Put
put MsgSsrSatelliteApcDep {[SatelliteAPC]
_msgSsrSatelliteApcDep_apc :: [SatelliteAPC]
_msgSsrSatelliteApcDep_apc :: MsgSsrSatelliteApcDep -> [SatelliteAPC]
..} = do
forall (t :: * -> *) (m :: * -> *) a b.
(Foldable t, Monad m) =>
(a -> m b) -> t a -> m ()
mapM_ forall t. Binary t => t -> Put
put [SatelliteAPC]
_msgSsrSatelliteApcDep_apc
$(makeSBP 'msgSsrSatelliteApcDep ''MsgSsrSatelliteApcDep)
$(makeJSON "_msgSsrSatelliteApcDep_" ''MsgSsrSatelliteApcDep)
$(makeLenses ''MsgSsrSatelliteApcDep)
msgSsrSatelliteApc :: Word16
msgSsrSatelliteApc :: Word16
msgSsrSatelliteApc = Word16
0x0605
data MsgSsrSatelliteApc = MsgSsrSatelliteApc
{ MsgSsrSatelliteApc -> GpsTimeSec
_msgSsrSatelliteApc_time :: !GpsTimeSec
, MsgSsrSatelliteApc -> Word8
_msgSsrSatelliteApc_update_interval :: !Word8
, MsgSsrSatelliteApc -> Word8
_msgSsrSatelliteApc_sol_id :: !Word8
, MsgSsrSatelliteApc -> Word8
_msgSsrSatelliteApc_iod_ssr :: !Word8
, MsgSsrSatelliteApc -> [SatelliteAPC]
_msgSsrSatelliteApc_apc :: ![SatelliteAPC]
} deriving ( Int -> MsgSsrSatelliteApc -> ShowS
[MsgSsrSatelliteApc] -> ShowS
MsgSsrSatelliteApc -> String
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [MsgSsrSatelliteApc] -> ShowS
$cshowList :: [MsgSsrSatelliteApc] -> ShowS
show :: MsgSsrSatelliteApc -> String
$cshow :: MsgSsrSatelliteApc -> String
showsPrec :: Int -> MsgSsrSatelliteApc -> ShowS
$cshowsPrec :: Int -> MsgSsrSatelliteApc -> ShowS
Show, ReadPrec [MsgSsrSatelliteApc]
ReadPrec MsgSsrSatelliteApc
Int -> ReadS MsgSsrSatelliteApc
ReadS [MsgSsrSatelliteApc]
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [MsgSsrSatelliteApc]
$creadListPrec :: ReadPrec [MsgSsrSatelliteApc]
readPrec :: ReadPrec MsgSsrSatelliteApc
$creadPrec :: ReadPrec MsgSsrSatelliteApc
readList :: ReadS [MsgSsrSatelliteApc]
$creadList :: ReadS [MsgSsrSatelliteApc]
readsPrec :: Int -> ReadS MsgSsrSatelliteApc
$creadsPrec :: Int -> ReadS MsgSsrSatelliteApc
Read, MsgSsrSatelliteApc -> MsgSsrSatelliteApc -> Bool
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: MsgSsrSatelliteApc -> MsgSsrSatelliteApc -> Bool
$c/= :: MsgSsrSatelliteApc -> MsgSsrSatelliteApc -> Bool
== :: MsgSsrSatelliteApc -> MsgSsrSatelliteApc -> Bool
$c== :: MsgSsrSatelliteApc -> MsgSsrSatelliteApc -> Bool
Eq )
instance Binary MsgSsrSatelliteApc where
get :: Get MsgSsrSatelliteApc
get = do
GpsTimeSec
_msgSsrSatelliteApc_time <- forall t. Binary t => Get t
get
Word8
_msgSsrSatelliteApc_update_interval <- Get Word8
getWord8
Word8
_msgSsrSatelliteApc_sol_id <- Get Word8
getWord8
Word8
_msgSsrSatelliteApc_iod_ssr <- Get Word8
getWord8
[SatelliteAPC]
_msgSsrSatelliteApc_apc <- forall (m :: * -> *) a. Monad m => m Bool -> m a -> m [a]
whileM (Bool -> Bool
not forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
<$> Get Bool
isEmpty) forall t. Binary t => Get t
get
forall (f :: * -> *) a. Applicative f => a -> f a
pure MsgSsrSatelliteApc {[SatelliteAPC]
Word8
GpsTimeSec
_msgSsrSatelliteApc_apc :: [SatelliteAPC]
_msgSsrSatelliteApc_iod_ssr :: Word8
_msgSsrSatelliteApc_sol_id :: Word8
_msgSsrSatelliteApc_update_interval :: Word8
_msgSsrSatelliteApc_time :: GpsTimeSec
_msgSsrSatelliteApc_apc :: [SatelliteAPC]
_msgSsrSatelliteApc_iod_ssr :: Word8
_msgSsrSatelliteApc_sol_id :: Word8
_msgSsrSatelliteApc_update_interval :: Word8
_msgSsrSatelliteApc_time :: GpsTimeSec
..}
put :: MsgSsrSatelliteApc -> Put
put MsgSsrSatelliteApc {[SatelliteAPC]
Word8
GpsTimeSec
_msgSsrSatelliteApc_apc :: [SatelliteAPC]
_msgSsrSatelliteApc_iod_ssr :: Word8
_msgSsrSatelliteApc_sol_id :: Word8
_msgSsrSatelliteApc_update_interval :: Word8
_msgSsrSatelliteApc_time :: GpsTimeSec
_msgSsrSatelliteApc_apc :: MsgSsrSatelliteApc -> [SatelliteAPC]
_msgSsrSatelliteApc_iod_ssr :: MsgSsrSatelliteApc -> Word8
_msgSsrSatelliteApc_sol_id :: MsgSsrSatelliteApc -> Word8
_msgSsrSatelliteApc_update_interval :: MsgSsrSatelliteApc -> Word8
_msgSsrSatelliteApc_time :: MsgSsrSatelliteApc -> GpsTimeSec
..} = do
forall t. Binary t => t -> Put
put GpsTimeSec
_msgSsrSatelliteApc_time
Word8 -> Put
putWord8 Word8
_msgSsrSatelliteApc_update_interval
Word8 -> Put
putWord8 Word8
_msgSsrSatelliteApc_sol_id
Word8 -> Put
putWord8 Word8
_msgSsrSatelliteApc_iod_ssr
forall (t :: * -> *) (m :: * -> *) a b.
(Foldable t, Monad m) =>
(a -> m b) -> t a -> m ()
mapM_ forall t. Binary t => t -> Put
put [SatelliteAPC]
_msgSsrSatelliteApc_apc
$(makeSBP 'msgSsrSatelliteApc ''MsgSsrSatelliteApc)
$(makeJSON "_msgSsrSatelliteApc_" ''MsgSsrSatelliteApc)
$(makeLenses ''MsgSsrSatelliteApc)
msgSsrOrbitClockDepA :: Word16
msgSsrOrbitClockDepA :: Word16
msgSsrOrbitClockDepA = Word16
0x05DC
data MsgSsrOrbitClockDepA = MsgSsrOrbitClockDepA
{ MsgSsrOrbitClockDepA -> GpsTimeSec
_msgSsrOrbitClockDepA_time :: !GpsTimeSec
, MsgSsrOrbitClockDepA -> GnssSignal
_msgSsrOrbitClockDepA_sid :: !GnssSignal
, MsgSsrOrbitClockDepA -> Word8
_msgSsrOrbitClockDepA_update_interval :: !Word8
, MsgSsrOrbitClockDepA -> Word8
_msgSsrOrbitClockDepA_iod_ssr :: !Word8
, MsgSsrOrbitClockDepA -> Word8
_msgSsrOrbitClockDepA_iod :: !Word8
, MsgSsrOrbitClockDepA -> Int32
_msgSsrOrbitClockDepA_radial :: !Int32
, MsgSsrOrbitClockDepA -> Int32
_msgSsrOrbitClockDepA_along :: !Int32
, MsgSsrOrbitClockDepA -> Int32
_msgSsrOrbitClockDepA_cross :: !Int32
, MsgSsrOrbitClockDepA -> Int32
_msgSsrOrbitClockDepA_dot_radial :: !Int32
, MsgSsrOrbitClockDepA -> Int32
_msgSsrOrbitClockDepA_dot_along :: !Int32
, MsgSsrOrbitClockDepA -> Int32
_msgSsrOrbitClockDepA_dot_cross :: !Int32
, MsgSsrOrbitClockDepA -> Int32
_msgSsrOrbitClockDepA_c0 :: !Int32
, MsgSsrOrbitClockDepA -> Int32
_msgSsrOrbitClockDepA_c1 :: !Int32
, MsgSsrOrbitClockDepA -> Int32
_msgSsrOrbitClockDepA_c2 :: !Int32
} deriving ( Int -> MsgSsrOrbitClockDepA -> ShowS
[MsgSsrOrbitClockDepA] -> ShowS
MsgSsrOrbitClockDepA -> String
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [MsgSsrOrbitClockDepA] -> ShowS
$cshowList :: [MsgSsrOrbitClockDepA] -> ShowS
show :: MsgSsrOrbitClockDepA -> String
$cshow :: MsgSsrOrbitClockDepA -> String
showsPrec :: Int -> MsgSsrOrbitClockDepA -> ShowS
$cshowsPrec :: Int -> MsgSsrOrbitClockDepA -> ShowS
Show, ReadPrec [MsgSsrOrbitClockDepA]
ReadPrec MsgSsrOrbitClockDepA
Int -> ReadS MsgSsrOrbitClockDepA
ReadS [MsgSsrOrbitClockDepA]
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [MsgSsrOrbitClockDepA]
$creadListPrec :: ReadPrec [MsgSsrOrbitClockDepA]
readPrec :: ReadPrec MsgSsrOrbitClockDepA
$creadPrec :: ReadPrec MsgSsrOrbitClockDepA
readList :: ReadS [MsgSsrOrbitClockDepA]
$creadList :: ReadS [MsgSsrOrbitClockDepA]
readsPrec :: Int -> ReadS MsgSsrOrbitClockDepA
$creadsPrec :: Int -> ReadS MsgSsrOrbitClockDepA
Read, MsgSsrOrbitClockDepA -> MsgSsrOrbitClockDepA -> Bool
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: MsgSsrOrbitClockDepA -> MsgSsrOrbitClockDepA -> Bool
$c/= :: MsgSsrOrbitClockDepA -> MsgSsrOrbitClockDepA -> Bool
== :: MsgSsrOrbitClockDepA -> MsgSsrOrbitClockDepA -> Bool
$c== :: MsgSsrOrbitClockDepA -> MsgSsrOrbitClockDepA -> Bool
Eq )
instance Binary MsgSsrOrbitClockDepA where
get :: Get MsgSsrOrbitClockDepA
get = do
GpsTimeSec
_msgSsrOrbitClockDepA_time <- forall t. Binary t => Get t
get
GnssSignal
_msgSsrOrbitClockDepA_sid <- forall t. Binary t => Get t
get
Word8
_msgSsrOrbitClockDepA_update_interval <- Get Word8
getWord8
Word8
_msgSsrOrbitClockDepA_iod_ssr <- Get Word8
getWord8
Word8
_msgSsrOrbitClockDepA_iod <- Get Word8
getWord8
Int32
_msgSsrOrbitClockDepA_radial <- (forall a b. (Integral a, Num b) => a -> b
fromIntegral forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
<$> Get Word32
getWord32le)
Int32
_msgSsrOrbitClockDepA_along <- (forall a b. (Integral a, Num b) => a -> b
fromIntegral forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
<$> Get Word32
getWord32le)
Int32
_msgSsrOrbitClockDepA_cross <- (forall a b. (Integral a, Num b) => a -> b
fromIntegral forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
<$> Get Word32
getWord32le)
Int32
_msgSsrOrbitClockDepA_dot_radial <- (forall a b. (Integral a, Num b) => a -> b
fromIntegral forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
<$> Get Word32
getWord32le)
Int32
_msgSsrOrbitClockDepA_dot_along <- (forall a b. (Integral a, Num b) => a -> b
fromIntegral forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
<$> Get Word32
getWord32le)
Int32
_msgSsrOrbitClockDepA_dot_cross <- (forall a b. (Integral a, Num b) => a -> b
fromIntegral forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
<$> Get Word32
getWord32le)
Int32
_msgSsrOrbitClockDepA_c0 <- (forall a b. (Integral a, Num b) => a -> b
fromIntegral forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
<$> Get Word32
getWord32le)
Int32
_msgSsrOrbitClockDepA_c1 <- (forall a b. (Integral a, Num b) => a -> b
fromIntegral forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
<$> Get Word32
getWord32le)
Int32
_msgSsrOrbitClockDepA_c2 <- (forall a b. (Integral a, Num b) => a -> b
fromIntegral forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
<$> Get Word32
getWord32le)
forall (f :: * -> *) a. Applicative f => a -> f a
pure MsgSsrOrbitClockDepA {Int32
Word8
GnssSignal
GpsTimeSec
_msgSsrOrbitClockDepA_c2 :: Int32
_msgSsrOrbitClockDepA_c1 :: Int32
_msgSsrOrbitClockDepA_c0 :: Int32
_msgSsrOrbitClockDepA_dot_cross :: Int32
_msgSsrOrbitClockDepA_dot_along :: Int32
_msgSsrOrbitClockDepA_dot_radial :: Int32
_msgSsrOrbitClockDepA_cross :: Int32
_msgSsrOrbitClockDepA_along :: Int32
_msgSsrOrbitClockDepA_radial :: Int32
_msgSsrOrbitClockDepA_iod :: Word8
_msgSsrOrbitClockDepA_iod_ssr :: Word8
_msgSsrOrbitClockDepA_update_interval :: Word8
_msgSsrOrbitClockDepA_sid :: GnssSignal
_msgSsrOrbitClockDepA_time :: GpsTimeSec
_msgSsrOrbitClockDepA_c2 :: Int32
_msgSsrOrbitClockDepA_c1 :: Int32
_msgSsrOrbitClockDepA_c0 :: Int32
_msgSsrOrbitClockDepA_dot_cross :: Int32
_msgSsrOrbitClockDepA_dot_along :: Int32
_msgSsrOrbitClockDepA_dot_radial :: Int32
_msgSsrOrbitClockDepA_cross :: Int32
_msgSsrOrbitClockDepA_along :: Int32
_msgSsrOrbitClockDepA_radial :: Int32
_msgSsrOrbitClockDepA_iod :: Word8
_msgSsrOrbitClockDepA_iod_ssr :: Word8
_msgSsrOrbitClockDepA_update_interval :: Word8
_msgSsrOrbitClockDepA_sid :: GnssSignal
_msgSsrOrbitClockDepA_time :: GpsTimeSec
..}
put :: MsgSsrOrbitClockDepA -> Put
put MsgSsrOrbitClockDepA {Int32
Word8
GnssSignal
GpsTimeSec
_msgSsrOrbitClockDepA_c2 :: Int32
_msgSsrOrbitClockDepA_c1 :: Int32
_msgSsrOrbitClockDepA_c0 :: Int32
_msgSsrOrbitClockDepA_dot_cross :: Int32
_msgSsrOrbitClockDepA_dot_along :: Int32
_msgSsrOrbitClockDepA_dot_radial :: Int32
_msgSsrOrbitClockDepA_cross :: Int32
_msgSsrOrbitClockDepA_along :: Int32
_msgSsrOrbitClockDepA_radial :: Int32
_msgSsrOrbitClockDepA_iod :: Word8
_msgSsrOrbitClockDepA_iod_ssr :: Word8
_msgSsrOrbitClockDepA_update_interval :: Word8
_msgSsrOrbitClockDepA_sid :: GnssSignal
_msgSsrOrbitClockDepA_time :: GpsTimeSec
_msgSsrOrbitClockDepA_c2 :: MsgSsrOrbitClockDepA -> Int32
_msgSsrOrbitClockDepA_c1 :: MsgSsrOrbitClockDepA -> Int32
_msgSsrOrbitClockDepA_c0 :: MsgSsrOrbitClockDepA -> Int32
_msgSsrOrbitClockDepA_dot_cross :: MsgSsrOrbitClockDepA -> Int32
_msgSsrOrbitClockDepA_dot_along :: MsgSsrOrbitClockDepA -> Int32
_msgSsrOrbitClockDepA_dot_radial :: MsgSsrOrbitClockDepA -> Int32
_msgSsrOrbitClockDepA_cross :: MsgSsrOrbitClockDepA -> Int32
_msgSsrOrbitClockDepA_along :: MsgSsrOrbitClockDepA -> Int32
_msgSsrOrbitClockDepA_radial :: MsgSsrOrbitClockDepA -> Int32
_msgSsrOrbitClockDepA_iod :: MsgSsrOrbitClockDepA -> Word8
_msgSsrOrbitClockDepA_iod_ssr :: MsgSsrOrbitClockDepA -> Word8
_msgSsrOrbitClockDepA_update_interval :: MsgSsrOrbitClockDepA -> Word8
_msgSsrOrbitClockDepA_sid :: MsgSsrOrbitClockDepA -> GnssSignal
_msgSsrOrbitClockDepA_time :: MsgSsrOrbitClockDepA -> GpsTimeSec
..} = do
forall t. Binary t => t -> Put
put GpsTimeSec
_msgSsrOrbitClockDepA_time
forall t. Binary t => t -> Put
put GnssSignal
_msgSsrOrbitClockDepA_sid
Word8 -> Put
putWord8 Word8
_msgSsrOrbitClockDepA_update_interval
Word8 -> Put
putWord8 Word8
_msgSsrOrbitClockDepA_iod_ssr
Word8 -> Put
putWord8 Word8
_msgSsrOrbitClockDepA_iod
(Word32 -> Put
putWord32le forall {k} (cat :: k -> k -> *) (b :: k) (c :: k) (a :: k).
Category cat =>
cat b c -> cat a b -> cat a c
. forall a b. (Integral a, Num b) => a -> b
fromIntegral) Int32
_msgSsrOrbitClockDepA_radial
(Word32 -> Put
putWord32le forall {k} (cat :: k -> k -> *) (b :: k) (c :: k) (a :: k).
Category cat =>
cat b c -> cat a b -> cat a c
. forall a b. (Integral a, Num b) => a -> b
fromIntegral) Int32
_msgSsrOrbitClockDepA_along
(Word32 -> Put
putWord32le forall {k} (cat :: k -> k -> *) (b :: k) (c :: k) (a :: k).
Category cat =>
cat b c -> cat a b -> cat a c
. forall a b. (Integral a, Num b) => a -> b
fromIntegral) Int32
_msgSsrOrbitClockDepA_cross
(Word32 -> Put
putWord32le forall {k} (cat :: k -> k -> *) (b :: k) (c :: k) (a :: k).
Category cat =>
cat b c -> cat a b -> cat a c
. forall a b. (Integral a, Num b) => a -> b
fromIntegral) Int32
_msgSsrOrbitClockDepA_dot_radial
(Word32 -> Put
putWord32le forall {k} (cat :: k -> k -> *) (b :: k) (c :: k) (a :: k).
Category cat =>
cat b c -> cat a b -> cat a c
. forall a b. (Integral a, Num b) => a -> b
fromIntegral) Int32
_msgSsrOrbitClockDepA_dot_along
(Word32 -> Put
putWord32le forall {k} (cat :: k -> k -> *) (b :: k) (c :: k) (a :: k).
Category cat =>
cat b c -> cat a b -> cat a c
. forall a b. (Integral a, Num b) => a -> b
fromIntegral) Int32
_msgSsrOrbitClockDepA_dot_cross
(Word32 -> Put
putWord32le forall {k} (cat :: k -> k -> *) (b :: k) (c :: k) (a :: k).
Category cat =>
cat b c -> cat a b -> cat a c
. forall a b. (Integral a, Num b) => a -> b
fromIntegral) Int32
_msgSsrOrbitClockDepA_c0
(Word32 -> Put
putWord32le forall {k} (cat :: k -> k -> *) (b :: k) (c :: k) (a :: k).
Category cat =>
cat b c -> cat a b -> cat a c
. forall a b. (Integral a, Num b) => a -> b
fromIntegral) Int32
_msgSsrOrbitClockDepA_c1
(Word32 -> Put
putWord32le forall {k} (cat :: k -> k -> *) (b :: k) (c :: k) (a :: k).
Category cat =>
cat b c -> cat a b -> cat a c
. forall a b. (Integral a, Num b) => a -> b
fromIntegral) Int32
_msgSsrOrbitClockDepA_c2
$(makeSBP 'msgSsrOrbitClockDepA ''MsgSsrOrbitClockDepA)
$(makeJSON "_msgSsrOrbitClockDepA_" ''MsgSsrOrbitClockDepA)
$(makeLenses ''MsgSsrOrbitClockDepA)
data =
{ :: !GpsTimeSec
, :: !Word8
, :: !Word8
, :: !Word8
, :: !Word8
} deriving ( Int -> STECHeaderDepA -> ShowS
[STECHeaderDepA] -> ShowS
STECHeaderDepA -> String
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [STECHeaderDepA] -> ShowS
$cshowList :: [STECHeaderDepA] -> ShowS
show :: STECHeaderDepA -> String
$cshow :: STECHeaderDepA -> String
showsPrec :: Int -> STECHeaderDepA -> ShowS
$cshowsPrec :: Int -> STECHeaderDepA -> ShowS
Show, ReadPrec [STECHeaderDepA]
ReadPrec STECHeaderDepA
Int -> ReadS STECHeaderDepA
ReadS [STECHeaderDepA]
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [STECHeaderDepA]
$creadListPrec :: ReadPrec [STECHeaderDepA]
readPrec :: ReadPrec STECHeaderDepA
$creadPrec :: ReadPrec STECHeaderDepA
readList :: ReadS [STECHeaderDepA]
$creadList :: ReadS [STECHeaderDepA]
readsPrec :: Int -> ReadS STECHeaderDepA
$creadsPrec :: Int -> ReadS STECHeaderDepA
Read, STECHeaderDepA -> STECHeaderDepA -> Bool
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: STECHeaderDepA -> STECHeaderDepA -> Bool
$c/= :: STECHeaderDepA -> STECHeaderDepA -> Bool
== :: STECHeaderDepA -> STECHeaderDepA -> Bool
$c== :: STECHeaderDepA -> STECHeaderDepA -> Bool
Eq )
instance Binary STECHeaderDepA where
get :: Get STECHeaderDepA
get = do
GpsTimeSec
_sTECHeaderDepA_time <- forall t. Binary t => Get t
get
Word8
_sTECHeaderDepA_num_msgs <- Get Word8
getWord8
Word8
_sTECHeaderDepA_seq_num <- Get Word8
getWord8
Word8
_sTECHeaderDepA_update_interval <- Get Word8
getWord8
Word8
_sTECHeaderDepA_iod_atmo <- Get Word8
getWord8
forall (f :: * -> *) a. Applicative f => a -> f a
pure STECHeaderDepA {Word8
GpsTimeSec
_sTECHeaderDepA_iod_atmo :: Word8
_sTECHeaderDepA_update_interval :: Word8
_sTECHeaderDepA_seq_num :: Word8
_sTECHeaderDepA_num_msgs :: Word8
_sTECHeaderDepA_time :: GpsTimeSec
_sTECHeaderDepA_iod_atmo :: Word8
_sTECHeaderDepA_update_interval :: Word8
_sTECHeaderDepA_seq_num :: Word8
_sTECHeaderDepA_num_msgs :: Word8
_sTECHeaderDepA_time :: GpsTimeSec
..}
put :: STECHeaderDepA -> Put
put STECHeaderDepA {Word8
GpsTimeSec
_sTECHeaderDepA_iod_atmo :: Word8
_sTECHeaderDepA_update_interval :: Word8
_sTECHeaderDepA_seq_num :: Word8
_sTECHeaderDepA_num_msgs :: Word8
_sTECHeaderDepA_time :: GpsTimeSec
_sTECHeaderDepA_iod_atmo :: STECHeaderDepA -> Word8
_sTECHeaderDepA_update_interval :: STECHeaderDepA -> Word8
_sTECHeaderDepA_seq_num :: STECHeaderDepA -> Word8
_sTECHeaderDepA_num_msgs :: STECHeaderDepA -> Word8
_sTECHeaderDepA_time :: STECHeaderDepA -> GpsTimeSec
..} = do
forall t. Binary t => t -> Put
put GpsTimeSec
_sTECHeaderDepA_time
Word8 -> Put
putWord8 Word8
_sTECHeaderDepA_num_msgs
Word8 -> Put
putWord8 Word8
_sTECHeaderDepA_seq_num
Word8 -> Put
putWord8 Word8
_sTECHeaderDepA_update_interval
Word8 -> Put
putWord8 Word8
_sTECHeaderDepA_iod_atmo
$(makeJSON "_sTECHeaderDepA_" ''STECHeaderDepA)
$
data =
{ :: !GpsTimeSec
, :: !Word16
, :: !Word16
, :: !Word8
, :: !Word8
, :: !Word8
} deriving ( Int -> GriddedCorrectionHeaderDepA -> ShowS
[GriddedCorrectionHeaderDepA] -> ShowS
GriddedCorrectionHeaderDepA -> String
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [GriddedCorrectionHeaderDepA] -> ShowS
$cshowList :: [GriddedCorrectionHeaderDepA] -> ShowS
show :: GriddedCorrectionHeaderDepA -> String
$cshow :: GriddedCorrectionHeaderDepA -> String
showsPrec :: Int -> GriddedCorrectionHeaderDepA -> ShowS
$cshowsPrec :: Int -> GriddedCorrectionHeaderDepA -> ShowS
Show, ReadPrec [GriddedCorrectionHeaderDepA]
ReadPrec GriddedCorrectionHeaderDepA
Int -> ReadS GriddedCorrectionHeaderDepA
ReadS [GriddedCorrectionHeaderDepA]
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [GriddedCorrectionHeaderDepA]
$creadListPrec :: ReadPrec [GriddedCorrectionHeaderDepA]
readPrec :: ReadPrec GriddedCorrectionHeaderDepA
$creadPrec :: ReadPrec GriddedCorrectionHeaderDepA
readList :: ReadS [GriddedCorrectionHeaderDepA]
$creadList :: ReadS [GriddedCorrectionHeaderDepA]
readsPrec :: Int -> ReadS GriddedCorrectionHeaderDepA
$creadsPrec :: Int -> ReadS GriddedCorrectionHeaderDepA
Read, GriddedCorrectionHeaderDepA -> GriddedCorrectionHeaderDepA -> Bool
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: GriddedCorrectionHeaderDepA -> GriddedCorrectionHeaderDepA -> Bool
$c/= :: GriddedCorrectionHeaderDepA -> GriddedCorrectionHeaderDepA -> Bool
== :: GriddedCorrectionHeaderDepA -> GriddedCorrectionHeaderDepA -> Bool
$c== :: GriddedCorrectionHeaderDepA -> GriddedCorrectionHeaderDepA -> Bool
Eq )
instance Binary GriddedCorrectionHeaderDepA where
get :: Get GriddedCorrectionHeaderDepA
get = do
GpsTimeSec
_griddedCorrectionHeaderDepA_time <- forall t. Binary t => Get t
get
Word16
_griddedCorrectionHeaderDepA_num_msgs <- Get Word16
getWord16le
Word16
_griddedCorrectionHeaderDepA_seq_num <- Get Word16
getWord16le
Word8
_griddedCorrectionHeaderDepA_update_interval <- Get Word8
getWord8
Word8
_griddedCorrectionHeaderDepA_iod_atmo <- Get Word8
getWord8
Word8
_griddedCorrectionHeaderDepA_tropo_quality_indicator <- Get Word8
getWord8
forall (f :: * -> *) a. Applicative f => a -> f a
pure GriddedCorrectionHeaderDepA {Word8
Word16
GpsTimeSec
_griddedCorrectionHeaderDepA_tropo_quality_indicator :: Word8
_griddedCorrectionHeaderDepA_iod_atmo :: Word8
_griddedCorrectionHeaderDepA_update_interval :: Word8
_griddedCorrectionHeaderDepA_seq_num :: Word16
_griddedCorrectionHeaderDepA_num_msgs :: Word16
_griddedCorrectionHeaderDepA_time :: GpsTimeSec
_griddedCorrectionHeaderDepA_tropo_quality_indicator :: Word8
_griddedCorrectionHeaderDepA_iod_atmo :: Word8
_griddedCorrectionHeaderDepA_update_interval :: Word8
_griddedCorrectionHeaderDepA_seq_num :: Word16
_griddedCorrectionHeaderDepA_num_msgs :: Word16
_griddedCorrectionHeaderDepA_time :: GpsTimeSec
..}
put :: GriddedCorrectionHeaderDepA -> Put
put GriddedCorrectionHeaderDepA {Word8
Word16
GpsTimeSec
_griddedCorrectionHeaderDepA_tropo_quality_indicator :: Word8
_griddedCorrectionHeaderDepA_iod_atmo :: Word8
_griddedCorrectionHeaderDepA_update_interval :: Word8
_griddedCorrectionHeaderDepA_seq_num :: Word16
_griddedCorrectionHeaderDepA_num_msgs :: Word16
_griddedCorrectionHeaderDepA_time :: GpsTimeSec
_griddedCorrectionHeaderDepA_tropo_quality_indicator :: GriddedCorrectionHeaderDepA -> Word8
_griddedCorrectionHeaderDepA_iod_atmo :: GriddedCorrectionHeaderDepA -> Word8
_griddedCorrectionHeaderDepA_update_interval :: GriddedCorrectionHeaderDepA -> Word8
_griddedCorrectionHeaderDepA_seq_num :: GriddedCorrectionHeaderDepA -> Word16
_griddedCorrectionHeaderDepA_num_msgs :: GriddedCorrectionHeaderDepA -> Word16
_griddedCorrectionHeaderDepA_time :: GriddedCorrectionHeaderDepA -> GpsTimeSec
..} = do
forall t. Binary t => t -> Put
put GpsTimeSec
_griddedCorrectionHeaderDepA_time
Word16 -> Put
putWord16le Word16
_griddedCorrectionHeaderDepA_num_msgs
Word16 -> Put
putWord16le Word16
_griddedCorrectionHeaderDepA_seq_num
Word8 -> Put
putWord8 Word8
_griddedCorrectionHeaderDepA_update_interval
Word8 -> Put
putWord8 Word8
_griddedCorrectionHeaderDepA_iod_atmo
Word8 -> Put
putWord8 Word8
_griddedCorrectionHeaderDepA_tropo_quality_indicator
$(makeJSON "_griddedCorrectionHeaderDepA_" ''GriddedCorrectionHeaderDepA)
$
data =
{ :: !Word8
, :: !Word16
, :: !Word16
, :: !Word16
, :: !Word8
, :: !Word8
} deriving ( Int -> GridDefinitionHeaderDepA -> ShowS
[GridDefinitionHeaderDepA] -> ShowS
GridDefinitionHeaderDepA -> String
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [GridDefinitionHeaderDepA] -> ShowS
$cshowList :: [GridDefinitionHeaderDepA] -> ShowS
show :: GridDefinitionHeaderDepA -> String
$cshow :: GridDefinitionHeaderDepA -> String
showsPrec :: Int -> GridDefinitionHeaderDepA -> ShowS
$cshowsPrec :: Int -> GridDefinitionHeaderDepA -> ShowS
Show, ReadPrec [GridDefinitionHeaderDepA]
ReadPrec GridDefinitionHeaderDepA
Int -> ReadS GridDefinitionHeaderDepA
ReadS [GridDefinitionHeaderDepA]
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [GridDefinitionHeaderDepA]
$creadListPrec :: ReadPrec [GridDefinitionHeaderDepA]
readPrec :: ReadPrec GridDefinitionHeaderDepA
$creadPrec :: ReadPrec GridDefinitionHeaderDepA
readList :: ReadS [GridDefinitionHeaderDepA]
$creadList :: ReadS [GridDefinitionHeaderDepA]
readsPrec :: Int -> ReadS GridDefinitionHeaderDepA
$creadsPrec :: Int -> ReadS GridDefinitionHeaderDepA
Read, GridDefinitionHeaderDepA -> GridDefinitionHeaderDepA -> Bool
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: GridDefinitionHeaderDepA -> GridDefinitionHeaderDepA -> Bool
$c/= :: GridDefinitionHeaderDepA -> GridDefinitionHeaderDepA -> Bool
== :: GridDefinitionHeaderDepA -> GridDefinitionHeaderDepA -> Bool
$c== :: GridDefinitionHeaderDepA -> GridDefinitionHeaderDepA -> Bool
Eq )
instance Binary GridDefinitionHeaderDepA where
get :: Get GridDefinitionHeaderDepA
get = do
Word8
_gridDefinitionHeaderDepA_region_size_inverse <- Get Word8
getWord8
Word16
_gridDefinitionHeaderDepA_area_width <- Get Word16
getWord16le
Word16
_gridDefinitionHeaderDepA_lat_nw_corner_enc <- Get Word16
getWord16le
Word16
_gridDefinitionHeaderDepA_lon_nw_corner_enc <- Get Word16
getWord16le
Word8
_gridDefinitionHeaderDepA_num_msgs <- Get Word8
getWord8
Word8
_gridDefinitionHeaderDepA_seq_num <- Get Word8
getWord8
forall (f :: * -> *) a. Applicative f => a -> f a
pure GridDefinitionHeaderDepA {Word8
Word16
_gridDefinitionHeaderDepA_seq_num :: Word8
_gridDefinitionHeaderDepA_num_msgs :: Word8
_gridDefinitionHeaderDepA_lon_nw_corner_enc :: Word16
_gridDefinitionHeaderDepA_lat_nw_corner_enc :: Word16
_gridDefinitionHeaderDepA_area_width :: Word16
_gridDefinitionHeaderDepA_region_size_inverse :: Word8
_gridDefinitionHeaderDepA_seq_num :: Word8
_gridDefinitionHeaderDepA_num_msgs :: Word8
_gridDefinitionHeaderDepA_lon_nw_corner_enc :: Word16
_gridDefinitionHeaderDepA_lat_nw_corner_enc :: Word16
_gridDefinitionHeaderDepA_area_width :: Word16
_gridDefinitionHeaderDepA_region_size_inverse :: Word8
..}
put :: GridDefinitionHeaderDepA -> Put
put GridDefinitionHeaderDepA {Word8
Word16
_gridDefinitionHeaderDepA_seq_num :: Word8
_gridDefinitionHeaderDepA_num_msgs :: Word8
_gridDefinitionHeaderDepA_lon_nw_corner_enc :: Word16
_gridDefinitionHeaderDepA_lat_nw_corner_enc :: Word16
_gridDefinitionHeaderDepA_area_width :: Word16
_gridDefinitionHeaderDepA_region_size_inverse :: Word8
_gridDefinitionHeaderDepA_seq_num :: GridDefinitionHeaderDepA -> Word8
_gridDefinitionHeaderDepA_num_msgs :: GridDefinitionHeaderDepA -> Word8
_gridDefinitionHeaderDepA_lon_nw_corner_enc :: GridDefinitionHeaderDepA -> Word16
_gridDefinitionHeaderDepA_lat_nw_corner_enc :: GridDefinitionHeaderDepA -> Word16
_gridDefinitionHeaderDepA_area_width :: GridDefinitionHeaderDepA -> Word16
_gridDefinitionHeaderDepA_region_size_inverse :: GridDefinitionHeaderDepA -> Word8
..} = do
Word8 -> Put
putWord8 Word8
_gridDefinitionHeaderDepA_region_size_inverse
Word16 -> Put
putWord16le Word16
_gridDefinitionHeaderDepA_area_width
Word16 -> Put
putWord16le Word16
_gridDefinitionHeaderDepA_lat_nw_corner_enc
Word16 -> Put
putWord16le Word16
_gridDefinitionHeaderDepA_lon_nw_corner_enc
Word8 -> Put
putWord8 Word8
_gridDefinitionHeaderDepA_num_msgs
Word8 -> Put
putWord8 Word8
_gridDefinitionHeaderDepA_seq_num
$(makeJSON "_gridDefinitionHeaderDepA_" ''GridDefinitionHeaderDepA)
$
msgSsrStecCorrectionDepA :: Word16
msgSsrStecCorrectionDepA :: Word16
msgSsrStecCorrectionDepA = Word16
0x05EB
data MsgSsrStecCorrectionDepA = MsgSsrStecCorrectionDepA
{ :: !STECHeaderDepA
, MsgSsrStecCorrectionDepA -> [STECSatElement]
_msgSsrStecCorrectionDepA_stec_sat_list :: ![STECSatElement]
} deriving ( Int -> MsgSsrStecCorrectionDepA -> ShowS
[MsgSsrStecCorrectionDepA] -> ShowS
MsgSsrStecCorrectionDepA -> String
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [MsgSsrStecCorrectionDepA] -> ShowS
$cshowList :: [MsgSsrStecCorrectionDepA] -> ShowS
show :: MsgSsrStecCorrectionDepA -> String
$cshow :: MsgSsrStecCorrectionDepA -> String
showsPrec :: Int -> MsgSsrStecCorrectionDepA -> ShowS
$cshowsPrec :: Int -> MsgSsrStecCorrectionDepA -> ShowS
Show, ReadPrec [MsgSsrStecCorrectionDepA]
ReadPrec MsgSsrStecCorrectionDepA
Int -> ReadS MsgSsrStecCorrectionDepA
ReadS [MsgSsrStecCorrectionDepA]
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [MsgSsrStecCorrectionDepA]
$creadListPrec :: ReadPrec [MsgSsrStecCorrectionDepA]
readPrec :: ReadPrec MsgSsrStecCorrectionDepA
$creadPrec :: ReadPrec MsgSsrStecCorrectionDepA
readList :: ReadS [MsgSsrStecCorrectionDepA]
$creadList :: ReadS [MsgSsrStecCorrectionDepA]
readsPrec :: Int -> ReadS MsgSsrStecCorrectionDepA
$creadsPrec :: Int -> ReadS MsgSsrStecCorrectionDepA
Read, MsgSsrStecCorrectionDepA -> MsgSsrStecCorrectionDepA -> Bool
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: MsgSsrStecCorrectionDepA -> MsgSsrStecCorrectionDepA -> Bool
$c/= :: MsgSsrStecCorrectionDepA -> MsgSsrStecCorrectionDepA -> Bool
== :: MsgSsrStecCorrectionDepA -> MsgSsrStecCorrectionDepA -> Bool
$c== :: MsgSsrStecCorrectionDepA -> MsgSsrStecCorrectionDepA -> Bool
Eq )
instance Binary MsgSsrStecCorrectionDepA where
get :: Get MsgSsrStecCorrectionDepA
get = do
STECHeaderDepA
_msgSsrStecCorrectionDepA_header <- forall t. Binary t => Get t
get
[STECSatElement]
_msgSsrStecCorrectionDepA_stec_sat_list <- forall (m :: * -> *) a. Monad m => m Bool -> m a -> m [a]
whileM (Bool -> Bool
not forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
<$> Get Bool
isEmpty) forall t. Binary t => Get t
get
forall (f :: * -> *) a. Applicative f => a -> f a
pure MsgSsrStecCorrectionDepA {[STECSatElement]
STECHeaderDepA
_msgSsrStecCorrectionDepA_stec_sat_list :: [STECSatElement]
_msgSsrStecCorrectionDepA_header :: STECHeaderDepA
_msgSsrStecCorrectionDepA_stec_sat_list :: [STECSatElement]
_msgSsrStecCorrectionDepA_header :: STECHeaderDepA
..}
put :: MsgSsrStecCorrectionDepA -> Put
put MsgSsrStecCorrectionDepA {[STECSatElement]
STECHeaderDepA
_msgSsrStecCorrectionDepA_stec_sat_list :: [STECSatElement]
_msgSsrStecCorrectionDepA_header :: STECHeaderDepA
_msgSsrStecCorrectionDepA_stec_sat_list :: MsgSsrStecCorrectionDepA -> [STECSatElement]
_msgSsrStecCorrectionDepA_header :: MsgSsrStecCorrectionDepA -> STECHeaderDepA
..} = do
forall t. Binary t => t -> Put
put STECHeaderDepA
_msgSsrStecCorrectionDepA_header
forall (t :: * -> *) (m :: * -> *) a b.
(Foldable t, Monad m) =>
(a -> m b) -> t a -> m ()
mapM_ forall t. Binary t => t -> Put
put [STECSatElement]
_msgSsrStecCorrectionDepA_stec_sat_list
$(makeSBP 'msgSsrStecCorrectionDepA ''MsgSsrStecCorrectionDepA)
$(makeJSON "_msgSsrStecCorrectionDepA_" ''MsgSsrStecCorrectionDepA)
$
msgSsrGriddedCorrectionNoStdDepA :: Word16
msgSsrGriddedCorrectionNoStdDepA :: Word16
msgSsrGriddedCorrectionNoStdDepA = Word16
0x05F0
data MsgSsrGriddedCorrectionNoStdDepA = MsgSsrGriddedCorrectionNoStdDepA
{ :: !GriddedCorrectionHeaderDepA
, MsgSsrGriddedCorrectionNoStdDepA -> Word16
_msgSsrGriddedCorrectionNoStdDepA_index :: !Word16
, MsgSsrGriddedCorrectionNoStdDepA
-> TroposphericDelayCorrectionNoStd
_msgSsrGriddedCorrectionNoStdDepA_tropo_delay_correction :: !TroposphericDelayCorrectionNoStd
, MsgSsrGriddedCorrectionNoStdDepA -> [STECResidualNoStd]
_msgSsrGriddedCorrectionNoStdDepA_stec_residuals :: ![STECResidualNoStd]
} deriving ( Int -> MsgSsrGriddedCorrectionNoStdDepA -> ShowS
[MsgSsrGriddedCorrectionNoStdDepA] -> ShowS
MsgSsrGriddedCorrectionNoStdDepA -> String
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [MsgSsrGriddedCorrectionNoStdDepA] -> ShowS
$cshowList :: [MsgSsrGriddedCorrectionNoStdDepA] -> ShowS
show :: MsgSsrGriddedCorrectionNoStdDepA -> String
$cshow :: MsgSsrGriddedCorrectionNoStdDepA -> String
showsPrec :: Int -> MsgSsrGriddedCorrectionNoStdDepA -> ShowS
$cshowsPrec :: Int -> MsgSsrGriddedCorrectionNoStdDepA -> ShowS
Show, ReadPrec [MsgSsrGriddedCorrectionNoStdDepA]
ReadPrec MsgSsrGriddedCorrectionNoStdDepA
Int -> ReadS MsgSsrGriddedCorrectionNoStdDepA
ReadS [MsgSsrGriddedCorrectionNoStdDepA]
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [MsgSsrGriddedCorrectionNoStdDepA]
$creadListPrec :: ReadPrec [MsgSsrGriddedCorrectionNoStdDepA]
readPrec :: ReadPrec MsgSsrGriddedCorrectionNoStdDepA
$creadPrec :: ReadPrec MsgSsrGriddedCorrectionNoStdDepA
readList :: ReadS [MsgSsrGriddedCorrectionNoStdDepA]
$creadList :: ReadS [MsgSsrGriddedCorrectionNoStdDepA]
readsPrec :: Int -> ReadS MsgSsrGriddedCorrectionNoStdDepA
$creadsPrec :: Int -> ReadS MsgSsrGriddedCorrectionNoStdDepA
Read, MsgSsrGriddedCorrectionNoStdDepA
-> MsgSsrGriddedCorrectionNoStdDepA -> Bool
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: MsgSsrGriddedCorrectionNoStdDepA
-> MsgSsrGriddedCorrectionNoStdDepA -> Bool
$c/= :: MsgSsrGriddedCorrectionNoStdDepA
-> MsgSsrGriddedCorrectionNoStdDepA -> Bool
== :: MsgSsrGriddedCorrectionNoStdDepA
-> MsgSsrGriddedCorrectionNoStdDepA -> Bool
$c== :: MsgSsrGriddedCorrectionNoStdDepA
-> MsgSsrGriddedCorrectionNoStdDepA -> Bool
Eq )
instance Binary MsgSsrGriddedCorrectionNoStdDepA where
get :: Get MsgSsrGriddedCorrectionNoStdDepA
get = do
GriddedCorrectionHeaderDepA
_msgSsrGriddedCorrectionNoStdDepA_header <- forall t. Binary t => Get t
get
Word16
_msgSsrGriddedCorrectionNoStdDepA_index <- Get Word16
getWord16le
TroposphericDelayCorrectionNoStd
_msgSsrGriddedCorrectionNoStdDepA_tropo_delay_correction <- forall t. Binary t => Get t
get
[STECResidualNoStd]
_msgSsrGriddedCorrectionNoStdDepA_stec_residuals <- forall (m :: * -> *) a. Monad m => m Bool -> m a -> m [a]
whileM (Bool -> Bool
not forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
<$> Get Bool
isEmpty) forall t. Binary t => Get t
get
forall (f :: * -> *) a. Applicative f => a -> f a
pure MsgSsrGriddedCorrectionNoStdDepA {[STECResidualNoStd]
Word16
TroposphericDelayCorrectionNoStd
GriddedCorrectionHeaderDepA
_msgSsrGriddedCorrectionNoStdDepA_stec_residuals :: [STECResidualNoStd]
_msgSsrGriddedCorrectionNoStdDepA_tropo_delay_correction :: TroposphericDelayCorrectionNoStd
_msgSsrGriddedCorrectionNoStdDepA_index :: Word16
_msgSsrGriddedCorrectionNoStdDepA_header :: GriddedCorrectionHeaderDepA
_msgSsrGriddedCorrectionNoStdDepA_stec_residuals :: [STECResidualNoStd]
_msgSsrGriddedCorrectionNoStdDepA_tropo_delay_correction :: TroposphericDelayCorrectionNoStd
_msgSsrGriddedCorrectionNoStdDepA_index :: Word16
_msgSsrGriddedCorrectionNoStdDepA_header :: GriddedCorrectionHeaderDepA
..}
put :: MsgSsrGriddedCorrectionNoStdDepA -> Put
put MsgSsrGriddedCorrectionNoStdDepA {[STECResidualNoStd]
Word16
TroposphericDelayCorrectionNoStd
GriddedCorrectionHeaderDepA
_msgSsrGriddedCorrectionNoStdDepA_stec_residuals :: [STECResidualNoStd]
_msgSsrGriddedCorrectionNoStdDepA_tropo_delay_correction :: TroposphericDelayCorrectionNoStd
_msgSsrGriddedCorrectionNoStdDepA_index :: Word16
_msgSsrGriddedCorrectionNoStdDepA_header :: GriddedCorrectionHeaderDepA
_msgSsrGriddedCorrectionNoStdDepA_stec_residuals :: MsgSsrGriddedCorrectionNoStdDepA -> [STECResidualNoStd]
_msgSsrGriddedCorrectionNoStdDepA_tropo_delay_correction :: MsgSsrGriddedCorrectionNoStdDepA
-> TroposphericDelayCorrectionNoStd
_msgSsrGriddedCorrectionNoStdDepA_index :: MsgSsrGriddedCorrectionNoStdDepA -> Word16
_msgSsrGriddedCorrectionNoStdDepA_header :: MsgSsrGriddedCorrectionNoStdDepA -> GriddedCorrectionHeaderDepA
..} = do
forall t. Binary t => t -> Put
put GriddedCorrectionHeaderDepA
_msgSsrGriddedCorrectionNoStdDepA_header
Word16 -> Put
putWord16le Word16
_msgSsrGriddedCorrectionNoStdDepA_index
forall t. Binary t => t -> Put
put TroposphericDelayCorrectionNoStd
_msgSsrGriddedCorrectionNoStdDepA_tropo_delay_correction
forall (t :: * -> *) (m :: * -> *) a b.
(Foldable t, Monad m) =>
(a -> m b) -> t a -> m ()
mapM_ forall t. Binary t => t -> Put
put [STECResidualNoStd]
_msgSsrGriddedCorrectionNoStdDepA_stec_residuals
$(makeSBP 'msgSsrGriddedCorrectionNoStdDepA ''MsgSsrGriddedCorrectionNoStdDepA)
$(makeJSON "_msgSsrGriddedCorrectionNoStdDepA_" ''MsgSsrGriddedCorrectionNoStdDepA)
$
msgSsrGriddedCorrectionDepA :: Word16
msgSsrGriddedCorrectionDepA :: Word16
msgSsrGriddedCorrectionDepA = Word16
0x05FA
data MsgSsrGriddedCorrectionDepA = MsgSsrGriddedCorrectionDepA
{ :: !GriddedCorrectionHeaderDepA
, MsgSsrGriddedCorrectionDepA -> Word16
_msgSsrGriddedCorrectionDepA_index :: !Word16
, MsgSsrGriddedCorrectionDepA -> TroposphericDelayCorrection
_msgSsrGriddedCorrectionDepA_tropo_delay_correction :: !TroposphericDelayCorrection
, MsgSsrGriddedCorrectionDepA -> [STECResidual]
_msgSsrGriddedCorrectionDepA_stec_residuals :: ![STECResidual]
} deriving ( Int -> MsgSsrGriddedCorrectionDepA -> ShowS
[MsgSsrGriddedCorrectionDepA] -> ShowS
MsgSsrGriddedCorrectionDepA -> String
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [MsgSsrGriddedCorrectionDepA] -> ShowS
$cshowList :: [MsgSsrGriddedCorrectionDepA] -> ShowS
show :: MsgSsrGriddedCorrectionDepA -> String
$cshow :: MsgSsrGriddedCorrectionDepA -> String
showsPrec :: Int -> MsgSsrGriddedCorrectionDepA -> ShowS
$cshowsPrec :: Int -> MsgSsrGriddedCorrectionDepA -> ShowS
Show, ReadPrec [MsgSsrGriddedCorrectionDepA]
ReadPrec MsgSsrGriddedCorrectionDepA
Int -> ReadS MsgSsrGriddedCorrectionDepA
ReadS [MsgSsrGriddedCorrectionDepA]
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [MsgSsrGriddedCorrectionDepA]
$creadListPrec :: ReadPrec [MsgSsrGriddedCorrectionDepA]
readPrec :: ReadPrec MsgSsrGriddedCorrectionDepA
$creadPrec :: ReadPrec MsgSsrGriddedCorrectionDepA
readList :: ReadS [MsgSsrGriddedCorrectionDepA]
$creadList :: ReadS [MsgSsrGriddedCorrectionDepA]
readsPrec :: Int -> ReadS MsgSsrGriddedCorrectionDepA
$creadsPrec :: Int -> ReadS MsgSsrGriddedCorrectionDepA
Read, MsgSsrGriddedCorrectionDepA -> MsgSsrGriddedCorrectionDepA -> Bool
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: MsgSsrGriddedCorrectionDepA -> MsgSsrGriddedCorrectionDepA -> Bool
$c/= :: MsgSsrGriddedCorrectionDepA -> MsgSsrGriddedCorrectionDepA -> Bool
== :: MsgSsrGriddedCorrectionDepA -> MsgSsrGriddedCorrectionDepA -> Bool
$c== :: MsgSsrGriddedCorrectionDepA -> MsgSsrGriddedCorrectionDepA -> Bool
Eq )
instance Binary MsgSsrGriddedCorrectionDepA where
get :: Get MsgSsrGriddedCorrectionDepA
get = do
GriddedCorrectionHeaderDepA
_msgSsrGriddedCorrectionDepA_header <- forall t. Binary t => Get t
get
Word16
_msgSsrGriddedCorrectionDepA_index <- Get Word16
getWord16le
TroposphericDelayCorrection
_msgSsrGriddedCorrectionDepA_tropo_delay_correction <- forall t. Binary t => Get t
get
[STECResidual]
_msgSsrGriddedCorrectionDepA_stec_residuals <- forall (m :: * -> *) a. Monad m => m Bool -> m a -> m [a]
whileM (Bool -> Bool
not forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
<$> Get Bool
isEmpty) forall t. Binary t => Get t
get
forall (f :: * -> *) a. Applicative f => a -> f a
pure MsgSsrGriddedCorrectionDepA {[STECResidual]
Word16
TroposphericDelayCorrection
GriddedCorrectionHeaderDepA
_msgSsrGriddedCorrectionDepA_stec_residuals :: [STECResidual]
_msgSsrGriddedCorrectionDepA_tropo_delay_correction :: TroposphericDelayCorrection
_msgSsrGriddedCorrectionDepA_index :: Word16
_msgSsrGriddedCorrectionDepA_header :: GriddedCorrectionHeaderDepA
_msgSsrGriddedCorrectionDepA_stec_residuals :: [STECResidual]
_msgSsrGriddedCorrectionDepA_tropo_delay_correction :: TroposphericDelayCorrection
_msgSsrGriddedCorrectionDepA_index :: Word16
_msgSsrGriddedCorrectionDepA_header :: GriddedCorrectionHeaderDepA
..}
put :: MsgSsrGriddedCorrectionDepA -> Put
put MsgSsrGriddedCorrectionDepA {[STECResidual]
Word16
TroposphericDelayCorrection
GriddedCorrectionHeaderDepA
_msgSsrGriddedCorrectionDepA_stec_residuals :: [STECResidual]
_msgSsrGriddedCorrectionDepA_tropo_delay_correction :: TroposphericDelayCorrection
_msgSsrGriddedCorrectionDepA_index :: Word16
_msgSsrGriddedCorrectionDepA_header :: GriddedCorrectionHeaderDepA
_msgSsrGriddedCorrectionDepA_stec_residuals :: MsgSsrGriddedCorrectionDepA -> [STECResidual]
_msgSsrGriddedCorrectionDepA_tropo_delay_correction :: MsgSsrGriddedCorrectionDepA -> TroposphericDelayCorrection
_msgSsrGriddedCorrectionDepA_index :: MsgSsrGriddedCorrectionDepA -> Word16
_msgSsrGriddedCorrectionDepA_header :: MsgSsrGriddedCorrectionDepA -> GriddedCorrectionHeaderDepA
..} = do
forall t. Binary t => t -> Put
put GriddedCorrectionHeaderDepA
_msgSsrGriddedCorrectionDepA_header
Word16 -> Put
putWord16le Word16
_msgSsrGriddedCorrectionDepA_index
forall t. Binary t => t -> Put
put TroposphericDelayCorrection
_msgSsrGriddedCorrectionDepA_tropo_delay_correction
forall (t :: * -> *) (m :: * -> *) a b.
(Foldable t, Monad m) =>
(a -> m b) -> t a -> m ()
mapM_ forall t. Binary t => t -> Put
put [STECResidual]
_msgSsrGriddedCorrectionDepA_stec_residuals
$(makeSBP 'msgSsrGriddedCorrectionDepA ''MsgSsrGriddedCorrectionDepA)
$(makeJSON "_msgSsrGriddedCorrectionDepA_" ''MsgSsrGriddedCorrectionDepA)
$
msgSsrGridDefinitionDepA :: Word16
msgSsrGridDefinitionDepA :: Word16
msgSsrGridDefinitionDepA = Word16
0x05F5
data MsgSsrGridDefinitionDepA = MsgSsrGridDefinitionDepA
{ :: !GridDefinitionHeaderDepA
, MsgSsrGridDefinitionDepA -> [Word8]
_msgSsrGridDefinitionDepA_rle_list :: ![Word8]
} deriving ( Int -> MsgSsrGridDefinitionDepA -> ShowS
[MsgSsrGridDefinitionDepA] -> ShowS
MsgSsrGridDefinitionDepA -> String
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [MsgSsrGridDefinitionDepA] -> ShowS
$cshowList :: [MsgSsrGridDefinitionDepA] -> ShowS
show :: MsgSsrGridDefinitionDepA -> String
$cshow :: MsgSsrGridDefinitionDepA -> String
showsPrec :: Int -> MsgSsrGridDefinitionDepA -> ShowS
$cshowsPrec :: Int -> MsgSsrGridDefinitionDepA -> ShowS
Show, ReadPrec [MsgSsrGridDefinitionDepA]
ReadPrec MsgSsrGridDefinitionDepA
Int -> ReadS MsgSsrGridDefinitionDepA
ReadS [MsgSsrGridDefinitionDepA]
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [MsgSsrGridDefinitionDepA]
$creadListPrec :: ReadPrec [MsgSsrGridDefinitionDepA]
readPrec :: ReadPrec MsgSsrGridDefinitionDepA
$creadPrec :: ReadPrec MsgSsrGridDefinitionDepA
readList :: ReadS [MsgSsrGridDefinitionDepA]
$creadList :: ReadS [MsgSsrGridDefinitionDepA]
readsPrec :: Int -> ReadS MsgSsrGridDefinitionDepA
$creadsPrec :: Int -> ReadS MsgSsrGridDefinitionDepA
Read, MsgSsrGridDefinitionDepA -> MsgSsrGridDefinitionDepA -> Bool
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: MsgSsrGridDefinitionDepA -> MsgSsrGridDefinitionDepA -> Bool
$c/= :: MsgSsrGridDefinitionDepA -> MsgSsrGridDefinitionDepA -> Bool
== :: MsgSsrGridDefinitionDepA -> MsgSsrGridDefinitionDepA -> Bool
$c== :: MsgSsrGridDefinitionDepA -> MsgSsrGridDefinitionDepA -> Bool
Eq )
instance Binary MsgSsrGridDefinitionDepA where
get :: Get MsgSsrGridDefinitionDepA
get = do
GridDefinitionHeaderDepA
_msgSsrGridDefinitionDepA_header <- forall t. Binary t => Get t
get
[Word8]
_msgSsrGridDefinitionDepA_rle_list <- forall (m :: * -> *) a. Monad m => m Bool -> m a -> m [a]
whileM (Bool -> Bool
not forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
<$> Get Bool
isEmpty) Get Word8
getWord8
forall (f :: * -> *) a. Applicative f => a -> f a
pure MsgSsrGridDefinitionDepA {[Word8]
GridDefinitionHeaderDepA
_msgSsrGridDefinitionDepA_rle_list :: [Word8]
_msgSsrGridDefinitionDepA_header :: GridDefinitionHeaderDepA
_msgSsrGridDefinitionDepA_rle_list :: [Word8]
_msgSsrGridDefinitionDepA_header :: GridDefinitionHeaderDepA
..}
put :: MsgSsrGridDefinitionDepA -> Put
put MsgSsrGridDefinitionDepA {[Word8]
GridDefinitionHeaderDepA
_msgSsrGridDefinitionDepA_rle_list :: [Word8]
_msgSsrGridDefinitionDepA_header :: GridDefinitionHeaderDepA
_msgSsrGridDefinitionDepA_rle_list :: MsgSsrGridDefinitionDepA -> [Word8]
_msgSsrGridDefinitionDepA_header :: MsgSsrGridDefinitionDepA -> GridDefinitionHeaderDepA
..} = do
forall t. Binary t => t -> Put
put GridDefinitionHeaderDepA
_msgSsrGridDefinitionDepA_header
forall (t :: * -> *) (m :: * -> *) a b.
(Foldable t, Monad m) =>
(a -> m b) -> t a -> m ()
mapM_ Word8 -> Put
putWord8 [Word8]
_msgSsrGridDefinitionDepA_rle_list
$(makeSBP 'msgSsrGridDefinitionDepA ''MsgSsrGridDefinitionDepA)
$(makeJSON "_msgSsrGridDefinitionDepA_" ''MsgSsrGridDefinitionDepA)
$
data OrbitClockBound = OrbitClockBound
{ OrbitClockBound -> Word8
_orbitClockBound_sat_id :: !Word8
, OrbitClockBound -> Word8
_orbitClockBound_orb_radial_bound_mu :: !Word8
, OrbitClockBound -> Word8
_orbitClockBound_orb_along_bound_mu :: !Word8
, OrbitClockBound -> Word8
_orbitClockBound_orb_cross_bound_mu :: !Word8
, OrbitClockBound -> Word8
_orbitClockBound_orb_radial_bound_sig :: !Word8
, OrbitClockBound -> Word8
_orbitClockBound_orb_along_bound_sig :: !Word8
, OrbitClockBound -> Word8
_orbitClockBound_orb_cross_bound_sig :: !Word8
, OrbitClockBound -> Word8
_orbitClockBound_clock_bound_mu :: !Word8
, OrbitClockBound -> Word8
_orbitClockBound_clock_bound_sig :: !Word8
} deriving ( Int -> OrbitClockBound -> ShowS
[OrbitClockBound] -> ShowS
OrbitClockBound -> String
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [OrbitClockBound] -> ShowS
$cshowList :: [OrbitClockBound] -> ShowS
show :: OrbitClockBound -> String
$cshow :: OrbitClockBound -> String
showsPrec :: Int -> OrbitClockBound -> ShowS
$cshowsPrec :: Int -> OrbitClockBound -> ShowS
Show, ReadPrec [OrbitClockBound]
ReadPrec OrbitClockBound
Int -> ReadS OrbitClockBound
ReadS [OrbitClockBound]
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [OrbitClockBound]
$creadListPrec :: ReadPrec [OrbitClockBound]
readPrec :: ReadPrec OrbitClockBound
$creadPrec :: ReadPrec OrbitClockBound
readList :: ReadS [OrbitClockBound]
$creadList :: ReadS [OrbitClockBound]
readsPrec :: Int -> ReadS OrbitClockBound
$creadsPrec :: Int -> ReadS OrbitClockBound
Read, OrbitClockBound -> OrbitClockBound -> Bool
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: OrbitClockBound -> OrbitClockBound -> Bool
$c/= :: OrbitClockBound -> OrbitClockBound -> Bool
== :: OrbitClockBound -> OrbitClockBound -> Bool
$c== :: OrbitClockBound -> OrbitClockBound -> Bool
Eq )
instance Binary OrbitClockBound where
get :: Get OrbitClockBound
get = do
Word8
_orbitClockBound_sat_id <- Get Word8
getWord8
Word8
_orbitClockBound_orb_radial_bound_mu <- Get Word8
getWord8
Word8
_orbitClockBound_orb_along_bound_mu <- Get Word8
getWord8
Word8
_orbitClockBound_orb_cross_bound_mu <- Get Word8
getWord8
Word8
_orbitClockBound_orb_radial_bound_sig <- Get Word8
getWord8
Word8
_orbitClockBound_orb_along_bound_sig <- Get Word8
getWord8
Word8
_orbitClockBound_orb_cross_bound_sig <- Get Word8
getWord8
Word8
_orbitClockBound_clock_bound_mu <- Get Word8
getWord8
Word8
_orbitClockBound_clock_bound_sig <- Get Word8
getWord8
forall (f :: * -> *) a. Applicative f => a -> f a
pure OrbitClockBound {Word8
_orbitClockBound_clock_bound_sig :: Word8
_orbitClockBound_clock_bound_mu :: Word8
_orbitClockBound_orb_cross_bound_sig :: Word8
_orbitClockBound_orb_along_bound_sig :: Word8
_orbitClockBound_orb_radial_bound_sig :: Word8
_orbitClockBound_orb_cross_bound_mu :: Word8
_orbitClockBound_orb_along_bound_mu :: Word8
_orbitClockBound_orb_radial_bound_mu :: Word8
_orbitClockBound_sat_id :: Word8
_orbitClockBound_clock_bound_sig :: Word8
_orbitClockBound_clock_bound_mu :: Word8
_orbitClockBound_orb_cross_bound_sig :: Word8
_orbitClockBound_orb_along_bound_sig :: Word8
_orbitClockBound_orb_radial_bound_sig :: Word8
_orbitClockBound_orb_cross_bound_mu :: Word8
_orbitClockBound_orb_along_bound_mu :: Word8
_orbitClockBound_orb_radial_bound_mu :: Word8
_orbitClockBound_sat_id :: Word8
..}
put :: OrbitClockBound -> Put
put OrbitClockBound {Word8
_orbitClockBound_clock_bound_sig :: Word8
_orbitClockBound_clock_bound_mu :: Word8
_orbitClockBound_orb_cross_bound_sig :: Word8
_orbitClockBound_orb_along_bound_sig :: Word8
_orbitClockBound_orb_radial_bound_sig :: Word8
_orbitClockBound_orb_cross_bound_mu :: Word8
_orbitClockBound_orb_along_bound_mu :: Word8
_orbitClockBound_orb_radial_bound_mu :: Word8
_orbitClockBound_sat_id :: Word8
_orbitClockBound_clock_bound_sig :: OrbitClockBound -> Word8
_orbitClockBound_clock_bound_mu :: OrbitClockBound -> Word8
_orbitClockBound_orb_cross_bound_sig :: OrbitClockBound -> Word8
_orbitClockBound_orb_along_bound_sig :: OrbitClockBound -> Word8
_orbitClockBound_orb_radial_bound_sig :: OrbitClockBound -> Word8
_orbitClockBound_orb_cross_bound_mu :: OrbitClockBound -> Word8
_orbitClockBound_orb_along_bound_mu :: OrbitClockBound -> Word8
_orbitClockBound_orb_radial_bound_mu :: OrbitClockBound -> Word8
_orbitClockBound_sat_id :: OrbitClockBound -> Word8
..} = do
Word8 -> Put
putWord8 Word8
_orbitClockBound_sat_id
Word8 -> Put
putWord8 Word8
_orbitClockBound_orb_radial_bound_mu
Word8 -> Put
putWord8 Word8
_orbitClockBound_orb_along_bound_mu
Word8 -> Put
putWord8 Word8
_orbitClockBound_orb_cross_bound_mu
Word8 -> Put
putWord8 Word8
_orbitClockBound_orb_radial_bound_sig
Word8 -> Put
putWord8 Word8
_orbitClockBound_orb_along_bound_sig
Word8 -> Put
putWord8 Word8
_orbitClockBound_orb_cross_bound_sig
Word8 -> Put
putWord8 Word8
_orbitClockBound_clock_bound_mu
Word8 -> Put
putWord8 Word8
_orbitClockBound_clock_bound_sig
$(makeJSON "_orbitClockBound_" ''OrbitClockBound)
$(makeLenses ''OrbitClockBound)
msgSsrOrbitClockBounds :: Word16
msgSsrOrbitClockBounds :: Word16
msgSsrOrbitClockBounds = Word16
0x05DE
data MsgSsrOrbitClockBounds = MsgSsrOrbitClockBounds
{ :: !BoundsHeader
, MsgSsrOrbitClockBounds -> Word8
_msgSsrOrbitClockBounds_ssr_iod :: !Word8
, MsgSsrOrbitClockBounds -> Word8
_msgSsrOrbitClockBounds_const_id :: !Word8
, MsgSsrOrbitClockBounds -> Word8
_msgSsrOrbitClockBounds_n_sats :: !Word8
, MsgSsrOrbitClockBounds -> [OrbitClockBound]
_msgSsrOrbitClockBounds_orbit_clock_bounds :: ![OrbitClockBound]
} deriving ( Int -> MsgSsrOrbitClockBounds -> ShowS
[MsgSsrOrbitClockBounds] -> ShowS
MsgSsrOrbitClockBounds -> String
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [MsgSsrOrbitClockBounds] -> ShowS
$cshowList :: [MsgSsrOrbitClockBounds] -> ShowS
show :: MsgSsrOrbitClockBounds -> String
$cshow :: MsgSsrOrbitClockBounds -> String
showsPrec :: Int -> MsgSsrOrbitClockBounds -> ShowS
$cshowsPrec :: Int -> MsgSsrOrbitClockBounds -> ShowS
Show, ReadPrec [MsgSsrOrbitClockBounds]
ReadPrec MsgSsrOrbitClockBounds
Int -> ReadS MsgSsrOrbitClockBounds
ReadS [MsgSsrOrbitClockBounds]
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [MsgSsrOrbitClockBounds]
$creadListPrec :: ReadPrec [MsgSsrOrbitClockBounds]
readPrec :: ReadPrec MsgSsrOrbitClockBounds
$creadPrec :: ReadPrec MsgSsrOrbitClockBounds
readList :: ReadS [MsgSsrOrbitClockBounds]
$creadList :: ReadS [MsgSsrOrbitClockBounds]
readsPrec :: Int -> ReadS MsgSsrOrbitClockBounds
$creadsPrec :: Int -> ReadS MsgSsrOrbitClockBounds
Read, MsgSsrOrbitClockBounds -> MsgSsrOrbitClockBounds -> Bool
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: MsgSsrOrbitClockBounds -> MsgSsrOrbitClockBounds -> Bool
$c/= :: MsgSsrOrbitClockBounds -> MsgSsrOrbitClockBounds -> Bool
== :: MsgSsrOrbitClockBounds -> MsgSsrOrbitClockBounds -> Bool
$c== :: MsgSsrOrbitClockBounds -> MsgSsrOrbitClockBounds -> Bool
Eq )
instance Binary MsgSsrOrbitClockBounds where
get :: Get MsgSsrOrbitClockBounds
get = do
BoundsHeader
_msgSsrOrbitClockBounds_header <- forall t. Binary t => Get t
get
Word8
_msgSsrOrbitClockBounds_ssr_iod <- Get Word8
getWord8
Word8
_msgSsrOrbitClockBounds_const_id <- Get Word8
getWord8
Word8
_msgSsrOrbitClockBounds_n_sats <- Get Word8
getWord8
[OrbitClockBound]
_msgSsrOrbitClockBounds_orbit_clock_bounds <- forall (m :: * -> *) a. Monad m => m Bool -> m a -> m [a]
whileM (Bool -> Bool
not forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
<$> Get Bool
isEmpty) forall t. Binary t => Get t
get
forall (f :: * -> *) a. Applicative f => a -> f a
pure MsgSsrOrbitClockBounds {[OrbitClockBound]
Word8
BoundsHeader
_msgSsrOrbitClockBounds_orbit_clock_bounds :: [OrbitClockBound]
_msgSsrOrbitClockBounds_n_sats :: Word8
_msgSsrOrbitClockBounds_const_id :: Word8
_msgSsrOrbitClockBounds_ssr_iod :: Word8
_msgSsrOrbitClockBounds_header :: BoundsHeader
_msgSsrOrbitClockBounds_orbit_clock_bounds :: [OrbitClockBound]
_msgSsrOrbitClockBounds_n_sats :: Word8
_msgSsrOrbitClockBounds_const_id :: Word8
_msgSsrOrbitClockBounds_ssr_iod :: Word8
_msgSsrOrbitClockBounds_header :: BoundsHeader
..}
put :: MsgSsrOrbitClockBounds -> Put
put MsgSsrOrbitClockBounds {[OrbitClockBound]
Word8
BoundsHeader
_msgSsrOrbitClockBounds_orbit_clock_bounds :: [OrbitClockBound]
_msgSsrOrbitClockBounds_n_sats :: Word8
_msgSsrOrbitClockBounds_const_id :: Word8
_msgSsrOrbitClockBounds_ssr_iod :: Word8
_msgSsrOrbitClockBounds_header :: BoundsHeader
_msgSsrOrbitClockBounds_orbit_clock_bounds :: MsgSsrOrbitClockBounds -> [OrbitClockBound]
_msgSsrOrbitClockBounds_n_sats :: MsgSsrOrbitClockBounds -> Word8
_msgSsrOrbitClockBounds_const_id :: MsgSsrOrbitClockBounds -> Word8
_msgSsrOrbitClockBounds_ssr_iod :: MsgSsrOrbitClockBounds -> Word8
_msgSsrOrbitClockBounds_header :: MsgSsrOrbitClockBounds -> BoundsHeader
..} = do
forall t. Binary t => t -> Put
put BoundsHeader
_msgSsrOrbitClockBounds_header
Word8 -> Put
putWord8 Word8
_msgSsrOrbitClockBounds_ssr_iod
Word8 -> Put
putWord8 Word8
_msgSsrOrbitClockBounds_const_id
Word8 -> Put
putWord8 Word8
_msgSsrOrbitClockBounds_n_sats
forall (t :: * -> *) (m :: * -> *) a b.
(Foldable t, Monad m) =>
(a -> m b) -> t a -> m ()
mapM_ forall t. Binary t => t -> Put
put [OrbitClockBound]
_msgSsrOrbitClockBounds_orbit_clock_bounds
$(makeSBP 'msgSsrOrbitClockBounds ''MsgSsrOrbitClockBounds)
$(makeJSON "_msgSsrOrbitClockBounds_" ''MsgSsrOrbitClockBounds)
$
data CodePhaseBiasesSatSig = CodePhaseBiasesSatSig
{ CodePhaseBiasesSatSig -> Word8
_codePhaseBiasesSatSig_sat_id :: !Word8
, CodePhaseBiasesSatSig -> Word8
_codePhaseBiasesSatSig_signal_id :: !Word8
, CodePhaseBiasesSatSig -> Word8
_codePhaseBiasesSatSig_code_bias_bound_mu :: !Word8
, CodePhaseBiasesSatSig -> Word8
_codePhaseBiasesSatSig_code_bias_bound_sig :: !Word8
, CodePhaseBiasesSatSig -> Word8
_codePhaseBiasesSatSig_phase_bias_bound_mu :: !Word8
, CodePhaseBiasesSatSig -> Word8
_codePhaseBiasesSatSig_phase_bias_bound_sig :: !Word8
} deriving ( Int -> CodePhaseBiasesSatSig -> ShowS
[CodePhaseBiasesSatSig] -> ShowS
CodePhaseBiasesSatSig -> String
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [CodePhaseBiasesSatSig] -> ShowS
$cshowList :: [CodePhaseBiasesSatSig] -> ShowS
show :: CodePhaseBiasesSatSig -> String
$cshow :: CodePhaseBiasesSatSig -> String
showsPrec :: Int -> CodePhaseBiasesSatSig -> ShowS
$cshowsPrec :: Int -> CodePhaseBiasesSatSig -> ShowS
Show, ReadPrec [CodePhaseBiasesSatSig]
ReadPrec CodePhaseBiasesSatSig
Int -> ReadS CodePhaseBiasesSatSig
ReadS [CodePhaseBiasesSatSig]
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [CodePhaseBiasesSatSig]
$creadListPrec :: ReadPrec [CodePhaseBiasesSatSig]
readPrec :: ReadPrec CodePhaseBiasesSatSig
$creadPrec :: ReadPrec CodePhaseBiasesSatSig
readList :: ReadS [CodePhaseBiasesSatSig]
$creadList :: ReadS [CodePhaseBiasesSatSig]
readsPrec :: Int -> ReadS CodePhaseBiasesSatSig
$creadsPrec :: Int -> ReadS CodePhaseBiasesSatSig
Read, CodePhaseBiasesSatSig -> CodePhaseBiasesSatSig -> Bool
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: CodePhaseBiasesSatSig -> CodePhaseBiasesSatSig -> Bool
$c/= :: CodePhaseBiasesSatSig -> CodePhaseBiasesSatSig -> Bool
== :: CodePhaseBiasesSatSig -> CodePhaseBiasesSatSig -> Bool
$c== :: CodePhaseBiasesSatSig -> CodePhaseBiasesSatSig -> Bool
Eq )
instance Binary CodePhaseBiasesSatSig where
get :: Get CodePhaseBiasesSatSig
get = do
Word8
_codePhaseBiasesSatSig_sat_id <- Get Word8
getWord8
Word8
_codePhaseBiasesSatSig_signal_id <- Get Word8
getWord8
Word8
_codePhaseBiasesSatSig_code_bias_bound_mu <- Get Word8
getWord8
Word8
_codePhaseBiasesSatSig_code_bias_bound_sig <- Get Word8
getWord8
Word8
_codePhaseBiasesSatSig_phase_bias_bound_mu <- Get Word8
getWord8
Word8
_codePhaseBiasesSatSig_phase_bias_bound_sig <- Get Word8
getWord8
forall (f :: * -> *) a. Applicative f => a -> f a
pure CodePhaseBiasesSatSig {Word8
_codePhaseBiasesSatSig_phase_bias_bound_sig :: Word8
_codePhaseBiasesSatSig_phase_bias_bound_mu :: Word8
_codePhaseBiasesSatSig_code_bias_bound_sig :: Word8
_codePhaseBiasesSatSig_code_bias_bound_mu :: Word8
_codePhaseBiasesSatSig_signal_id :: Word8
_codePhaseBiasesSatSig_sat_id :: Word8
_codePhaseBiasesSatSig_phase_bias_bound_sig :: Word8
_codePhaseBiasesSatSig_phase_bias_bound_mu :: Word8
_codePhaseBiasesSatSig_code_bias_bound_sig :: Word8
_codePhaseBiasesSatSig_code_bias_bound_mu :: Word8
_codePhaseBiasesSatSig_signal_id :: Word8
_codePhaseBiasesSatSig_sat_id :: Word8
..}
put :: CodePhaseBiasesSatSig -> Put
put CodePhaseBiasesSatSig {Word8
_codePhaseBiasesSatSig_phase_bias_bound_sig :: Word8
_codePhaseBiasesSatSig_phase_bias_bound_mu :: Word8
_codePhaseBiasesSatSig_code_bias_bound_sig :: Word8
_codePhaseBiasesSatSig_code_bias_bound_mu :: Word8
_codePhaseBiasesSatSig_signal_id :: Word8
_codePhaseBiasesSatSig_sat_id :: Word8
_codePhaseBiasesSatSig_phase_bias_bound_sig :: CodePhaseBiasesSatSig -> Word8
_codePhaseBiasesSatSig_phase_bias_bound_mu :: CodePhaseBiasesSatSig -> Word8
_codePhaseBiasesSatSig_code_bias_bound_sig :: CodePhaseBiasesSatSig -> Word8
_codePhaseBiasesSatSig_code_bias_bound_mu :: CodePhaseBiasesSatSig -> Word8
_codePhaseBiasesSatSig_signal_id :: CodePhaseBiasesSatSig -> Word8
_codePhaseBiasesSatSig_sat_id :: CodePhaseBiasesSatSig -> Word8
..} = do
Word8 -> Put
putWord8 Word8
_codePhaseBiasesSatSig_sat_id
Word8 -> Put
putWord8 Word8
_codePhaseBiasesSatSig_signal_id
Word8 -> Put
putWord8 Word8
_codePhaseBiasesSatSig_code_bias_bound_mu
Word8 -> Put
putWord8 Word8
_codePhaseBiasesSatSig_code_bias_bound_sig
Word8 -> Put
putWord8 Word8
_codePhaseBiasesSatSig_phase_bias_bound_mu
Word8 -> Put
putWord8 Word8
_codePhaseBiasesSatSig_phase_bias_bound_sig
$(makeJSON "_codePhaseBiasesSatSig_" ''CodePhaseBiasesSatSig)
$(makeLenses ''CodePhaseBiasesSatSig)
msgSsrCodePhaseBiasesBounds :: Word16
msgSsrCodePhaseBiasesBounds :: Word16
msgSsrCodePhaseBiasesBounds = Word16
0x05EC
data MsgSsrCodePhaseBiasesBounds = MsgSsrCodePhaseBiasesBounds
{ :: !BoundsHeader
, MsgSsrCodePhaseBiasesBounds -> Word8
_msgSsrCodePhaseBiasesBounds_ssr_iod :: !Word8
, MsgSsrCodePhaseBiasesBounds -> Word8
_msgSsrCodePhaseBiasesBounds_const_id :: !Word8
, MsgSsrCodePhaseBiasesBounds -> Word8
_msgSsrCodePhaseBiasesBounds_n_sats_signals :: !Word8
, MsgSsrCodePhaseBiasesBounds -> [CodePhaseBiasesSatSig]
_msgSsrCodePhaseBiasesBounds_satellites_signals :: ![CodePhaseBiasesSatSig]
} deriving ( Int -> MsgSsrCodePhaseBiasesBounds -> ShowS
[MsgSsrCodePhaseBiasesBounds] -> ShowS
MsgSsrCodePhaseBiasesBounds -> String
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [MsgSsrCodePhaseBiasesBounds] -> ShowS
$cshowList :: [MsgSsrCodePhaseBiasesBounds] -> ShowS
show :: MsgSsrCodePhaseBiasesBounds -> String
$cshow :: MsgSsrCodePhaseBiasesBounds -> String
showsPrec :: Int -> MsgSsrCodePhaseBiasesBounds -> ShowS
$cshowsPrec :: Int -> MsgSsrCodePhaseBiasesBounds -> ShowS
Show, ReadPrec [MsgSsrCodePhaseBiasesBounds]
ReadPrec MsgSsrCodePhaseBiasesBounds
Int -> ReadS MsgSsrCodePhaseBiasesBounds
ReadS [MsgSsrCodePhaseBiasesBounds]
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [MsgSsrCodePhaseBiasesBounds]
$creadListPrec :: ReadPrec [MsgSsrCodePhaseBiasesBounds]
readPrec :: ReadPrec MsgSsrCodePhaseBiasesBounds
$creadPrec :: ReadPrec MsgSsrCodePhaseBiasesBounds
readList :: ReadS [MsgSsrCodePhaseBiasesBounds]
$creadList :: ReadS [MsgSsrCodePhaseBiasesBounds]
readsPrec :: Int -> ReadS MsgSsrCodePhaseBiasesBounds
$creadsPrec :: Int -> ReadS MsgSsrCodePhaseBiasesBounds
Read, MsgSsrCodePhaseBiasesBounds -> MsgSsrCodePhaseBiasesBounds -> Bool
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: MsgSsrCodePhaseBiasesBounds -> MsgSsrCodePhaseBiasesBounds -> Bool
$c/= :: MsgSsrCodePhaseBiasesBounds -> MsgSsrCodePhaseBiasesBounds -> Bool
== :: MsgSsrCodePhaseBiasesBounds -> MsgSsrCodePhaseBiasesBounds -> Bool
$c== :: MsgSsrCodePhaseBiasesBounds -> MsgSsrCodePhaseBiasesBounds -> Bool
Eq )
instance Binary MsgSsrCodePhaseBiasesBounds where
get :: Get MsgSsrCodePhaseBiasesBounds
get = do
BoundsHeader
_msgSsrCodePhaseBiasesBounds_header <- forall t. Binary t => Get t
get
Word8
_msgSsrCodePhaseBiasesBounds_ssr_iod <- Get Word8
getWord8
Word8
_msgSsrCodePhaseBiasesBounds_const_id <- Get Word8
getWord8
Word8
_msgSsrCodePhaseBiasesBounds_n_sats_signals <- Get Word8
getWord8
[CodePhaseBiasesSatSig]
_msgSsrCodePhaseBiasesBounds_satellites_signals <- forall (m :: * -> *) a. Monad m => m Bool -> m a -> m [a]
whileM (Bool -> Bool
not forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
<$> Get Bool
isEmpty) forall t. Binary t => Get t
get
forall (f :: * -> *) a. Applicative f => a -> f a
pure MsgSsrCodePhaseBiasesBounds {[CodePhaseBiasesSatSig]
Word8
BoundsHeader
_msgSsrCodePhaseBiasesBounds_satellites_signals :: [CodePhaseBiasesSatSig]
_msgSsrCodePhaseBiasesBounds_n_sats_signals :: Word8
_msgSsrCodePhaseBiasesBounds_const_id :: Word8
_msgSsrCodePhaseBiasesBounds_ssr_iod :: Word8
_msgSsrCodePhaseBiasesBounds_header :: BoundsHeader
_msgSsrCodePhaseBiasesBounds_satellites_signals :: [CodePhaseBiasesSatSig]
_msgSsrCodePhaseBiasesBounds_n_sats_signals :: Word8
_msgSsrCodePhaseBiasesBounds_const_id :: Word8
_msgSsrCodePhaseBiasesBounds_ssr_iod :: Word8
_msgSsrCodePhaseBiasesBounds_header :: BoundsHeader
..}
put :: MsgSsrCodePhaseBiasesBounds -> Put
put MsgSsrCodePhaseBiasesBounds {[CodePhaseBiasesSatSig]
Word8
BoundsHeader
_msgSsrCodePhaseBiasesBounds_satellites_signals :: [CodePhaseBiasesSatSig]
_msgSsrCodePhaseBiasesBounds_n_sats_signals :: Word8
_msgSsrCodePhaseBiasesBounds_const_id :: Word8
_msgSsrCodePhaseBiasesBounds_ssr_iod :: Word8
_msgSsrCodePhaseBiasesBounds_header :: BoundsHeader
_msgSsrCodePhaseBiasesBounds_satellites_signals :: MsgSsrCodePhaseBiasesBounds -> [CodePhaseBiasesSatSig]
_msgSsrCodePhaseBiasesBounds_n_sats_signals :: MsgSsrCodePhaseBiasesBounds -> Word8
_msgSsrCodePhaseBiasesBounds_const_id :: MsgSsrCodePhaseBiasesBounds -> Word8
_msgSsrCodePhaseBiasesBounds_ssr_iod :: MsgSsrCodePhaseBiasesBounds -> Word8
_msgSsrCodePhaseBiasesBounds_header :: MsgSsrCodePhaseBiasesBounds -> BoundsHeader
..} = do
forall t. Binary t => t -> Put
put BoundsHeader
_msgSsrCodePhaseBiasesBounds_header
Word8 -> Put
putWord8 Word8
_msgSsrCodePhaseBiasesBounds_ssr_iod
Word8 -> Put
putWord8 Word8
_msgSsrCodePhaseBiasesBounds_const_id
Word8 -> Put
putWord8 Word8
_msgSsrCodePhaseBiasesBounds_n_sats_signals
forall (t :: * -> *) (m :: * -> *) a b.
(Foldable t, Monad m) =>
(a -> m b) -> t a -> m ()
mapM_ forall t. Binary t => t -> Put
put [CodePhaseBiasesSatSig]
_msgSsrCodePhaseBiasesBounds_satellites_signals
$(makeSBP 'msgSsrCodePhaseBiasesBounds ''MsgSsrCodePhaseBiasesBounds)
$(makeJSON "_msgSsrCodePhaseBiasesBounds_" ''MsgSsrCodePhaseBiasesBounds)
$
data OrbitClockBoundDegradation = OrbitClockBoundDegradation
{ OrbitClockBoundDegradation -> Word8
_orbitClockBoundDegradation_orb_radial_bound_mu_dot :: !Word8
, OrbitClockBoundDegradation -> Word8
_orbitClockBoundDegradation_orb_along_bound_mu_dot :: !Word8
, OrbitClockBoundDegradation -> Word8
_orbitClockBoundDegradation_orb_cross_bound_mu_dot :: !Word8
, OrbitClockBoundDegradation -> Word8
_orbitClockBoundDegradation_orb_radial_bound_sig_dot :: !Word8
, OrbitClockBoundDegradation -> Word8
_orbitClockBoundDegradation_orb_along_bound_sig_dot :: !Word8
, OrbitClockBoundDegradation -> Word8
_orbitClockBoundDegradation_orb_cross_bound_sig_dot :: !Word8
, OrbitClockBoundDegradation -> Word8
_orbitClockBoundDegradation_clock_bound_mu_dot :: !Word8
, OrbitClockBoundDegradation -> Word8
_orbitClockBoundDegradation_clock_bound_sig_dot :: !Word8
} deriving ( Int -> OrbitClockBoundDegradation -> ShowS
[OrbitClockBoundDegradation] -> ShowS
OrbitClockBoundDegradation -> String
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [OrbitClockBoundDegradation] -> ShowS
$cshowList :: [OrbitClockBoundDegradation] -> ShowS
show :: OrbitClockBoundDegradation -> String
$cshow :: OrbitClockBoundDegradation -> String
showsPrec :: Int -> OrbitClockBoundDegradation -> ShowS
$cshowsPrec :: Int -> OrbitClockBoundDegradation -> ShowS
Show, ReadPrec [OrbitClockBoundDegradation]
ReadPrec OrbitClockBoundDegradation
Int -> ReadS OrbitClockBoundDegradation
ReadS [OrbitClockBoundDegradation]
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [OrbitClockBoundDegradation]
$creadListPrec :: ReadPrec [OrbitClockBoundDegradation]
readPrec :: ReadPrec OrbitClockBoundDegradation
$creadPrec :: ReadPrec OrbitClockBoundDegradation
readList :: ReadS [OrbitClockBoundDegradation]
$creadList :: ReadS [OrbitClockBoundDegradation]
readsPrec :: Int -> ReadS OrbitClockBoundDegradation
$creadsPrec :: Int -> ReadS OrbitClockBoundDegradation
Read, OrbitClockBoundDegradation -> OrbitClockBoundDegradation -> Bool
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: OrbitClockBoundDegradation -> OrbitClockBoundDegradation -> Bool
$c/= :: OrbitClockBoundDegradation -> OrbitClockBoundDegradation -> Bool
== :: OrbitClockBoundDegradation -> OrbitClockBoundDegradation -> Bool
$c== :: OrbitClockBoundDegradation -> OrbitClockBoundDegradation -> Bool
Eq )
instance Binary OrbitClockBoundDegradation where
get :: Get OrbitClockBoundDegradation
get = do
Word8
_orbitClockBoundDegradation_orb_radial_bound_mu_dot <- Get Word8
getWord8
Word8
_orbitClockBoundDegradation_orb_along_bound_mu_dot <- Get Word8
getWord8
Word8
_orbitClockBoundDegradation_orb_cross_bound_mu_dot <- Get Word8
getWord8
Word8
_orbitClockBoundDegradation_orb_radial_bound_sig_dot <- Get Word8
getWord8
Word8
_orbitClockBoundDegradation_orb_along_bound_sig_dot <- Get Word8
getWord8
Word8
_orbitClockBoundDegradation_orb_cross_bound_sig_dot <- Get Word8
getWord8
Word8
_orbitClockBoundDegradation_clock_bound_mu_dot <- Get Word8
getWord8
Word8
_orbitClockBoundDegradation_clock_bound_sig_dot <- Get Word8
getWord8
forall (f :: * -> *) a. Applicative f => a -> f a
pure OrbitClockBoundDegradation {Word8
_orbitClockBoundDegradation_clock_bound_sig_dot :: Word8
_orbitClockBoundDegradation_clock_bound_mu_dot :: Word8
_orbitClockBoundDegradation_orb_cross_bound_sig_dot :: Word8
_orbitClockBoundDegradation_orb_along_bound_sig_dot :: Word8
_orbitClockBoundDegradation_orb_radial_bound_sig_dot :: Word8
_orbitClockBoundDegradation_orb_cross_bound_mu_dot :: Word8
_orbitClockBoundDegradation_orb_along_bound_mu_dot :: Word8
_orbitClockBoundDegradation_orb_radial_bound_mu_dot :: Word8
_orbitClockBoundDegradation_clock_bound_sig_dot :: Word8
_orbitClockBoundDegradation_clock_bound_mu_dot :: Word8
_orbitClockBoundDegradation_orb_cross_bound_sig_dot :: Word8
_orbitClockBoundDegradation_orb_along_bound_sig_dot :: Word8
_orbitClockBoundDegradation_orb_radial_bound_sig_dot :: Word8
_orbitClockBoundDegradation_orb_cross_bound_mu_dot :: Word8
_orbitClockBoundDegradation_orb_along_bound_mu_dot :: Word8
_orbitClockBoundDegradation_orb_radial_bound_mu_dot :: Word8
..}
put :: OrbitClockBoundDegradation -> Put
put OrbitClockBoundDegradation {Word8
_orbitClockBoundDegradation_clock_bound_sig_dot :: Word8
_orbitClockBoundDegradation_clock_bound_mu_dot :: Word8
_orbitClockBoundDegradation_orb_cross_bound_sig_dot :: Word8
_orbitClockBoundDegradation_orb_along_bound_sig_dot :: Word8
_orbitClockBoundDegradation_orb_radial_bound_sig_dot :: Word8
_orbitClockBoundDegradation_orb_cross_bound_mu_dot :: Word8
_orbitClockBoundDegradation_orb_along_bound_mu_dot :: Word8
_orbitClockBoundDegradation_orb_radial_bound_mu_dot :: Word8
_orbitClockBoundDegradation_clock_bound_sig_dot :: OrbitClockBoundDegradation -> Word8
_orbitClockBoundDegradation_clock_bound_mu_dot :: OrbitClockBoundDegradation -> Word8
_orbitClockBoundDegradation_orb_cross_bound_sig_dot :: OrbitClockBoundDegradation -> Word8
_orbitClockBoundDegradation_orb_along_bound_sig_dot :: OrbitClockBoundDegradation -> Word8
_orbitClockBoundDegradation_orb_radial_bound_sig_dot :: OrbitClockBoundDegradation -> Word8
_orbitClockBoundDegradation_orb_cross_bound_mu_dot :: OrbitClockBoundDegradation -> Word8
_orbitClockBoundDegradation_orb_along_bound_mu_dot :: OrbitClockBoundDegradation -> Word8
_orbitClockBoundDegradation_orb_radial_bound_mu_dot :: OrbitClockBoundDegradation -> Word8
..} = do
Word8 -> Put
putWord8 Word8
_orbitClockBoundDegradation_orb_radial_bound_mu_dot
Word8 -> Put
putWord8 Word8
_orbitClockBoundDegradation_orb_along_bound_mu_dot
Word8 -> Put
putWord8 Word8
_orbitClockBoundDegradation_orb_cross_bound_mu_dot
Word8 -> Put
putWord8 Word8
_orbitClockBoundDegradation_orb_radial_bound_sig_dot
Word8 -> Put
putWord8 Word8
_orbitClockBoundDegradation_orb_along_bound_sig_dot
Word8 -> Put
putWord8 Word8
_orbitClockBoundDegradation_orb_cross_bound_sig_dot
Word8 -> Put
putWord8 Word8
_orbitClockBoundDegradation_clock_bound_mu_dot
Word8 -> Put
putWord8 Word8
_orbitClockBoundDegradation_clock_bound_sig_dot
$(makeJSON "_orbitClockBoundDegradation_" ''OrbitClockBoundDegradation)
$(makeLenses ''OrbitClockBoundDegradation)
msgSsrOrbitClockBoundsDegradation :: Word16
msgSsrOrbitClockBoundsDegradation :: Word16
msgSsrOrbitClockBoundsDegradation = Word16
0x05DF
data MsgSsrOrbitClockBoundsDegradation = MsgSsrOrbitClockBoundsDegradation
{ :: !BoundsHeader
, MsgSsrOrbitClockBoundsDegradation -> Word8
_msgSsrOrbitClockBoundsDegradation_ssr_iod :: !Word8
, MsgSsrOrbitClockBoundsDegradation -> Word8
_msgSsrOrbitClockBoundsDegradation_const_id :: !Word8
, MsgSsrOrbitClockBoundsDegradation -> Word64
_msgSsrOrbitClockBoundsDegradation_sat_bitmask :: !Word64
, MsgSsrOrbitClockBoundsDegradation -> OrbitClockBoundDegradation
_msgSsrOrbitClockBoundsDegradation_orbit_clock_bounds_degradation :: !OrbitClockBoundDegradation
} deriving ( Int -> MsgSsrOrbitClockBoundsDegradation -> ShowS
[MsgSsrOrbitClockBoundsDegradation] -> ShowS
MsgSsrOrbitClockBoundsDegradation -> String
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [MsgSsrOrbitClockBoundsDegradation] -> ShowS
$cshowList :: [MsgSsrOrbitClockBoundsDegradation] -> ShowS
show :: MsgSsrOrbitClockBoundsDegradation -> String
$cshow :: MsgSsrOrbitClockBoundsDegradation -> String
showsPrec :: Int -> MsgSsrOrbitClockBoundsDegradation -> ShowS
$cshowsPrec :: Int -> MsgSsrOrbitClockBoundsDegradation -> ShowS
Show, ReadPrec [MsgSsrOrbitClockBoundsDegradation]
ReadPrec MsgSsrOrbitClockBoundsDegradation
Int -> ReadS MsgSsrOrbitClockBoundsDegradation
ReadS [MsgSsrOrbitClockBoundsDegradation]
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [MsgSsrOrbitClockBoundsDegradation]
$creadListPrec :: ReadPrec [MsgSsrOrbitClockBoundsDegradation]
readPrec :: ReadPrec MsgSsrOrbitClockBoundsDegradation
$creadPrec :: ReadPrec MsgSsrOrbitClockBoundsDegradation
readList :: ReadS [MsgSsrOrbitClockBoundsDegradation]
$creadList :: ReadS [MsgSsrOrbitClockBoundsDegradation]
readsPrec :: Int -> ReadS MsgSsrOrbitClockBoundsDegradation
$creadsPrec :: Int -> ReadS MsgSsrOrbitClockBoundsDegradation
Read, MsgSsrOrbitClockBoundsDegradation
-> MsgSsrOrbitClockBoundsDegradation -> Bool
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: MsgSsrOrbitClockBoundsDegradation
-> MsgSsrOrbitClockBoundsDegradation -> Bool
$c/= :: MsgSsrOrbitClockBoundsDegradation
-> MsgSsrOrbitClockBoundsDegradation -> Bool
== :: MsgSsrOrbitClockBoundsDegradation
-> MsgSsrOrbitClockBoundsDegradation -> Bool
$c== :: MsgSsrOrbitClockBoundsDegradation
-> MsgSsrOrbitClockBoundsDegradation -> Bool
Eq )
instance Binary MsgSsrOrbitClockBoundsDegradation where
get :: Get MsgSsrOrbitClockBoundsDegradation
get = do
BoundsHeader
_msgSsrOrbitClockBoundsDegradation_header <- forall t. Binary t => Get t
get
Word8
_msgSsrOrbitClockBoundsDegradation_ssr_iod <- Get Word8
getWord8
Word8
_msgSsrOrbitClockBoundsDegradation_const_id <- Get Word8
getWord8
Word64
_msgSsrOrbitClockBoundsDegradation_sat_bitmask <- Get Word64
getWord64le
OrbitClockBoundDegradation
_msgSsrOrbitClockBoundsDegradation_orbit_clock_bounds_degradation <- forall t. Binary t => Get t
get
forall (f :: * -> *) a. Applicative f => a -> f a
pure MsgSsrOrbitClockBoundsDegradation {Word8
Word64
BoundsHeader
OrbitClockBoundDegradation
_msgSsrOrbitClockBoundsDegradation_orbit_clock_bounds_degradation :: OrbitClockBoundDegradation
_msgSsrOrbitClockBoundsDegradation_sat_bitmask :: Word64
_msgSsrOrbitClockBoundsDegradation_const_id :: Word8
_msgSsrOrbitClockBoundsDegradation_ssr_iod :: Word8
_msgSsrOrbitClockBoundsDegradation_header :: BoundsHeader
_msgSsrOrbitClockBoundsDegradation_orbit_clock_bounds_degradation :: OrbitClockBoundDegradation
_msgSsrOrbitClockBoundsDegradation_sat_bitmask :: Word64
_msgSsrOrbitClockBoundsDegradation_const_id :: Word8
_msgSsrOrbitClockBoundsDegradation_ssr_iod :: Word8
_msgSsrOrbitClockBoundsDegradation_header :: BoundsHeader
..}
put :: MsgSsrOrbitClockBoundsDegradation -> Put
put MsgSsrOrbitClockBoundsDegradation {Word8
Word64
BoundsHeader
OrbitClockBoundDegradation
_msgSsrOrbitClockBoundsDegradation_orbit_clock_bounds_degradation :: OrbitClockBoundDegradation
_msgSsrOrbitClockBoundsDegradation_sat_bitmask :: Word64
_msgSsrOrbitClockBoundsDegradation_const_id :: Word8
_msgSsrOrbitClockBoundsDegradation_ssr_iod :: Word8
_msgSsrOrbitClockBoundsDegradation_header :: BoundsHeader
_msgSsrOrbitClockBoundsDegradation_orbit_clock_bounds_degradation :: MsgSsrOrbitClockBoundsDegradation -> OrbitClockBoundDegradation
_msgSsrOrbitClockBoundsDegradation_sat_bitmask :: MsgSsrOrbitClockBoundsDegradation -> Word64
_msgSsrOrbitClockBoundsDegradation_const_id :: MsgSsrOrbitClockBoundsDegradation -> Word8
_msgSsrOrbitClockBoundsDegradation_ssr_iod :: MsgSsrOrbitClockBoundsDegradation -> Word8
_msgSsrOrbitClockBoundsDegradation_header :: MsgSsrOrbitClockBoundsDegradation -> BoundsHeader
..} = do
forall t. Binary t => t -> Put
put BoundsHeader
_msgSsrOrbitClockBoundsDegradation_header
Word8 -> Put
putWord8 Word8
_msgSsrOrbitClockBoundsDegradation_ssr_iod
Word8 -> Put
putWord8 Word8
_msgSsrOrbitClockBoundsDegradation_const_id
Word64 -> Put
putWord64le Word64
_msgSsrOrbitClockBoundsDegradation_sat_bitmask
forall t. Binary t => t -> Put
put OrbitClockBoundDegradation
_msgSsrOrbitClockBoundsDegradation_orbit_clock_bounds_degradation
$(makeSBP 'msgSsrOrbitClockBoundsDegradation ''MsgSsrOrbitClockBoundsDegradation)
$(makeJSON "_msgSsrOrbitClockBoundsDegradation_" ''MsgSsrOrbitClockBoundsDegradation)
$