sbp-2.2.3: SwiftNav's SBP Library

CopyrightCopyright (C) 2015 Swift Navigation, Inc.
LicenseLGPL-3
MaintainerMark Fine <dev@swiftnav.com>
Stabilityexperimental
Portabilityportable
Safe HaskellNone
LanguageHaskell2010

SwiftNav.SBP.Settings

Description

Messages for reading and writing the device's device settings. Note that some of these messages share the same message type ID for both the host request and the device response. See the accompanying document for descriptions of settings configurations and examples: https://github.com swift-navpiksi_firmwareblobmasterdocssettings.pdf

Synopsis

Documentation

data MsgSettingsSave Source #

SBP class for message MSG_SETTINGS_SAVE (0x00A1).

The save settings message persists the device's current settings configuration to its onboard flash memory file system.

Constructors

MsgSettingsSave 

data MsgSettingsWrite Source #

SBP class for message MSG_SETTINGS_WRITE (0x00A0).

The setting message writes the device configuration.

Constructors

MsgSettingsWrite 

Fields

  • _msgSettingsWrite_setting :: Text

    A NULL-terminated and delimited string with contents [SECTION_SETTING, SETTING, VALUE]. A device will only process to this message when it is received from sender ID 0x42.

data MsgSettingsReadReq Source #

SBP class for message MSG_SETTINGS_READ_REQ (0x00A4).

The setting message reads the device configuration.

Constructors

MsgSettingsReadReq 

Fields

  • _msgSettingsReadReq_setting :: Text

    A NULL-terminated and delimited string with contents [SECTION_SETTING, SETTING]. A device will only respond to this message when it is received from sender ID 0x42.

data MsgSettingsReadByIndexReq Source #

SBP class for message MSG_SETTINGS_READ_BY_INDEX_REQ (0x00A2).

The settings message for iterating through the settings values. It will read the setting at an index, returning a NULL-terminated and delimited string with contents [SECTION_SETTING, SETTING, VALUE]. A device will only respond to this message when it is received from sender ID 0x42.

Constructors

MsgSettingsReadByIndexReq 

Fields

data MsgSettingsReadByIndexResp Source #

SBP class for message MSG_SETTINGS_READ_BY_INDEX_RESP (0x00A7).

The settings message for iterating through the settings values. It will read the setting at an index, returning a NULL-terminated and delimited string with contents [SECTION_SETTING, SETTING, VALUE].

Constructors

MsgSettingsReadByIndexResp 

Fields

data MsgSettingsRegister Source #

SBP class for message MSG_SETTINGS_REGISTER (0x00AE).

This message registers the presence and default value of a setting with a settings daemon. The host should reply with MSG_SETTINGS_WRITE for this setting to set the initial value.

Constructors

MsgSettingsRegister 

Fields