Hi,
Using Arduino IDE - Compiling the MQTT Gateway with debug enabled (INFO or DEBUG) fails
\EnigmaIOT\src\GatewayAPI.cpp:122:73: error: the address of 'addr' will always evaluate as 'true' [-Werror=address]
DEBUG_INFO ("Node to process is %s", addr ? p->value ().c_str () : "NULL");
Hack - Commented out L122
EnigmaIOT\src\EnigmaIOTNode.cpp:2247:46: error: 'numBytes' was not declared in this scope
DEBUG_INFO ("%u bytes written. Total %u", numBytes, totalBytes);
if DEBUG_LEVEL >= INFO
size_t numBytes =
endif
set numBytes = 0; Moved #endif to end of block
compiled OK, running, going to add a node next
WiFi setup process is very nice
Geoffrey Mills
Hi, Using Arduino IDE - Compiling the MQTT Gateway with debug enabled (INFO or DEBUG) fails
\EnigmaIOT\src\GatewayAPI.cpp:122:73: error: the address of 'addr' will always evaluate as 'true' [-Werror=address] DEBUG_INFO ("Node to process is %s", addr ? p->value ().c_str () : "NULL");
Hack - Commented out L122
EnigmaIOT\src\EnigmaIOTNode.cpp:2247:46: error: 'numBytes' was not declared in this scope DEBUG_INFO ("%u bytes written. Total %u", numBytes, totalBytes);
if DEBUG_LEVEL >= INFO
endif
set numBytes = 0; Moved #endif to end of block
compiled OK, running, going to add a node next WiFi setup process is very nice Geoffrey Mills