mirror of
https://github.com/meshtastic/protobufs.git
synced 2026-04-20 22:13:55 +00:00
Added AdminMessage.ota_hash to verify OTA data
This commit is contained in:
parent
c474fd3f49
commit
c39b564ca6
2 changed files with 7 additions and 0 deletions
|
|
@ -1,6 +1,7 @@
|
|||
*AdminMessage.payload_variant anonymous_oneof:true
|
||||
|
||||
*AdminMessage.session_passkey max_size:8
|
||||
*AdminMessage.ota_hash max_size:32
|
||||
|
||||
*AdminMessage.InputEvent.event_code int_size:8
|
||||
*AdminMessage.InputEvent.kb_char int_size:8
|
||||
|
|
|
|||
|
|
@ -479,6 +479,12 @@ message AdminMessage {
|
|||
* When true, favorites are preserved through reset.
|
||||
*/
|
||||
bool nodedb_reset = 100;
|
||||
|
||||
/*
|
||||
* A 32 byte hash of the OTA firmware.
|
||||
* Used to verify the integrity of the firmware before applying an update.
|
||||
*/
|
||||
bytes ota_hash = 102;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue