working begin routine

This commit is contained in:
Siwat Sirichai 2024-01-15 15:19:49 +07:00
parent 05236797c2
commit fdf32d8503
8 changed files with 510 additions and 415 deletions

View file

@ -6,7 +6,7 @@
// #define FRAM_DEBUG
// #define MQTT_DEBUG
// #define WRITE_DEFAULT_NETCONF
#define WRITE_DEFAULT_NETCONF
#define CLIMATE_CARD_ENABLE
#define MQTT_CARD_REGISTER
#define DISPLAY_ENABLE
@ -100,8 +100,8 @@ void mqtt_callback(char *topic, char *payload)
void setNetworkConfig()
{
NetworkConfig config = {
.ip = {10, 16, 6, 213},
.gateway = {10, 16, 6, 1},
.ip = {192, 168, 0, 10},
.gateway = {192, 168, 0, 1},
.subnet = {255, 255, 255, 0},
.dns1 = {10, 192, 1, 1},
.dns2 = {10, 192, 1, 1},