@@ -5,9 +5,9 @@ package meshtastic;
5
5
import "meshtastic/channel.proto" ;
6
6
import "meshtastic/config.proto" ;
7
7
import "meshtastic/connection_status.proto" ;
8
+ import "meshtastic/device_ui.proto" ;
8
9
import "meshtastic/mesh.proto" ;
9
10
import "meshtastic/module_config.proto" ;
10
- import "meshtastic/device_ui.proto" ;
11
11
12
12
option csharp_namespace = "Meshtastic.Protobufs" ;
13
13
option go_package = "github.com/meshtastic/go/generated" ;
@@ -21,7 +21,6 @@ option swift_prefix = "";
21
21
* (Prior to 1.2 these operations were done via special ToRadio operations)
22
22
*/
23
23
message AdminMessage {
24
-
25
24
/*
26
25
* The node generates this key and sends it with any get_x_response packets.
27
26
* The client MUST include the same key with any set_x commands. Key expires after 300 seconds.
@@ -529,18 +528,17 @@ message SharedContact {
529
528
bool should_ignore = 3 ;
530
529
}
531
530
532
- /*
533
- * This message is used by a client to initiate or complete a key verification
534
- */
531
+ /*
532
+ * This message is used by a client to initiate or complete a key verification
533
+ */
535
534
message KeyVerificationAdmin {
536
535
/*
537
536
* Three stages of this request.
538
537
*/
539
538
enum MessageType {
540
-
541
539
/*
542
- * This is the first stage, where a client initiates
543
- */
540
+ * This is the first stage, where a client initiates
541
+ */
544
542
INITIATE_VERIFICATION = 0 ;
545
543
546
544
/*
@@ -549,32 +547,32 @@ message KeyVerificationAdmin {
549
547
*/
550
548
PROVIDE_SECURITY_NUMBER = 1 ;
551
549
552
- /*
553
- * Once the user has compared the verification message, this message notifies the node.
554
- */
550
+ /*
551
+ * Once the user has compared the verification message, this message notifies the node.
552
+ */
555
553
DO_VERIFY = 2 ;
556
554
557
- /*
558
- * This is the cancel path, can be taken at any point
559
- */
555
+ /*
556
+ * This is the cancel path, can be taken at any point
557
+ */
560
558
DO_NOT_VERIFY = 3 ;
561
559
562
560
}
563
561
564
562
MessageType message_type = 1 ;
565
563
566
- /*
567
- * The nodenum we're requesting
568
- */
564
+ /*
565
+ * The nodenum we're requesting
566
+ */
569
567
uint32 remote_nodenum = 2 ;
570
568
571
- /*
572
- * The nonce is used to track the connection
573
- */
569
+ /*
570
+ * The nonce is used to track the connection
571
+ */
574
572
uint64 nonce = 3 ;
575
573
576
- /*
577
- * The 4 digit code generated by the remote node, and communicated outside the mesh
578
- */
574
+ /*
575
+ * The 4 digit code generated by the remote node, and communicated outside the mesh
576
+ */
579
577
optional uint32 security_number = 4 ;
580
578
}
0 commit comments