An update the server offered.
More...
#include <sota_protocol.h>
|
|
char * | url |
| | Caller's buffer: pre-signed URLs run to 1.5 KB.
|
| |
|
size_t | url_cap |
| | Size of the url buffer.
|
| |
|
char | checksum [64u+1] |
| | sha256 hex, lowercased
|
| |
|
char | deployment [64] |
| | Empty when the server sent none.
|
| |
|
char | version [64u+1] |
| | Empty when absent or too long.
|
| |
|
char | key_id [64u+1] |
| | signing_key_id, empty when absent or empty.
|
| |
|
uint32_t | build |
| | The build number SimpleOTA assigned.
|
| |
|
uint32_t | size |
| | 0 when the server sent none.
|
| |
|
bool | signed_offer |
| | security_mode is "signed".
|
| |
|
bool | has_signature |
| | signature decoded to 64 ed25519 bytes.
|
| |
|
uint8_t | signature [64] |
| | The raw signature, when has_signature.
|
| |
|
bool | has_manifest |
| | manifest_signature decoded, and its version is one this client checks.
|
| |
|
uint8_t | manifest_sig [64] |
| | The raw signature, when has_manifest.
|
| |
An update the server offered.
The documentation for this struct was generated from the following file: