amazonka-iotwireless-2.0: Amazon IoT Wireless SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.IoTWireless.Types.Gnss

Description

 
Synopsis

Documentation

data Gnss Source #

Global navigation satellite system (GNSS) object used for positioning.

See: newGnss smart constructor.

Constructors

Gnss' 

Fields

  • assistAltitude :: Maybe Double

    Optional assistance altitude, which is the altitude of the device at capture time, specified in meters above the WGS84 reference ellipsoid.

  • assistPosition :: Maybe (NonEmpty Double)

    Optional assistance position information, specified using latitude and longitude values in degrees. The co-ordinates are inside the WGS84 reference frame.

  • captureTime :: Maybe Double

    Optional parameter that gives an estimate of the time when the GNSS scan information is taken, in seconds GPS time (GPST). If capture time is not specified, the local server time is used.

  • captureTimeAccuracy :: Maybe Double

    Optional value that gives the capture time estimate accuracy, in seconds. If capture time accuracy is not specified, default value of 300 is used.

  • use2DSolver :: Maybe Bool

    Optional parameter that forces 2D solve, which modifies the positioning algorithm to a 2D solution problem. When this parameter is specified, the assistance altitude should have an accuracy of at least 10 meters.

  • payload :: Text

    Payload that contains the GNSS scan result, or NAV message, in hexadecimal notation.

Instances

Instances details
ToJSON Gnss Source # 
Instance details

Defined in Amazonka.IoTWireless.Types.Gnss

Generic Gnss Source # 
Instance details

Defined in Amazonka.IoTWireless.Types.Gnss

Associated Types

type Rep Gnss :: Type -> Type #

Methods

from :: Gnss -> Rep Gnss x #

to :: Rep Gnss x -> Gnss #

Read Gnss Source # 
Instance details

Defined in Amazonka.IoTWireless.Types.Gnss

Show Gnss Source # 
Instance details

Defined in Amazonka.IoTWireless.Types.Gnss

Methods

showsPrec :: Int -> Gnss -> ShowS #

show :: Gnss -> String #

showList :: [Gnss] -> ShowS #

NFData Gnss Source # 
Instance details

Defined in Amazonka.IoTWireless.Types.Gnss

Methods

rnf :: Gnss -> () #

Eq Gnss Source # 
Instance details

Defined in Amazonka.IoTWireless.Types.Gnss

Methods

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

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

Hashable Gnss Source # 
Instance details

Defined in Amazonka.IoTWireless.Types.Gnss

Methods

hashWithSalt :: Int -> Gnss -> Int #

hash :: Gnss -> Int #

type Rep Gnss Source # 
Instance details

Defined in Amazonka.IoTWireless.Types.Gnss

type Rep Gnss = D1 ('MetaData "Gnss" "Amazonka.IoTWireless.Types.Gnss" "amazonka-iotwireless-2.0-Dzx6Wen5AK9DyNP5TQU7zN" 'False) (C1 ('MetaCons "Gnss'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "assistAltitude") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Double)) :*: (S1 ('MetaSel ('Just "assistPosition") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (NonEmpty Double))) :*: S1 ('MetaSel ('Just "captureTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Double)))) :*: (S1 ('MetaSel ('Just "captureTimeAccuracy") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Double)) :*: (S1 ('MetaSel ('Just "use2DSolver") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "payload") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))))

newGnss Source #

Create a value of Gnss with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:assistAltitude:Gnss', gnss_assistAltitude - Optional assistance altitude, which is the altitude of the device at capture time, specified in meters above the WGS84 reference ellipsoid.

$sel:assistPosition:Gnss', gnss_assistPosition - Optional assistance position information, specified using latitude and longitude values in degrees. The co-ordinates are inside the WGS84 reference frame.

$sel:captureTime:Gnss', gnss_captureTime - Optional parameter that gives an estimate of the time when the GNSS scan information is taken, in seconds GPS time (GPST). If capture time is not specified, the local server time is used.

$sel:captureTimeAccuracy:Gnss', gnss_captureTimeAccuracy - Optional value that gives the capture time estimate accuracy, in seconds. If capture time accuracy is not specified, default value of 300 is used.

$sel:use2DSolver:Gnss', gnss_use2DSolver - Optional parameter that forces 2D solve, which modifies the positioning algorithm to a 2D solution problem. When this parameter is specified, the assistance altitude should have an accuracy of at least 10 meters.

$sel:payload:Gnss', gnss_payload - Payload that contains the GNSS scan result, or NAV message, in hexadecimal notation.

gnss_assistAltitude :: Lens' Gnss (Maybe Double) Source #

Optional assistance altitude, which is the altitude of the device at capture time, specified in meters above the WGS84 reference ellipsoid.

gnss_assistPosition :: Lens' Gnss (Maybe (NonEmpty Double)) Source #

Optional assistance position information, specified using latitude and longitude values in degrees. The co-ordinates are inside the WGS84 reference frame.

gnss_captureTime :: Lens' Gnss (Maybe Double) Source #

Optional parameter that gives an estimate of the time when the GNSS scan information is taken, in seconds GPS time (GPST). If capture time is not specified, the local server time is used.

gnss_captureTimeAccuracy :: Lens' Gnss (Maybe Double) Source #

Optional value that gives the capture time estimate accuracy, in seconds. If capture time accuracy is not specified, default value of 300 is used.

gnss_use2DSolver :: Lens' Gnss (Maybe Bool) Source #

Optional parameter that forces 2D solve, which modifies the positioning algorithm to a 2D solution problem. When this parameter is specified, the assistance altitude should have an accuracy of at least 10 meters.

gnss_payload :: Lens' Gnss Text Source #

Payload that contains the GNSS scan result, or NAV message, in hexadecimal notation.