kopia lustrzana https://github.com/meshtastic/protobufs
Merge pull request #525 from meshtastic/file-manifest
Add FileInfo packet to FromRadiopull/526/head
commit
a3030d5ff1
|
@ -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.
|
||||
|
|
Ładowanie…
Reference in New Issue