PowerMon_State class
Any significant power changing event in meshtastic should be tagged with a powermon state transition. If you are making new meshtastic features feel free to add new entries at the end of this definition.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- name → String
-
This enum's name, as specified in the .proto file.
finalinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- value → int
-
This enum's integer value, as specified in the .proto file.
finalinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
Returns this enum's
name
or thevalue
if names are not represented.inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
valueOf(
int value) → PowerMon_State?
Constants
- BT_On → const PowerMon_State
- CPU_DeepSleep → const PowerMon_State
- CPU_LightSleep → const PowerMon_State
- GPS_Active → const PowerMon_State
- GPS is actively trying to find our location See GPSPowerState for more details
- LED_On → const PowerMon_State
- Lora_RXActive → const PowerMon_State
- Lora_RXOn → const PowerMon_State
- Lora_TXOn → const PowerMon_State
- None → const PowerMon_State
- Screen_Drawing → const PowerMon_State
- Screen_On → const PowerMon_State
-
values
→ const List<
PowerMon_State> - Vext1_On → const PowerMon_State
- The external Vext1 power is on. Many boards have auxillary power rails that the CPU turns on only occasionally. In cases where that rail has multiple devices on it we usually want to have logging on the state of that rail as an independent record. For instance on the Heltec Tracker 1.1 board, this rail is the power source for the GPS and screen.
- Wifi_On → const PowerMon_State