see software design for more information on these preferences
Sets the current of the battery charger
By default we turn off logging as soon as an API client connects (to keep shared serial link quiet). Set this to true to leave the debug log outputting even when API is active.
We'll always read the sensor in Celsius, but sometimes we might want to display the results in Farenheit as a "user preference".
Preferences for the EnvironmentalMeasurement Plugin FIXME - Move this out of UserPreferences and into a section for plugin configuration. Enable/Disable the environmental measurement plugin measurement collection
Sometimes sensor reads can fail. If this happens, we will retry a configurable number of attempts, each attempt will be delayed by the minimum required refresh rate for that sensor
Sometimes we can end up with more than read_error_count_threshold failures. In this case, we will stop trying to read from the sensor for a while. Wait this long until trying to read from the sensor again
Enable/Disable the environmental measurement plugin on-device display
Specify the peferred GPIO Pin for sensor readings
Specify the sensor type
Interval in seconds of how often we should try to send our measurements to the mesh
Preferences for the ExternalNotificationPlugin FIXME - Move this out of UserPreferences and into a section for plugin configuration.
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 preserved)
If set, this node is at a fixed position. We will generate GPS position updates at the regular interval, but use whatever the last lat/lon/alt we have for the node. The lat/lon/alt can be set by an internal GPS or with the help of the app.
This parameter is for advanced users with advanced test equipment, we do not recommend most users use it. A frequency offset that is added to to the calculated band center frequency. Used to correct for crystal calibration errors.
How long should we try to get our position during each gps_update_interval attempt? (in seconds) Or if zero, use the default of 30 seconds. If we don't get a new gps fix in that time, the gps will be put into sleep until the next gps_update_rate window.
How the GPS hardware in this unit is operated. Note: This is independent of how our location is shared with other devices. For that see LocationSharing
How often should we try to get GPS position (in seconds) when we are in GpsOpMobile mode? or zero for the default of once every 30 seconds or a very large value (maxint) to update only once at boot.
If true, radio should not try to be smart about what packets to queue to the phone bool keep_all_packets = 101; If true, we will try to capture all the packets sent on the mesh, not just the ones destined to our node. bool promiscuous_mode = 102; For testing it is useful sometimes to force a node to never listen to particular other nodes (simulating radio out of range). All nodenums listed in ignore_incoming will have packets they send droped on receive (by router.cpp)
If set, we are powered from a low-current source (i.e. solar), so even if it looks like we have power flowing in we should try to minimize power consumption as much as possible. YOU DO NOT NEED TO SET THIS IF YOU'VE set is_router (it is implied in that case).
Are we operating as a router. Changes behavior in the following ways: The device will only sleep for critically low battery level (i.e. always tries to stay alive for the mesh) In the future routing decisions will preferentially route packets through nodes with this attribute (because assumed good line of sight)
How our location is shared with other nodes (or the local phone)
Power management state machine option. See power management for details. 0 for default of 3600
Power management state machine option. See power management for details. 0 for default of 10 seconds
If a meshtastic node is able to reach the internet it will normally attempt to gateway any channels that are marked as is_uplink_enabled or is_downlink_enabled. But if this flag is set, all MQTT features will be disabled and no servers will be contacted.
The server to use for our MQTT global message gateway feature. If not set, the default server will be used
Power management state machine option. See power management for details. 0 for default of 15 minutes IMPORTANT NOTE FOR DEVICE CLIENTS: YOU MUST SEND SOME SORT OF PACKET TO THE PHONE AT LEAST THIS OFTEN OR THE DEVICE WILL DECIDE YOU ARE GONE!
We should send our position this often (but only if it has changed significantly) Defaults to 15 minutes
Preferences for the RangeTestPlugin FIXME - Move this out of UserPreferences and into a section for plugin configuration.
The region code for my radio (US, CN, EU433, etc...)
Power management state machine option. See power management for details. 0 for default of one minute
Power management state machine option. See power management for details. 0 for default of one year
Send our owner info at least this often (also we always send once at boot - to rejoin the mesh)
If set, this will disable the SerialConsole by not initilizing the StreamAPI
Preferences for the SerialPlugin FIXME - Move this out of UserPreferences and into a section for plugin configuration.
Preferences for the StoreForwardPlugin FIXME - Move this out of UserPreferences and into a section for plugin configuration. (was 136)
Power management state machine option. See power management for details. 0 for default of 1 minute
If set, the node will operate as an AP (and DHCP server), otherwise it will be a station
If set, will be use to authenticate to the named wifi
If set, this node will try to join the specified wifi network and acquire an address via DHCP
Generated using TypeDoc