MQTT client testing is OK

This commit is contained in:
maxxir_w
2019-04-06 12:47:19 +04:00
parent 36c836d1b7
commit 10d09c2e94
25 changed files with 3194 additions and 37 deletions

View File

@@ -14,6 +14,8 @@ wiz_NetInfo netInfo = { .mac = {0x00, 0x08, 0xdc, 0xab, 0xcd, 0xef}, // Mac add
.dns = {8,8,8,8}, // DNS address (google dns)
.gw = {192, 168, 0, 1}, // Gateway address
.dhcp = NETINFO_STATIC}; //Static IP configuration
uint8_t MQTT_targetIP[4] = {192, 168, 0, 100}; // IP брокера MQTT
#else
//NIC metrics for another PC (second IP configuration)
wiz_NetInfo netInfo = { .mac = {0x00, 0x08, 0xdc, 0xab, 0xcd, 0xef}, // Mac address
@@ -22,5 +24,6 @@ wiz_NetInfo netInfo = { .mac = {0x00, 0x08, 0xdc, 0xab, 0xcd, 0xef}, // Mac add
.dns = {8,8,8,8}, // DNS address (google dns)
.gw = {192, 168, 1, 1}, // Gateway address
.dhcp = NETINFO_STATIC}; //Static IP configuration
uint8_t MQTT_targetIP[4] = {192, 168, 1, 81}; // IP брокера MQTT
#endif