update protobufs

pull/8/head
geeksville 2020-02-08 10:28:20 -08:00
rodzic eb6ad01c4f
commit 11ce60eb6d
2 zmienionych plików z 23 dodań i 4 usunięć

Wyświetl plik

@ -11,8 +11,8 @@
*DeviceState.node_db max_count:32
*DeviceState.receive_queue max_count:32
# FIXME, something more like 200? And do fragmentation and reassembly (for larger payloads) at the Android layer, not the esp32 layer.
*Data.payload max_size:100
# FIXME, max out based on total SubPacket size And do fragmentation and reassembly (for larger payloads) at the Android layer, not the esp32 layer.
*Data.payload max_size:200
# 256 bit psk key
*RadioConfig.psk max_size:32

Wyświetl plik

@ -241,10 +241,29 @@ message DeviceState {
/// Tells the phone what our node number is, can be -1 if we've not yet joined a mesh.
MyNodeInfo my_node = 2;
repeated NodeInfo node_db = 3;
/// My owner info
User owner = 3;
repeated NodeInfo node_db = 4;
/// Received packets saved for delivery to the phone
repeated MeshPacket receive_queue = 4;
repeated MeshPacket receive_queue = 5;
enum Version {
option allow_alias = true;
/// default value for old files before we added version.
Unset = 0;
/// We bump up the integer values in this enum to indicate minimum levels of encodings for saved files
/// if your file is below the Minimum you should discard it.
Minimum = 1;
/// The current value we are using for saved files
Current = 1;
};
Version version = 6;
}
// packets from the radio to the phone will appear on the fromRadio characteristic. It will support