add warning about is_router

This commit is contained in:
Kevin Hester
2020-12-21 14:46:52 +08:00
parent 0addac6ebe
commit 020d2093f0
3 changed files with 12 additions and 1 deletions

View File

@@ -35,6 +35,12 @@ Setting preference wait_bluetooth_secs to 28800
Writing modified preferences to device...
```
Or to set a node at a fixed position and never power up the GPS.
```
meshtastic --setlat 25.2 --setlon -16.8 --setalt 120
```
Or to configure an ESP32 based board to join a wifi network as a station (wifi support in the device code is coming soon):
```

View File

@@ -82,7 +82,12 @@ def setRouter(interface, on):
prefs = interface.radioConfig.preferences
if on:
print("Setting router mode")
prefs.is_router = True
# FIXME as of 1.1.24 of the device code, the following is all deprecated. After that release
# has been out a while, just set is_router and warn the user about deprecation
#
prefs.is_low_power = True
prefs.gps_operation = mesh_pb2.GpsOpMobile

2
proto

Submodule proto updated: 020ef9eea8...3c06a5962b