add router mode

pull/3/head
Kevin Hester 2020-10-06 10:28:42 +08:00
rodzic aa018c38de
commit 82d4496563
1 zmienionych plików z 14 dodań i 8 usunięć

Wyświetl plik

@ -541,14 +541,14 @@ message RadioConfig {
uint32 num_missed_to_fail = 3;
/// see sw-design.md
uint32 wait_bluetooth_secs = 4;
uint32 screen_on_secs = 5;
uint32 phone_timeout_secs = 6;
uint32 phone_sds_timeout_sec = 7;
uint32 mesh_sds_timeout_secs = 8;
uint32 sds_secs = 9;
uint32 ls_secs = 10;
uint32 min_wake_secs = 11;
uint32 wait_bluetooth_secs = 4; // 0 for default of 2 minutes
uint32 screen_on_secs = 5; // 0 for default of one minute
uint32 phone_timeout_secs = 6; // 0 for default of 15 minutes
uint32 phone_sds_timeout_sec = 7; // 0 for default of two hours, MAXUINT for disabled
uint32 mesh_sds_timeout_secs = 8; // 0 for default of two hours, MAXUINT for disabled
uint32 sds_secs = 9; // 0 for default of one year
uint32 ls_secs = 10; // 0 for default of 3600
uint32 min_wake_secs = 11; // 0 for default of 10 seconds
/** If set, this node will try to join the specified wifi network and
* acquire an address via DHCP */
@ -579,6 +579,12 @@ message RadioConfig {
*/
uint32 gps_attempt_time = 36;
/**
Are we operating as a router. Changes behavior in the following ways:
FIXME
*/
bool is_router = 37;
/**
This setting is never saved to disk, but if set, all device settings will be
returned to factory defaults. (Region, serial number etc... will be