mirror of
https://github.com/dalathegreat/Battery-Emulator.git
synced 2025-10-04 10:19:29 +02:00
Changes after review comments
This commit is contained in:
parent
2cea5bd578
commit
c31c53e856
4 changed files with 15 additions and 14 deletions
|
@ -37,11 +37,7 @@
|
|||
#include <Arduino.h>
|
||||
#include "../../../USER_SETTINGS.h"
|
||||
|
||||
#define MSG_BUFFER_SIZE (1024)
|
||||
#define MQTT_SUBSCRIPTIONS \
|
||||
{ "my/topic/abc", "my/other/topic" }
|
||||
#define MQTT_SERVER "192.168.xxx.yyy"
|
||||
#define MQTT_PORT 1883
|
||||
#define MQTT_MSG_BUFFER_SIZE (1024)
|
||||
|
||||
extern uint16_t SOC;
|
||||
extern uint16_t StateOfHealth;
|
||||
|
@ -53,7 +49,7 @@ extern uint16_t cell_min_voltage; //mV, 0-4350
|
|||
extern const char* mqtt_user;
|
||||
extern const char* mqtt_password;
|
||||
|
||||
extern char mqtt_msg[MSG_BUFFER_SIZE];
|
||||
extern char mqtt_msg[MQTT_MSG_BUFFER_SIZE];
|
||||
|
||||
void init_mqtt(void);
|
||||
void mqtt_loop(void);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue