wsjtx-udp-0.1.3.5: WSJT-X UDP protocol

Copyright(c) Marc Fontaine 2017-2018
LicenseBSD3
MaintainerMarc.Fontaine@gmx.de
Stabilityexperimental
PortabilityGHC-only
Safe HaskellNone
LanguageHaskell2010

WSJTX.UDP.NetworkMessage

Contents

Description

The package types of the WSJT-X UDP protocol. See NetworkMessage.hpp in WSJT-X sources.

Documentation

data Heartbeat Source #

Instances
Eq Heartbeat Source # 
Instance details

Defined in WSJTX.UDP.NetworkMessage

Read Heartbeat Source # 
Instance details

Defined in WSJTX.UDP.NetworkMessage

Show Heartbeat Source # 
Instance details

Defined in WSJTX.UDP.NetworkMessage

Generic Heartbeat Source # 
Instance details

Defined in WSJTX.UDP.NetworkMessage

Associated Types

type Rep Heartbeat :: Type -> Type #

ToJSON Heartbeat Source # 
Instance details

Defined in WSJTX.UDP.NetworkMessage

FromJSON Heartbeat Source # 
Instance details

Defined in WSJTX.UDP.NetworkMessage

type Rep Heartbeat Source # 
Instance details

Defined in WSJTX.UDP.NetworkMessage

type Rep Heartbeat = D1 (MetaData "Heartbeat" "WSJTX.UDP.NetworkMessage" "wsjtx-udp-0.1.3.5-Ema33uKdNdwEHZAu0HxVab" False) (C1 (MetaCons "Heartbeat" PrefixI True) ((S1 (MetaSel (Just "heartbeat_client_id") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Text) :*: S1 (MetaSel (Just "heartbeat_maximum_schema_number") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Word32)) :*: (S1 (MetaSel (Just "heartbeat_version") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Text) :*: S1 (MetaSel (Just "heartbeat_revision") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Text))))

data Status Source #

Instances
Eq Status Source # 
Instance details

Defined in WSJTX.UDP.NetworkMessage

Methods

(==) :: Status -> Status -> Bool #

(/=) :: Status -> Status -> Bool #

Read Status Source # 
Instance details

Defined in WSJTX.UDP.NetworkMessage

Show Status Source # 
Instance details

Defined in WSJTX.UDP.NetworkMessage

Generic Status Source # 
Instance details

Defined in WSJTX.UDP.NetworkMessage

Associated Types

type Rep Status :: Type -> Type #

Methods

from :: Status -> Rep Status x #

to :: Rep Status x -> Status #

ToJSON Status Source # 
Instance details

Defined in WSJTX.UDP.NetworkMessage

FromJSON Status Source # 
Instance details

Defined in WSJTX.UDP.NetworkMessage

type Rep Status Source # 
Instance details

Defined in WSJTX.UDP.NetworkMessage

type Rep Status = D1 (MetaData "Status" "WSJTX.UDP.NetworkMessage" "wsjtx-udp-0.1.3.5-Ema33uKdNdwEHZAu0HxVab" False) (C1 (MetaCons "Status" PrefixI True) ((((S1 (MetaSel (Just "status_client_id") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Text) :*: S1 (MetaSel (Just "status_dial_frequency") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Word64)) :*: (S1 (MetaSel (Just "status_mode") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Text) :*: S1 (MetaSel (Just "status_dx_call") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Text))) :*: ((S1 (MetaSel (Just "status_report") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Text) :*: S1 (MetaSel (Just "status_tx_mode") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Text)) :*: (S1 (MetaSel (Just "status_tx_enabled") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Bool) :*: S1 (MetaSel (Just "status_transmitting") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Bool)))) :*: (((S1 (MetaSel (Just "status_decoding") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Bool) :*: S1 (MetaSel (Just "status_rx_df") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Word32)) :*: (S1 (MetaSel (Just "status_tx_df") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Word32) :*: S1 (MetaSel (Just "status_de_call") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Text))) :*: ((S1 (MetaSel (Just "status_de_grid") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Text) :*: S1 (MetaSel (Just "status_dx_grid") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Text)) :*: (S1 (MetaSel (Just "status_tx_watchdog") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Bool) :*: (S1 (MetaSel (Just "status_submode") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Text) :*: S1 (MetaSel (Just "status_fast_mode") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Bool)))))))

data Decode Source #

Instances
Eq Decode Source # 
Instance details

Defined in WSJTX.UDP.NetworkMessage

Methods

(==) :: Decode -> Decode -> Bool #

(/=) :: Decode -> Decode -> Bool #

Read Decode Source # 
Instance details

Defined in WSJTX.UDP.NetworkMessage

Show Decode Source # 
Instance details

Defined in WSJTX.UDP.NetworkMessage

Generic Decode Source # 
Instance details

Defined in WSJTX.UDP.NetworkMessage

Associated Types

type Rep Decode :: Type -> Type #

Methods

from :: Decode -> Rep Decode x #

to :: Rep Decode x -> Decode #

ToJSON Decode Source # 
Instance details

Defined in WSJTX.UDP.NetworkMessage

FromJSON Decode Source # 
Instance details

Defined in WSJTX.UDP.NetworkMessage

type Rep Decode Source # 
Instance details

Defined in WSJTX.UDP.NetworkMessage

data Clear Source #

Constructors

Clear 
Instances
Eq Clear Source # 
Instance details

Defined in WSJTX.UDP.NetworkMessage

Methods

(==) :: Clear -> Clear -> Bool #

(/=) :: Clear -> Clear -> Bool #

Read Clear Source # 
Instance details

Defined in WSJTX.UDP.NetworkMessage

Show Clear Source # 
Instance details

Defined in WSJTX.UDP.NetworkMessage

Methods

showsPrec :: Int -> Clear -> ShowS #

show :: Clear -> String #

showList :: [Clear] -> ShowS #

Generic Clear Source # 
Instance details

Defined in WSJTX.UDP.NetworkMessage

Associated Types

type Rep Clear :: Type -> Type #

Methods

from :: Clear -> Rep Clear x #

to :: Rep Clear x -> Clear #

ToJSON Clear Source # 
Instance details

Defined in WSJTX.UDP.NetworkMessage

FromJSON Clear Source # 
Instance details

Defined in WSJTX.UDP.NetworkMessage

type Rep Clear Source # 
Instance details

Defined in WSJTX.UDP.NetworkMessage

type Rep Clear = D1 (MetaData "Clear" "WSJTX.UDP.NetworkMessage" "wsjtx-udp-0.1.3.5-Ema33uKdNdwEHZAu0HxVab" False) (C1 (MetaCons "Clear" PrefixI True) (S1 (MetaSel (Just "clear_client_id") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Text)))

data Reply Source #

Instances
Eq Reply Source # 
Instance details

Defined in WSJTX.UDP.NetworkMessage

Methods

(==) :: Reply -> Reply -> Bool #

(/=) :: Reply -> Reply -> Bool #

Read Reply Source # 
Instance details

Defined in WSJTX.UDP.NetworkMessage

Show Reply Source # 
Instance details

Defined in WSJTX.UDP.NetworkMessage

Methods

showsPrec :: Int -> Reply -> ShowS #

show :: Reply -> String #

showList :: [Reply] -> ShowS #

Generic Reply Source # 
Instance details

Defined in WSJTX.UDP.NetworkMessage

Associated Types

type Rep Reply :: Type -> Type #

Methods

from :: Reply -> Rep Reply x #

to :: Rep Reply x -> Reply #

ToJSON Reply Source # 
Instance details

Defined in WSJTX.UDP.NetworkMessage

FromJSON Reply Source # 
Instance details

Defined in WSJTX.UDP.NetworkMessage

type Rep Reply Source # 
Instance details

Defined in WSJTX.UDP.NetworkMessage

data Logged Source #

Instances
Eq Logged Source # 
Instance details

Defined in WSJTX.UDP.NetworkMessage

Methods

(==) :: Logged -> Logged -> Bool #

(/=) :: Logged -> Logged -> Bool #

Read Logged Source # 
Instance details

Defined in WSJTX.UDP.NetworkMessage

Show Logged Source # 
Instance details

Defined in WSJTX.UDP.NetworkMessage

Generic Logged Source # 
Instance details

Defined in WSJTX.UDP.NetworkMessage

Associated Types

type Rep Logged :: Type -> Type #

Methods

from :: Logged -> Rep Logged x #

to :: Rep Logged x -> Logged #

ToJSON Logged Source # 
Instance details

Defined in WSJTX.UDP.NetworkMessage

FromJSON Logged Source # 
Instance details

Defined in WSJTX.UDP.NetworkMessage

type Rep Logged Source # 
Instance details

Defined in WSJTX.UDP.NetworkMessage

data Close Source #

Constructors

Close 
Instances
Eq Close Source # 
Instance details

Defined in WSJTX.UDP.NetworkMessage

Methods

(==) :: Close -> Close -> Bool #

(/=) :: Close -> Close -> Bool #

Read Close Source # 
Instance details

Defined in WSJTX.UDP.NetworkMessage

Show Close Source # 
Instance details

Defined in WSJTX.UDP.NetworkMessage

Methods

showsPrec :: Int -> Close -> ShowS #

show :: Close -> String #

showList :: [Close] -> ShowS #

Generic Close Source # 
Instance details

Defined in WSJTX.UDP.NetworkMessage

Associated Types

type Rep Close :: Type -> Type #

Methods

from :: Close -> Rep Close x #

to :: Rep Close x -> Close #

ToJSON Close Source # 
Instance details

Defined in WSJTX.UDP.NetworkMessage

FromJSON Close Source # 
Instance details

Defined in WSJTX.UDP.NetworkMessage

type Rep Close Source # 
Instance details

Defined in WSJTX.UDP.NetworkMessage

type Rep Close = D1 (MetaData "Close" "WSJTX.UDP.NetworkMessage" "wsjtx-udp-0.1.3.5-Ema33uKdNdwEHZAu0HxVab" False) (C1 (MetaCons "Close" PrefixI True) (S1 (MetaSel (Just "close_client_id") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Text)))

data Replay Source #

Constructors

Replay 
Instances
Eq Replay Source # 
Instance details

Defined in WSJTX.UDP.NetworkMessage

Methods

(==) :: Replay -> Replay -> Bool #

(/=) :: Replay -> Replay -> Bool #

Read Replay Source # 
Instance details

Defined in WSJTX.UDP.NetworkMessage

Show Replay Source # 
Instance details

Defined in WSJTX.UDP.NetworkMessage

Generic Replay Source # 
Instance details

Defined in WSJTX.UDP.NetworkMessage

Associated Types

type Rep Replay :: Type -> Type #

Methods

from :: Replay -> Rep Replay x #

to :: Rep Replay x -> Replay #

ToJSON Replay Source # 
Instance details

Defined in WSJTX.UDP.NetworkMessage

FromJSON Replay Source # 
Instance details

Defined in WSJTX.UDP.NetworkMessage

type Rep Replay Source # 
Instance details

Defined in WSJTX.UDP.NetworkMessage

type Rep Replay = D1 (MetaData "Replay" "WSJTX.UDP.NetworkMessage" "wsjtx-udp-0.1.3.5-Ema33uKdNdwEHZAu0HxVab" False) (C1 (MetaCons "Replay" PrefixI True) (S1 (MetaSel (Just "replay_client_id") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Text)))

data HaltTx Source #

Instances
Eq HaltTx Source # 
Instance details

Defined in WSJTX.UDP.NetworkMessage

Methods

(==) :: HaltTx -> HaltTx -> Bool #

(/=) :: HaltTx -> HaltTx -> Bool #

Read HaltTx Source # 
Instance details

Defined in WSJTX.UDP.NetworkMessage

Show HaltTx Source # 
Instance details

Defined in WSJTX.UDP.NetworkMessage

Generic HaltTx Source # 
Instance details

Defined in WSJTX.UDP.NetworkMessage

Associated Types

type Rep HaltTx :: Type -> Type #

Methods

from :: HaltTx -> Rep HaltTx x #

to :: Rep HaltTx x -> HaltTx #

ToJSON HaltTx Source # 
Instance details

Defined in WSJTX.UDP.NetworkMessage

FromJSON HaltTx Source # 
Instance details

Defined in WSJTX.UDP.NetworkMessage

type Rep HaltTx Source # 
Instance details

Defined in WSJTX.UDP.NetworkMessage

type Rep HaltTx = D1 (MetaData "HaltTx" "WSJTX.UDP.NetworkMessage" "wsjtx-udp-0.1.3.5-Ema33uKdNdwEHZAu0HxVab" False) (C1 (MetaCons "HaltTx" PrefixI True) (S1 (MetaSel (Just "haltTx_client_id") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Text) :*: S1 (MetaSel (Just "haltTx_auto_tx_only") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Bool)))

data FreeText Source #

Instances
Eq FreeText Source # 
Instance details

Defined in WSJTX.UDP.NetworkMessage

Read FreeText Source # 
Instance details

Defined in WSJTX.UDP.NetworkMessage

Show FreeText Source # 
Instance details

Defined in WSJTX.UDP.NetworkMessage

Generic FreeText Source # 
Instance details

Defined in WSJTX.UDP.NetworkMessage

Associated Types

type Rep FreeText :: Type -> Type #

Methods

from :: FreeText -> Rep FreeText x #

to :: Rep FreeText x -> FreeText #

ToJSON FreeText Source # 
Instance details

Defined in WSJTX.UDP.NetworkMessage

FromJSON FreeText Source # 
Instance details

Defined in WSJTX.UDP.NetworkMessage

type Rep FreeText Source # 
Instance details

Defined in WSJTX.UDP.NetworkMessage

type Rep FreeText = D1 (MetaData "FreeText" "WSJTX.UDP.NetworkMessage" "wsjtx-udp-0.1.3.5-Ema33uKdNdwEHZAu0HxVab" False) (C1 (MetaCons "FreeText" PrefixI True) (S1 (MetaSel (Just "freeText_client_id") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Text) :*: (S1 (MetaSel (Just "freeText_text") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Text) :*: S1 (MetaSel (Just "freeText_send") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Bool))))

data Package Source #

Instances
Eq Package Source # 
Instance details

Defined in WSJTX.UDP.NetworkMessage

Methods

(==) :: Package -> Package -> Bool #

(/=) :: Package -> Package -> Bool #

Read Package Source # 
Instance details

Defined in WSJTX.UDP.NetworkMessage

Show Package Source # 
Instance details

Defined in WSJTX.UDP.NetworkMessage

Generic Package Source # 
Instance details

Defined in WSJTX.UDP.NetworkMessage

Associated Types

type Rep Package :: Type -> Type #

Methods

from :: Package -> Rep Package x #

to :: Rep Package x -> Package #

ToJSON Package Source # 
Instance details

Defined in WSJTX.UDP.NetworkMessage

FromJSON Package Source # 
Instance details

Defined in WSJTX.UDP.NetworkMessage

type Rep Package Source # 
Instance details

Defined in WSJTX.UDP.NetworkMessage

type Rep Package = D1 (MetaData "Package" "WSJTX.UDP.NetworkMessage" "wsjtx-udp-0.1.3.5-Ema33uKdNdwEHZAu0HxVab" False) (((C1 (MetaCons "PHeartbeat" PrefixI False) (S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Heartbeat)) :+: C1 (MetaCons "PStatus" PrefixI False) (S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Status))) :+: (C1 (MetaCons "PDecode" PrefixI False) (S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Decode)) :+: (C1 (MetaCons "PClear" PrefixI False) (S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Clear)) :+: C1 (MetaCons "PReply" PrefixI False) (S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Reply))))) :+: ((C1 (MetaCons "PLogged" PrefixI False) (S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Logged)) :+: (C1 (MetaCons "PClose" PrefixI False) (S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Close)) :+: C1 (MetaCons "PReplay" PrefixI False) (S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Replay)))) :+: (C1 (MetaCons "PHaltTx" PrefixI False) (S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 HaltTx)) :+: (C1 (MetaCons "PFreeText" PrefixI False) (S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 FreeText)) :+: C1 (MetaCons "OtherPackage" PrefixI False) (S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 [Word8]))))))

Orphan instances