kopia lustrzana https://github.com/meshtastic/protobufs
rodzic
a3242bd0b4
commit
e9b83744e2
|
@ -3,6 +3,8 @@
|
||||||
|
|
||||||
*macaddr max_size:6 fixed_length:true # macaddrs
|
*macaddr max_size:6 fixed_length:true # macaddrs
|
||||||
*id max_size:16 # node id strings
|
*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.long_name max_size:40
|
||||||
*User.short_name max_size:5
|
*User.short_name max_size:5
|
||||||
|
|
|
@ -681,6 +681,12 @@ message User {
|
||||||
* Indicates that the user's role in the mesh
|
* Indicates that the user's role in the mesh
|
||||||
*/
|
*/
|
||||||
Config.DeviceConfig.Role role = 7;
|
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;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
@ -1345,6 +1351,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
|
* 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;
|
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