@@ -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,52 +528,50 @@ 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
/*
547
545
* After the nonce has been returned over the mesh, the client prompts for the security number
548
546
* And uses this message to provide it to the node.
549
547
*/
550
548
PROVIDE_SECURITY_NUMBER = 1 ;
551
-
552
- /*
553
- * Once the user has compared the verification message, this message notifies the node.
554
- */
549
+
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
-
562
559
}
563
560
564
561
MessageType message_type = 1 ;
565
562
566
- /*
567
- * The nodenum we're requesting
568
- */
563
+ /*
564
+ * The nodenum we're requesting
565
+ */
569
566
uint32 remote_nodenum = 2 ;
570
567
571
- /*
572
- * The nonce is used to track the connection
573
- */
568
+ /*
569
+ * The nonce is used to track the connection
570
+ */
574
571
uint64 nonce = 3 ;
575
572
576
- /*
577
- * The 4 digit code generated by the remote node, and communicated outside the mesh
578
- */
573
+ /*
574
+ * The 4 digit code generated by the remote node, and communicated outside the mesh
575
+ */
579
576
optional uint32 security_number = 4 ;
580
577
}
0 commit comments