protob: add `state` field to Initialize and Features

pull/41/head
Pavol Rusnak 6 years ago
parent 8652df0c69
commit c7dcca60c7
No known key found for this signature in database
GPG Key ID: 91F3B339B9A02A3D

@ -108,6 +108,7 @@ enum MessageType {
* @next Features * @next Features
*/ */
message Initialize { message Initialize {
optional bytes state = 1; // assumed device state
} }
/** /**
@ -149,6 +150,7 @@ message Features {
optional uint32 fw_patch = 24; // reported firmware version if in bootloader mode optional uint32 fw_patch = 24; // reported firmware version if in bootloader mode
optional string fw_vendor = 25; // reported firmware vendor if in bootloader mode optional string fw_vendor = 25; // reported firmware vendor if in bootloader mode
optional bytes fw_vendor_keys = 26; // reported firmware vendor keys (their hash) optional bytes fw_vendor_keys = 26; // reported firmware vendor keys (their hash)
optional bytes state = 27; // current device state
} }
/** /**

Loading…
Cancel
Save