Config rework start

pull/145/head
Sacha Weatherstone 2022-05-01 12:38:23 +10:00
rodzic a578453b3c
commit de602f29b7
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 7AB2D7E206124B31
1 zmienionych plików z 91 dodań i 0 usunięć

Wyświetl plik

@ -17,6 +17,92 @@ option java_outer_classname = "AdminProtos";
*/
message AdminMessage {
/*
* TODO: REPLACE
*/
enum RadioConfigType {
/*
* TODO: REPLACE
*/
ALL = 0;
/*
* TODO: REPLACE
*/
CORE_ONLY = 1;
/*
* TODO: REPLACE
*/
MODULE_ONLY = 2;
/*
* TODO: REPLACE
*/
DEVICE_CONFIG = 3;
/*
* TODO: REPLACE
*/
GPS_CONFIG = 4;
/*
* TODO: REPLACE
*/
POWER_CONFIG = 5;
/*
* TODO: REPLACE
*/
WIFI_CONFIG = 6;
/*
* TODO: REPLACE
*/
DISPLAY_CONFIG = 7;
/*
* TODO: REPLACE
*/
LORA_CONFIG = 8;
/*
* TODO: REPLACE
*/
MODULE_MQTT_CONFIG = 9;
/*
* TODO: REPLACE
*/
MODULE_SERIAL_CONFIG = 10;
/*
* TODO: REPLACE
*/
MODULE_EXTNOTIF_CONFIG = 11;
/*
* TODO: REPLACE
*/
MODULE_STOREFORWARD_CONFIG = 12;
/*
* TODO: REPLACE
*/
MODULE_RANGETEST_CONFIG = 13;
/*
* TODO: REPLACE
*/
MODULE_ENVIRONMENTAL_CONFIG = 14;
/*
* TODO: REPLACE
*/
MODULE_CANNEDMSG_CONFIG = 15;
}
/*
* TODO: REPLACE
*/
@ -72,6 +158,11 @@ message AdminMessage {
*/
User get_owner_response = 9;
/*
* Send the current RadioConfig in the response to this message.
*/
RadioConfigType get_config_request = 10;
/*
* Setting channels/radio config remotely carries the risk that you might send an invalid config and the radio never talks to your mesh again.
* Therefore if setting either of these properties remotely, you must send a confirm_xxx message within 10 minutes.