Add persistent T-Beam charge voltage controls and report Mesh Solar limits
This commit is contained in:
1 parent
3177ccfafa
commit
613d9d7c43
15 files changed
+1275
-9
No files matched your search
@@ -1,4 +1,5 @@
|
||||
#include <helpers/RadioProfileCLI.h>
|
||||
#include <helpers/BatteryChargeCLI.h>
|
||||
#include <Arduino.h> // needed for PlatformIO
|
||||
#include <Mesh.h>
|
||||
#if MESH_PACKET_LOGGING
|
||||
@@ -468,6 +469,12 @@ public:
|
||||
}
|
||||
|
||||
void handleCommand(const char* command) {
|
||||
char charge_reply[160];
|
||||
if (mesh::power::handleBatteryChargeCommand(board, command, charge_reply,
|
||||
sizeof(charge_reply))) {
|
||||
Serial.println(charge_reply);
|
||||
return;
|
||||
}
|
||||
#if defined(NRF52_POWER_MANAGEMENT)
|
||||
char voltage_reply[160];
|
||||
if (mesh::power::handleVoltagePolicyCommand(command, voltage_reply,
|
||||
|
||||
Reference in new issue
Block a user