kopia lustrzana https://github.com/meshtastic/protobufs
rodzic
d0fe91ab99
commit
d55be9e855
|
@ -3,6 +3,8 @@
|
|||
|
||||
*macaddr max_size:6 fixed_length:true # macaddrs
|
||||
*id max_size:16 # node id strings
|
||||
*public_key max_size:32 # public key
|
||||
*private_key max_size:32 # private key
|
||||
|
||||
*User.long_name max_size:40
|
||||
*User.short_name max_size:5
|
||||
|
|
|
@ -665,6 +665,12 @@ message User {
|
|||
* Indicates that the user's role in the mesh
|
||||
*/
|
||||
Config.DeviceConfig.Role role = 7;
|
||||
|
||||
/*
|
||||
* The public key of the user's device.
|
||||
* This is sent out to other nodes on the mesh to allow them to compute a shared secret key.
|
||||
*/
|
||||
bytes public_key = 8;
|
||||
}
|
||||
|
||||
/*
|
||||
|
@ -1329,6 +1335,12 @@ message MyNodeInfo {
|
|||
* Phone/PC apps should compare this to their build number and if too low tell the user they must update their app
|
||||
*/
|
||||
uint32 min_app_version = 11;
|
||||
|
||||
/*
|
||||
* The private key of the device.
|
||||
* This is used to create a shared key with a remote device.
|
||||
*/
|
||||
bytes private_key = 12;
|
||||
}
|
||||
|
||||
/*
|
||||
|
|
Ładowanie…
Reference in New Issue