kopia lustrzana https://github.com/meshtastic/Meshtastic-Android
update protobufs
rodzic
eb6ad01c4f
commit
11ce60eb6d
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Ładowanie…
Reference in New Issue