Copyright | Copyright (C) 2015-2018 Swift Navigation Inc. |
---|---|
License | MIT |
Stability | experimental |
Portability | portable |
Safe Haskell | None |
Language | Haskell2010 |
< Messages for the bootloading configuration of a Piksi 2.3.1. This message group does not apply to Piksi Multi.
Note that some of these messages share the same message type ID for both the host request and the device response. >
Synopsis
- data MsgBootloaderHandshakeReq = MsgBootloaderHandshakeReq
- msgBootloaderHandshakeReq :: Word16
- data MsgBootloaderHandshakeResp = MsgBootloaderHandshakeResp {}
- msgBootloaderHandshakeResp :: Word16
- data MsgBootloaderJumpToApp = MsgBootloaderJumpToApp {}
- msgBootloaderHandshakeResp_flags :: Lens' MsgBootloaderHandshakeResp Word32
- msgBootloaderHandshakeResp_version :: Lens' MsgBootloaderHandshakeResp Text
- msgBootloaderJumpToApp :: Word16
- data MsgNapDeviceDnaReq = MsgNapDeviceDnaReq
- msgBootloaderJumpToApp_jump :: Iso' MsgBootloaderJumpToApp Word8
- msgNapDeviceDnaReq :: Word16
- data MsgNapDeviceDnaResp = MsgNapDeviceDnaResp {}
- msgNapDeviceDnaResp :: Word16
- data MsgBootloaderHandshakeDepA = MsgBootloaderHandshakeDepA {}
- msgNapDeviceDnaResp_dna :: Iso' MsgNapDeviceDnaResp [Word8]
- msgBootloaderHandshakeDepA :: Word16
- msgBootloaderHandshakeDepA_handshake :: Iso' MsgBootloaderHandshakeDepA [Word8]
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.
Instances
Eq MsgBootloaderHandshakeReq Source # | |
Defined in SwiftNav.SBP.Bootload | |
Read MsgBootloaderHandshakeReq Source # | |
Show MsgBootloaderHandshakeReq Source # | |
Defined in SwiftNav.SBP.Bootload showsPrec :: Int -> MsgBootloaderHandshakeReq -> ShowS # show :: MsgBootloaderHandshakeReq -> String # showList :: [MsgBootloaderHandshakeReq] -> ShowS # | |
ToJSON MsgBootloaderHandshakeReq Source # | |
Defined in SwiftNav.SBP.Bootload | |
FromJSON MsgBootloaderHandshakeReq Source # | |
Defined in SwiftNav.SBP.Bootload | |
Binary MsgBootloaderHandshakeReq Source # | |
Defined in SwiftNav.SBP.Bootload put :: MsgBootloaderHandshakeReq -> Put # get :: Get MsgBootloaderHandshakeReq # putList :: [MsgBootloaderHandshakeReq] -> Put # | |
ToSBP MsgBootloaderHandshakeReq Source # | |
Defined in SwiftNav.SBP.Bootload |
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.
MsgBootloaderHandshakeResp | |
|
Instances
Eq MsgBootloaderHandshakeResp Source # | |
Defined in SwiftNav.SBP.Bootload | |
Read MsgBootloaderHandshakeResp Source # | |
Show MsgBootloaderHandshakeResp Source # | |
Defined in SwiftNav.SBP.Bootload showsPrec :: Int -> MsgBootloaderHandshakeResp -> ShowS # show :: MsgBootloaderHandshakeResp -> String # showList :: [MsgBootloaderHandshakeResp] -> ShowS # | |
ToJSON MsgBootloaderHandshakeResp Source # | |
Defined in SwiftNav.SBP.Bootload | |
FromJSON MsgBootloaderHandshakeResp Source # | |
Defined in SwiftNav.SBP.Bootload | |
Binary MsgBootloaderHandshakeResp Source # | |
Defined in SwiftNav.SBP.Bootload put :: MsgBootloaderHandshakeResp -> Put # get :: Get MsgBootloaderHandshakeResp # putList :: [MsgBootloaderHandshakeResp] -> Put # | |
ToSBP MsgBootloaderHandshakeResp Source # | |
Defined in SwiftNav.SBP.Bootload |
data MsgBootloaderJumpToApp Source #
SBP class for message MSG_BOOTLOADER_JUMP_TO_APP (0x00B1).
The host initiates the bootloader to jump to the application.
MsgBootloaderJumpToApp | |
|
Instances
Eq MsgBootloaderJumpToApp Source # | |
Defined in SwiftNav.SBP.Bootload | |
Read MsgBootloaderJumpToApp Source # | |
Show MsgBootloaderJumpToApp Source # | |
Defined in SwiftNav.SBP.Bootload showsPrec :: Int -> MsgBootloaderJumpToApp -> ShowS # show :: MsgBootloaderJumpToApp -> String # showList :: [MsgBootloaderJumpToApp] -> ShowS # | |
ToJSON MsgBootloaderJumpToApp Source # | |
Defined in SwiftNav.SBP.Bootload toJSON :: MsgBootloaderJumpToApp -> Value # toEncoding :: MsgBootloaderJumpToApp -> Encoding # toJSONList :: [MsgBootloaderJumpToApp] -> Value # | |
FromJSON MsgBootloaderJumpToApp Source # | |
Defined in SwiftNav.SBP.Bootload | |
Binary MsgBootloaderJumpToApp Source # | |
Defined in SwiftNav.SBP.Bootload put :: MsgBootloaderJumpToApp -> Put # get :: Get MsgBootloaderJumpToApp # putList :: [MsgBootloaderJumpToApp] -> Put # | |
ToSBP MsgBootloaderJumpToApp Source # | |
Defined in SwiftNav.SBP.Bootload |
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.
Instances
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.
MsgNapDeviceDnaResp | |
|
Instances
data MsgBootloaderHandshakeDepA Source #
SBP class for message MSG_BOOTLOADER_HANDSHAKE_DEP_A (0x00B0).
Deprecated.
MsgBootloaderHandshakeDepA | |
|
Instances
Eq MsgBootloaderHandshakeDepA Source # | |
Defined in SwiftNav.SBP.Bootload | |
Read MsgBootloaderHandshakeDepA Source # | |
Show MsgBootloaderHandshakeDepA Source # | |
Defined in SwiftNav.SBP.Bootload showsPrec :: Int -> MsgBootloaderHandshakeDepA -> ShowS # show :: MsgBootloaderHandshakeDepA -> String # showList :: [MsgBootloaderHandshakeDepA] -> ShowS # | |
ToJSON MsgBootloaderHandshakeDepA Source # | |
Defined in SwiftNav.SBP.Bootload | |
FromJSON MsgBootloaderHandshakeDepA Source # | |
Defined in SwiftNav.SBP.Bootload | |
Binary MsgBootloaderHandshakeDepA Source # | |
Defined in SwiftNav.SBP.Bootload put :: MsgBootloaderHandshakeDepA -> Put # get :: Get MsgBootloaderHandshakeDepA # putList :: [MsgBootloaderHandshakeDepA] -> Put # | |
ToSBP MsgBootloaderHandshakeDepA Source # | |
Defined in SwiftNav.SBP.Bootload |