diff --git a/meshtastic/mesh.options b/meshtastic/mesh.options index 6dcd248..1ae14d6 100644 --- a/meshtastic/mesh.options +++ b/meshtastic/mesh.options @@ -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 diff --git a/meshtastic/mesh.proto b/meshtastic/mesh.proto index bfefd00..bb12854 100644 --- a/meshtastic/mesh.proto +++ b/meshtastic/mesh.proto @@ -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.