kopia lustrzana https://github.com/meshtastic/protobufs
Add initial protobufs for XEdDSA
rodzic
e2c0831aa3
commit
c7c99efb0d
|
@ -19,6 +19,7 @@
|
|||
# outside of this envelope
|
||||
*Data.payload max_size:233
|
||||
*Data.bitfield int_size:8
|
||||
*Data.xeddsa_signature max_size:64
|
||||
|
||||
*NodeInfo.channel int_size:8
|
||||
*NodeInfo.hops_away int_size:8
|
||||
|
@ -89,4 +90,4 @@
|
|||
|
||||
*ChunkedPayload.chunk_count int_size:16
|
||||
*ChunkedPayload.chunk_index int_size:16
|
||||
*ChunkedPayload.payload_chunk max_size:228
|
||||
*ChunkedPayload.payload_chunk max_size:228
|
||||
|
|
|
@ -1071,6 +1071,11 @@ message Data {
|
|||
* Bitfield for extra flags. First use is to indicate that user approves the packet being uploaded to MQTT.
|
||||
*/
|
||||
optional uint32 bitfield = 9;
|
||||
|
||||
/*
|
||||
* XEdDSA signature for the payload
|
||||
*/
|
||||
optional bytes xeddsa_signature = 10;
|
||||
}
|
||||
|
||||
/*
|
||||
|
@ -1469,6 +1474,11 @@ message MeshPacket {
|
|||
* Indicates which transport mechanism this packet arrived over
|
||||
*/
|
||||
TransportMechanism transport_mechanism = 21;
|
||||
|
||||
/*
|
||||
* Indicates whether the packet has a valid signature
|
||||
*/
|
||||
bool xeddsa_signed = 22;
|
||||
}
|
||||
|
||||
/*
|
||||
|
|
Ładowanie…
Reference in New Issue