ham-0.1.0.0

Safe HaskellNone
LanguageHaskell2010

Ham.CAT.Radios

Description

Definitions for supported radios.

Synopsis

Documentation

data Radio Source #

Identifier for each of the supported radios. The names are more or less self-explanatory.

Constructors

YaesuFT891 
ElecraftK3

This includes K3, KX2, KX3.

Instances
Eq Radio Source # 
Instance details

Defined in Ham.CAT.Radios

Methods

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

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

Ord Radio Source # 
Instance details

Defined in Ham.CAT.Radios

Methods

compare :: Radio -> Radio -> Ordering #

(<) :: Radio -> Radio -> Bool #

(<=) :: Radio -> Radio -> Bool #

(>) :: Radio -> Radio -> Bool #

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

max :: Radio -> Radio -> Radio #

min :: Radio -> Radio -> Radio #

Show Radio Source # 
Instance details

Defined in Ham.CAT.Radios

Methods

showsPrec :: Int -> Radio -> ShowS #

show :: Radio -> String #

showList :: [Radio] -> ShowS #

Generic Radio Source # 
Instance details

Defined in Ham.CAT.Radios

Associated Types

type Rep Radio :: Type -> Type #

Methods

from :: Radio -> Rep Radio x #

to :: Rep Radio x -> Radio #

ToJSON Radio Source # 
Instance details

Defined in Ham.Internal.CAT

FromJSON Radio Source # 
Instance details

Defined in Ham.Internal.CAT

type Rep Radio Source # 
Instance details

Defined in Ham.CAT.Radios

type Rep Radio = D1 (MetaData "Radio" "Ham.CAT.Radios" "ham-0.1.0.0-8Jb3s78JRYM4BaePNf8wNc" False) (C1 (MetaCons "YaesuFT891" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "ElecraftK3" PrefixI False) (U1 :: Type -> Type))

serialInterface :: Map Radio SerialCAT Source #

Map from radio identifiers to serial interfaces. This is used e.g. when reading a radio identifier from a configuration file, to instantiate the correct SerialCAT.