SimpleOTA client v1.0.0
Shared core of the SimpleOTA Arduino and ESP-IDF clients
Loading...
Searching...
No Matches
sota_offer_t Struct Reference

An update the server offered. More...

#include <sota_protocol.h>

Data Fields

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 [64]
 signing_key_id, empty when absent.
 
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.
 

Detailed Description

An update the server offered.


The documentation for this struct was generated from the following file: