You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: meshtastic/admin.proto
+28-1Lines changed: 28 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -2,6 +2,7 @@ syntax = "proto3";
2
2
3
3
packagemeshtastic;
4
4
5
+
/* trunk-ignore(buf-lint/COMPILE) */
5
6
import"meshtastic/channel.proto";
6
7
import"meshtastic/config.proto";
7
8
import"meshtastic/connection_status.proto";
@@ -435,6 +436,11 @@ message AdminMessage {
435
436
*/
436
437
KeyVerificationAdminkey_verification=67;
437
438
439
+
/*
440
+
* Tell the node to reboot into OTA mode for firmware update via BLE or WiFi (ESP32 only for now)
441
+
*/
442
+
OTAModereboot_ota_mode=68;
443
+
438
444
/*
439
445
* Tell the node to factory reset config everything; all device state and configuration will be returned to factory defaults and BLE bonds will be cleared.
440
446
*/
@@ -443,8 +449,9 @@ message AdminMessage {
443
449
/*
444
450
* Tell the node to reboot into the OTA Firmware in this many seconds (or <0 to cancel reboot)
445
451
* Only Implemented for ESP32 Devices. This needs to be issued to send a new main firmware via bluetooth.
452
+
* Deprecated in favor of reboot_ota_mode in 2.7.17
446
453
*/
447
-
int32reboot_ota_seconds=95;
454
+
int32reboot_ota_seconds=95 [deprecated = true];
448
455
449
456
/*
450
457
* This message is only supported for the simulator Portduino build.
@@ -475,6 +482,26 @@ message AdminMessage {
475
482
}
476
483
}
477
484
485
+
/*
486
+
* Firmware update mode for OTA updates
487
+
*/
488
+
enumOTAMode {
489
+
/*
490
+
* Do not reboot into OTA mode
491
+
*/
492
+
NO_REBOOT_OTA=0;
493
+
494
+
/*
495
+
* Reboot into OTA mode for BLE firmware update
496
+
*/
497
+
OTA_BLE=1;
498
+
499
+
/*
500
+
* Reboot into OTA mode for WiFi firmware update
501
+
*/
502
+
OTA_WIFI=2;
503
+
}
504
+
478
505
/*
479
506
* Parameters for setting up Meshtastic for ameteur radio usage
0 commit comments