mirror of
https://github.com/dalathegreat/Battery-Emulator.git
synced 2025-10-05 02:39:57 +02:00
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
This commit is contained in:
parent
224c33ec1d
commit
58af5b658b
2 changed files with 4 additions and 7 deletions
|
@ -52,10 +52,10 @@ TaskHandle_t mqtt_loop_task;
|
||||||
|
|
||||||
Logging logging;
|
Logging logging;
|
||||||
|
|
||||||
std::string mqtt_user; //TODO, move?
|
std::string mqtt_user; //TODO, move?
|
||||||
std::string mqtt_password; //TODO, move?
|
std::string mqtt_password; //TODO, move?
|
||||||
std::string http_username; //TODO, move?
|
std::string http_username; //TODO, move?
|
||||||
std::string http_password; //TODO, move?
|
std::string http_password; //TODO, move?
|
||||||
|
|
||||||
static std::list<Transmitter*> transmitters;
|
static std::list<Transmitter*> transmitters;
|
||||||
void register_transmitter(Transmitter* transmitter) {
|
void register_transmitter(Transmitter* transmitter) {
|
||||||
|
|
|
@ -20,7 +20,6 @@ volatile CAN_Configuration can_config = {
|
||||||
.shunt = CAN_NATIVE // (OPTIONAL) Which CAN is your shunt connected to?
|
.shunt = CAN_NATIVE // (OPTIONAL) Which CAN is your shunt connected to?
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
// Set your Static IP address. Only used incase WIFICONFIG is set in USER_SETTINGS.h
|
// Set your Static IP address. Only used incase WIFICONFIG is set in USER_SETTINGS.h
|
||||||
IPAddress local_IP(192, 168, 10, 150);
|
IPAddress local_IP(192, 168, 10, 150);
|
||||||
IPAddress gateway(192, 168, 10, 1);
|
IPAddress gateway(192, 168, 10, 1);
|
||||||
|
@ -32,10 +31,8 @@ std::string passwordAP;
|
||||||
|
|
||||||
const uint8_t wifi_channel = 0; // Set to 0 for automatic channel selection
|
const uint8_t wifi_channel = 0; // Set to 0 for automatic channel selection
|
||||||
|
|
||||||
|
|
||||||
// MQTT
|
// MQTT
|
||||||
|
|
||||||
|
|
||||||
const char* mqtt_topic_name =
|
const char* mqtt_topic_name =
|
||||||
"BE"; // Custom MQTT topic name. Previously, the name was automatically set to "battery-emulator_esp32-XXXXXX"
|
"BE"; // Custom MQTT topic name. Previously, the name was automatically set to "battery-emulator_esp32-XXXXXX"
|
||||||
const char* mqtt_object_id_prefix =
|
const char* mqtt_object_id_prefix =
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue