Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Encoder ¶
type Encoder struct {
// contains filtered or unexported fields
}
Encoder writes a binary to an output stream in the ota format.
func NewEncoder ¶
NewEncoder creates a new ota encoder.
type Version ¶
type Version struct { HeaderVersion uint8 Compression bool Signature bool Spare uint8 PayloadTarget uint8 PayloadMayor uint8 PayloadMinor uint8 PayloadPatch uint8 PayloadBuildNum uint32 }
Version contains all the OTA header information Check out https://arduino.atlassian.net/wiki/spaces/RFC/pages/1616871540/OTA+header+structure for more information on the OTA header specs.
Click to show internal directories.
Click to hide internal directories.