sbp-0.50.4: SwiftNav's SBP Library

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

SwiftNav.SBP.Bootload

Description

Messages for the bootloading configuration on the device. These are in the implementation-defined range (0x0000-0x00FF), and are intended for internal use only. Note that some of these messages share the same message type ID for both the host request and the device response.

Synopsis

Documentation

data MsgBootloaderHandshakeReq Source

SBP class for message MSG_BOOTLOADER_HANDSHAKE_REQ (0x00B3).

The handshake message request from the host establishes a handshake between the device bootloader and the host. The response from the device is MSG_BOOTLOADER_HANDSHAKE_RESP.

data MsgBootloaderHandshakeResp Source

SBP class for message MSG_BOOTLOADER_HANDSHAKE_RESP (0x00B4).

The handshake message response from the device establishes a handshake between the device bootloader and the host. The request from the host is MSG_BOOTLOADER_HANDSHAKE_REQ. The payload contains the bootloader version number and the SBP protocol version number.

data MsgBootloaderJumpToApp Source

SBP class for message MSG_BOOTLOADER_JUMP_TO_APP (0x00B1).

The host initiates the bootloader to jump to the application.

Constructors

MsgBootloaderJumpToApp 

Fields

msgBootloaderJumpToApp_jump :: Word8

Ignored by the device

data MsgNapDeviceDnaReq Source

SBP class for message MSG_NAP_DEVICE_DNA_REQ (0x00DE).

The device message from the host reads a unique device identifier from the SwiftNAP, an FPGA. The host requests the ID by sending a MSG_NAP_DEVICE_DNA_REQ message. The device responds with a MSG_NAP_DEVICE_DNA_RESP message with the device ID in the payload. Note that this ID is tied to the FPGA, and not related to the Piksi's serial number.

Constructors

MsgNapDeviceDnaReq 

data MsgNapDeviceDnaResp Source

SBP class for message MSG_NAP_DEVICE_DNA_RESP (0x00DD).

The device message from the host reads a unique device identifier from the SwiftNAP, an FPGA. The host requests the ID by sending a MSG_NAP_DEVICE_DNA_REQ message. The device responds with a MSG_NAP_DEVICE_DNA_RESP messagage with the device ID in the payload. Note that this ID is tied to the FPGA, and not related to the Piksi's serial number.

Constructors

MsgNapDeviceDnaResp 

Fields

msgNapDeviceDnaResp_dna :: [Word8]

57-bit SwiftNAP FPGA Device ID. Remaining bits are padded on the right.