diff --git a/meshtastic/admin.options b/meshtastic/admin.options index 4a28ff2..d20a1a2 100644 --- a/meshtastic/admin.options +++ b/meshtastic/admin.options @@ -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 diff --git a/meshtastic/admin.proto b/meshtastic/admin.proto index 396f6e0..5520446 100644 --- a/meshtastic/admin.proto +++ b/meshtastic/admin.proto @@ -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; } }