Wifi managers improvements (#503)
* Add parameters to wifi manager: gateway name and base topic Enable to restart the ESP and erase the parameters by MQTT
This commit is contained in:
1 parent
a05fd01505
commit
4b1f09b06b
41 files changed
+308
-196
No files matched your search
+3
-3
@@ -32,9 +32,9 @@ extern void MQTTto2G(char * topicOri, char * datacallback);
|
||||
extern void MQTTto2G(char * topicOri, JsonObject& SMSdata);
|
||||
/*-------------------2G topics & parameters----------------------*/
|
||||
//433Mhz MQTT Subjects and keys
|
||||
#define subjectMQTTto2G Base_Topic Gateway_Name "/commands/MQTTto2G"
|
||||
#define subject2GtoMQTT Base_Topic Gateway_Name "/2GtoMQTT"
|
||||
#define subjectGTW2GtoMQTT Base_Topic Gateway_Name "/2GtoMQTT"
|
||||
#define subjectMQTTto2G "/commands/MQTTto2G"
|
||||
#define subject2GtoMQTT "/2GtoMQTT"
|
||||
#define subjectGTW2GtoMQTT "/2GtoMQTT"
|
||||
#define _2GPhoneKey "PHO_" // phone number define the phone number to send the SMS MQTT->2G
|
||||
|
||||
#define _2G_MODULE_BAUDRATE 9600
|
||||
|
||||
Reference in new issue
Block a user