mirror of
https://github.com/meshtastic/protobufs.git
synced 2026-04-20 22:13:55 +00:00
Merge pull request #525 from meshtastic/file-manifest
Add FileInfo packet to FromRadio
This commit is contained in:
commit
a3030d5ff1
2 changed files with 22 additions and 0 deletions
|
|
@ -43,6 +43,8 @@
|
|||
*LogRecord.message max_size:64
|
||||
*LogRecord.source max_size:8
|
||||
|
||||
*FileInfo.file_name max_size:228
|
||||
|
||||
# MyMessage.name max_size:40
|
||||
# or fixed_length or fixed_count, or max_count
|
||||
|
||||
|
|
|
|||
|
|
@ -1459,9 +1459,29 @@ message FromRadio {
|
|||
* MQTT Client Proxy Message (device sending to client / phone for publishing to MQTT)
|
||||
*/
|
||||
MqttClientProxyMessage mqttClientProxyMessage = 14;
|
||||
|
||||
/*
|
||||
* File system manifest messages
|
||||
*/
|
||||
FileInfo fileInfo = 15;
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
* Individual File info for the device
|
||||
*/
|
||||
message FileInfo {
|
||||
/*
|
||||
* The fully qualified path of the file
|
||||
*/
|
||||
string file_name = 1;
|
||||
|
||||
/*
|
||||
* The size of the file in bytes
|
||||
*/
|
||||
uint32 size_bytes = 2;
|
||||
}
|
||||
|
||||
/*
|
||||
* Packets/commands to the radio will be written (reliably) to the toRadio characteristic.
|
||||
* Once the write completes the phone can assume it is handled.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue