Refactor MQTT and WiFi credentials to separate header files
This commit is contained in:
@@ -4,6 +4,9 @@
|
||||
#include <WiFi.h>
|
||||
#include <PubSubClient.h>
|
||||
|
||||
#define USER "contaminus"
|
||||
#define MQTT_PASSWORD "contaminus"
|
||||
|
||||
void MQTT_OnReceived(char *topic, byte *payload, unsigned int length);
|
||||
void MQTT_Init(const char *MQTTServerAddress, uint16_t MQTTServerPort);
|
||||
void MQTT_Connect(const char *MQTTClientName);
|
||||
|
||||
Reference in New Issue
Block a user