kopia lustrzana https://github.com/meshtastic/protobufs
Add `hopStart` (original hopLimit of a packet) to MeshPacket
rodzic
5f28be497a
commit
c0c413bc8d
|
@ -26,6 +26,7 @@
|
||||||
*MeshPacket.encrypted max_size:256
|
*MeshPacket.encrypted max_size:256
|
||||||
*MeshPacket.payload_variant anonymous_oneof:true
|
*MeshPacket.payload_variant anonymous_oneof:true
|
||||||
*MeshPacket.hop_limit int_size:8
|
*MeshPacket.hop_limit int_size:8
|
||||||
|
*MeshPacket.hop_start int_size:8
|
||||||
*MeshPacket.channel int_size:8
|
*MeshPacket.channel int_size:8
|
||||||
|
|
||||||
*QueueStatus.res int_size:8
|
*QueueStatus.res int_size:8
|
||||||
|
|
|
@ -1003,6 +1003,12 @@ message MeshPacket {
|
||||||
* Describes whether this packet passed via MQTT somewhere along the path it currently took.
|
* Describes whether this packet passed via MQTT somewhere along the path it currently took.
|
||||||
*/
|
*/
|
||||||
bool via_mqtt = 14;
|
bool via_mqtt = 14;
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Hop limit with which the original packet started. Sent via LoRa using three bits in the unencrypted header.
|
||||||
|
* When receiving a packet, the difference between hop_start and hop_limit gives how many hops it traveled.
|
||||||
|
*/
|
||||||
|
uint32 hop_start = 15;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
@ -1539,5 +1545,4 @@ message DeviceMetadata {
|
||||||
* Has Remote Hardware enabled
|
* Has Remote Hardware enabled
|
||||||
*/
|
*/
|
||||||
bool hasRemoteHardware = 10;
|
bool hasRemoteHardware = 10;
|
||||||
}
|
}
|
||||||
|
|
Ładowanie…
Reference in New Issue