working begin routine
This commit is contained in:
parent
05236797c2
commit
fdf32d8503
8 changed files with 510 additions and 415 deletions
|
@ -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},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue