Copyright | Copyright (C) 2015-2021 Swift Navigation Inc. |
---|---|
License | MIT |
Stability | experimental |
Portability | portable |
Safe Haskell | Safe-Inferred |
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
FromJSON MsgBootloaderHandshakeReq Source # | |
Defined in SwiftNav.SBP.Bootload | |
ToJSON 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 # | |
Binary MsgBootloaderHandshakeReq Source # | |
Defined in SwiftNav.SBP.Bootload put :: MsgBootloaderHandshakeReq -> Put # get :: Get MsgBootloaderHandshakeReq # putList :: [MsgBootloaderHandshakeReq] -> Put # | |
Eq MsgBootloaderHandshakeReq Source # | |
Defined in SwiftNav.SBP.Bootload | |
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
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
FromJSON MsgBootloaderJumpToApp Source # | |
Defined in SwiftNav.SBP.Bootload | |
ToJSON MsgBootloaderJumpToApp Source # | |
Defined in SwiftNav.SBP.Bootload toJSON :: MsgBootloaderJumpToApp -> Value # toEncoding :: MsgBootloaderJumpToApp -> Encoding # toJSONList :: [MsgBootloaderJumpToApp] -> Value # toEncodingList :: [MsgBootloaderJumpToApp] -> Encoding # omitField :: MsgBootloaderJumpToApp -> Bool # | |
Read MsgBootloaderJumpToApp Source # | |
Show MsgBootloaderJumpToApp Source # | |
Defined in SwiftNav.SBP.Bootload showsPrec :: Int -> MsgBootloaderJumpToApp -> ShowS # show :: MsgBootloaderJumpToApp -> String # showList :: [MsgBootloaderJumpToApp] -> ShowS # | |
Binary MsgBootloaderJumpToApp Source # | |
Defined in SwiftNav.SBP.Bootload put :: MsgBootloaderJumpToApp -> Put # get :: Get MsgBootloaderJumpToApp # putList :: [MsgBootloaderJumpToApp] -> Put # | |
Eq MsgBootloaderJumpToApp Source # | |
Defined in SwiftNav.SBP.Bootload | |
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 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.
MsgNapDeviceDnaResp | |
|
Instances
data MsgBootloaderHandshakeDepA Source #
SBP class for message MSG_BOOTLOADER_HANDSHAKE_DEP_A (0x00B0).
Deprecated.
MsgBootloaderHandshakeDepA | |
|