Closed bekaxe closed 1 year ago
Hi, I managed to install on ESP32 using VS code with platformio extension. I only had to add secrets.h in src folder (defining WIFI_SSID, WIFI_PASS, MQTT_USER, MQTT_PASS, MQTT_PREFIX "comfoair", MQTT_HOST and MQTT_PORT). After that I had to add the lib "knolleary/PubSubClient@^2.8" under lib_deps in platformio.ini file.
I'm not sure if this is the best way to set everything up, but it worked for me, hope this helps you.
@tobiaranz: thanks for the hint, I have done this and it helped me to get further.
I have now a dependency which I do not get resolved.
.pio/libdeps/esp12e/FreeRTOS-Kernel/include/FreeRTOS.h:59:10: fatal error: FreeRTOSConfig.h: No such file or directory
Which is the right lib to include?
Hi all, its my first time with visual studio.
Can some one tell me what I must do to upload?
Verbose mode can be enabled via -v, --verbose option
CONFIGURATION: https://docs.platformio.org/page/boards/espressif32/mhetesp32minikit.html
PLATFORM: Espressif 32 (3.5.0) > MH ET LIVE ESP32MiniKit
HARDWARE: ESP32 240MHz, 320KB RAM, 4MB Flash
DEBUG: Current (esp-prog) External (esp-prog, iot-bus-jtag, jlink, minimodule, olimex-arm-usb-ocd, olimex-arm-usb-ocd-h, olimex-arm-usb-tiny-h, olimex-jtag-tiny, tumpa)
PACKAGES:
- framework-arduinoespressif32 3.10006.210326 (1.0.6)
- tool-esptoolpy 1.30100.210531 (3.1.0)
- tool-mkspiffs 2.230.0 (2.30)
- toolchain-xtensa32 2.50200.97 (5.2.0)
LDF: Library Dependency Finder -> https://bit.ly/configure-pio-ldf
LDF Modes: Finder ~ chain, Compatibility ~ soft
Found 31 compatible libraries
Scanning dependencies...
Dependency Graph
|-- <SPI> 1.0
|-- <can_common> 0.3.0+sha.07605a2
|-- <ESP32_CAN> 0.2.5+sha.7c3174f
| |-- <can_common> 0.3.0+sha.07605a2
| |-- <SPI> 1.0
|-- <PubSubClient> 2.8.0
|-- <WiFi> 1.0
|-- <ESPmDNS> 1.0
| |-- <WiFi> 1.0
|-- <Update> 1.0
|-- <WebServer> 1.0
| |-- <WiFi> 1.0
| |-- <FS> 1.0
Building in release mode
Compiling .pio\build\esp32minikit\src\comfoair\CanAddress.cpp.o
In file included from src\comfoair\CanAddress.cpp:2:0:
src\comfoair\CanAddress.h:5:15: fatal error: map: No such file or directory
compilation terminated.
Compiling .pio\build\esp32minikit\src\comfoair\PubSubClient.cpp.o
Compiling .pio\build\esp32minikit\src\comfoair\comfoair.cpp.o
Compiling .pio\build\esp32minikit\src\comfoair\message.cpp.o
*** [.pio\build\esp32minikit\src\comfoair\CanAddress.cpp.o] Error 1
In file included from src\comfoair\PubSubClient.h:10:0,
from src\comfoair\PubSubClient.cpp:8:
C:\Users\daro1\.platformio\packages\framework-arduinoespressif32\cores\esp32/Arduino.h:142:21: fatal error: algorithm: No such file or directory
compilation terminated.
In file included from .pio\libdeps\esp32minikit\PubSubClient\src/PubSubClient.h:10:0,
from src\comfoair\message.h:5,
from src\comfoair\message.cpp:1:
C:\Users\daro1\.platformio\packages\framework-arduinoespressif32\cores\esp32/Arduino.h:142:21: fatal error: algorithm: No such file or directory
compilation terminated.
In file included from .pio\libdeps\esp32minikit\PubSubClient\src/PubSubClient.h:10:0,
from src\comfoair\message.h:5,
from src\comfoair\comfoair.h:3,
from src\comfoair\comfoair.cpp:1:
C:\Users\daro1\.platformio\packages\framework-arduinoespressif32\cores\esp32/Arduino.h:142:21: fatal error: algorithm: No such file or directory
compilation terminated.
*** [.pio\build\esp32minikit\src\comfoair\PubSubClient.cpp.o] Error 1
*** [.pio\build\esp32minikit\src\comfoair\comfoair.cpp.o] Error 1
*** [.pio\build\esp32minikit\src\comfoair\message.cpp.o] Error 1
============================================================ [FAILED] Took 7.20 seconds ============================================================
Environment Status Duration
------------- -------- ------------
esp32minikit FAILED 00:00:07.199
Hi, I'm new to this, I have a lot of errors trying to compile and upload, FYI I took the file as it is I didn't change anything, only added the secret.h file in the scr folder.
If someone can help me and tell me what's wrong.
Thanks.
src/comfoair/message.cpp:109:71: note: in expansion of macro 'CMD_boost_30_min'
return this->send(new std::vector<uint8_t>( CMD_ ## name )); \
^~~~
src/comfoair/message.cpp:117:5: note: in expansion of macro 'CMDIF'
CMDIF(boost_30_min)
^~~~~
src/comfoair/message.cpp:107:47: error: 'vector' in namespace 'std' does not name a template type
this->send(new std::vector<uint8_t>( CMD_ ## name )); \
^~~~~~
src/comfoair/message.cpp:118:5: note: in expansion of macro 'CMDIF'
CMDIF(boost_60_min)
^~~~~
src/comfoair/message.cpp:107:42: note: 'std::vector' is defined in header '<vector>'; did you forget to '#include <vector>'?
this->send(new std::vector<uint8_t>( CMD_ ## name )); \
^~~
src/comfoair/message.cpp:118:5: note: in expansion of macro 'CMDIF'
CMDIF(boost_60_min)
^~~~~
src/comfoair/message.cpp:107:61: error: expected primary-expression before '>' token
this->send(new std::vector<uint8_t>( CMD_ ## name )); \
^
src/comfoair/message.cpp:118:5: note: in expansion of macro 'CMDIF'
CMDIF(boost_60_min)
^~~~~
In file included from src/comfoair/message.cpp:4:
src/comfoair/commands.h:12:142: error: expected ';' before '}' token
#define CMD_boost_60_min { 0x84, 0x15, 0x01, 0x06, 0x00, 0x00, 0x00, 0x00, 0x10, 0x0E, 0x00, 0x00, 0x03, 0x00, 0x00, 0x00 }
^
src/comfoair/message.cpp:107:64: note: in expansion of macro 'CMD_boost_60_min'
this->send(new std::vector<uint8_t>( CMD_ ## name )); \
^~~~
src/comfoair/message.cpp:118:5: note: in expansion of macro 'CMDIF'
CMDIF(boost_60_min)
^~~~~
src/comfoair/message.cpp:109:54: error: 'vector' in namespace 'std' does not name a template type
return this->send(new std::vector<uint8_t>( CMD_ ## name )); \
^~~~~~
src/comfoair/message.cpp:118:5: note: in expansion of macro 'CMDIF'
CMDIF(boost_60_min)
^~~~~
src/comfoair/message.cpp:109:49: note: 'std::vector' is defined in header '<vector>'; did you forget to '#include <vector>'?
return this->send(new std::vector<uint8_t>( CMD_ ## name )); \
^~~
src/comfoair/message.cpp:118:5: note: in expansion of macro 'CMDIF'
CMDIF(boost_60_min)
^~~~~
src/comfoair/message.cpp:109:68: error: expected primary-expression before '>' token
return this->send(new std::vector<uint8_t>( CMD_ ## name )); \
^
src/comfoair/message.cpp:118:5: note: in expansion of macro 'CMDIF'
CMDIF(boost_60_min)
^~~~~
In file included from src/comfoair/message.cpp:4:
src/comfoair/commands.h:12:142: error: expected ';' before '}' token
#define CMD_boost_60_min { 0x84, 0x15, 0x01, 0x06, 0x00, 0x00, 0x00, 0x00, 0x10, 0x0E, 0x00, 0x00, 0x03, 0x00, 0x00, 0x00 }
^
src/comfoair/message.cpp:109:71: note: in expansion of macro 'CMD_boost_60_min'
return this->send(new std::vector<uint8_t>( CMD_ ## name )); \
^~~~
src/comfoair/message.cpp:118:5: note: in expansion of macro 'CMDIF'
CMDIF(boost_60_min)
^~~~~
src/comfoair/comfoair.cpp:24:4: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
});
^
src/comfoair/comfoair.cpp:44:5: note: in expansion of macro 'subscribe'
subscribe("ventilation_level_2");
^~~~~~~~~
src/comfoair/message.cpp:107:47: error: 'vector' in namespace 'std' does not name a template type
this->send(new std::vector<uint8_t>( CMD_ ## name )); \
^~~~~~
src/comfoair/message.cpp:119:5: note: in expansion of macro 'CMDIF'
CMDIF(boost_end)
^~~~~
src/comfoair/message.cpp:107:42: note: 'std::vector' is defined in header '<vector>'; did you forget to '#include <vector>'?
this->send(new std::vector<uint8_t>( CMD_ ## name )); \
^~~
src/comfoair/message.cpp:119:5: note: in expansion of macro 'CMDIF'
CMDIF(boost_end)
^~~~~
In file included from src/comfoair/comfoair.h:3,
from src/main.cpp:4:
src/comfoair/message.h:21:22: error: 'std::vector' has not been declared
bool send(std::vector<uint8_t> *buf);
^~~~~~
src/comfoair/message.h:21:28: error: expected ',' or '...' before '<' token
bool send(std::vector<uint8_t> *buf);
^
src/comfoair/message.cpp:107:61: error: expected primary-expression before '>' token
this->send(new std::vector<uint8_t>( CMD_ ## name )); \
^
src/comfoair/message.cpp:119:5: note: in expansion of macro 'CMDIF'
CMDIF(boost_end)
^~~~~
In file included from src/comfoair/message.cpp:4:
src/comfoair/commands.h:13:70: error: expected ';' before '}' token
#define CMD_boost_end { 0x85, 0x15, 0x01, 0x06 }
^
src/comfoair/message.cpp:107:64: note: in expansion of macro 'CMD_boost_end'
this->send(new std::vector<uint8_t>( CMD_ ## name )); \
^~~~
src/comfoair/message.cpp:119:5: note: in expansion of macro 'CMDIF'
CMDIF(boost_end)
^~~~~
src/comfoair/message.cpp:109:54: error: 'vector' in namespace 'std' does not name a template type
return this->send(new std::vector<uint8_t>( CMD_ ## name )); \
^~~~~~
src/comfoair/message.cpp:119:5: note: in expansion of macro 'CMDIF'
CMDIF(boost_end)
^~~~~
src/comfoair/message.cpp:109:49: note: 'std::vector' is defined in header '<vector>'; did you forget to '#include <vector>'?
return this->send(new std::vector<uint8_t>( CMD_ ## name )); \
^~~
src/comfoair/message.cpp:119:5: note: in expansion of macro 'CMDIF'
CMDIF(boost_end)
^~~~~
src/comfoair/message.cpp:109:68: error: expected primary-expression before '>' token
return this->send(new std::vector<uint8_t>( CMD_ ## name )); \
^
src/comfoair/message.cpp:119:5: note: in expansion of macro 'CMDIF'
CMDIF(boost_end)
^~~~~
In file included from src/comfoair/message.cpp:4:
src/comfoair/commands.h:13:70: error: expected ';' before '}' token
#define CMD_boost_end { 0x85, 0x15, 0x01, 0x06 }
^
src/comfoair/message.cpp:109:71: note: in expansion of macro 'CMD_boost_end'
return this->send(new std::vector<uint8_t>( CMD_ ## name )); \
^~~~
src/comfoair/message.cpp:119:5: note: in expansion of macro 'CMDIF'
CMDIF(boost_end)
^~~~~
src/comfoair/message.cpp:107:47: error: 'vector' in namespace 'std' does not name a template type
this->send(new std::vector<uint8_t>( CMD_ ## name )); \
^~~~~~
src/comfoair/message.cpp:120:5: note: in expansion of macro 'CMDIF'
CMDIF(auto)
^~~~~
src/comfoair/message.cpp:107:42: note: 'std::vector' is defined in header '<vector>'; did you forget to '#include <vector>'?
this->send(new std::vector<uint8_t>( CMD_ ## name )); \
^~~
src/comfoair/message.cpp:120:5: note: in expansion of macro 'CMDIF'
CMDIF(auto)
^~~~~
src/comfoair/message.cpp:107:61: error: expected primary-expression before '>' token
this->send(new std::vector<uint8_t>( CMD_ ## name )); \
^
src/comfoair/message.cpp:120:5: note: in expansion of macro 'CMDIF'
CMDIF(auto)
^~~~~
In file included from src/comfoair/message.cpp:4:
src/comfoair/commands.h:14:70: error: expected ';' before '}' token
#define CMD_auto { 0x85, 0x15, 0x08, 0x01 }
^
src/comfoair/message.cpp:107:64: note: in expansion of macro 'CMD_auto'
this->send(new std::vector<uint8_t>( CMD_ ## name )); \
^~~~
src/comfoair/message.cpp:120:5: note: in expansion of macro 'CMDIF'
CMDIF(auto)
^~~~~
src/comfoair/comfoair.cpp:24:4: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
});
^
src/comfoair/comfoair.cpp:45:5: note: in expansion of macro 'subscribe'
subscribe("ventilation_level_3");
^~~~~~~~~
*** [.pio\build\wemos_d1_mini32\src\main.cpp.o] Error 1
src/comfoair/message.cpp:109:54: error: 'vector' in namespace 'std' does not name a template type
return this->send(new std::vector<uint8_t>( CMD_ ## name )); \
^~~~~~
src/comfoair/message.cpp:120:5: note: in expansion of macro 'CMDIF'
CMDIF(auto)
^~~~~
src/comfoair/message.cpp:109:49: note: 'std::vector' is defined in header '<vector>'; did you forget to '#include <vector>'?
return this->send(new std::vector<uint8_t>( CMD_ ## name )); \
^~~
src/comfoair/message.cpp:120:5: note: in expansion of macro 'CMDIF'
CMDIF(auto)
^~~~~
src/comfoair/message.cpp:109:68: error: expected primary-expression before '>' token
return this->send(new std::vector<uint8_t>( CMD_ ## name )); \
^
src/comfoair/message.cpp:120:5: note: in expansion of macro 'CMDIF'
CMDIF(auto)
^~~~~
In file included from src/comfoair/message.cpp:4:
src/comfoair/commands.h:14:70: error: expected ';' before '}' token
#define CMD_auto { 0x85, 0x15, 0x08, 0x01 }
^
src/comfoair/message.cpp:109:71: note: in expansion of macro 'CMD_auto'
return this->send(new std::vector<uint8_t>( CMD_ ## name )); \
^~~~
src/comfoair/message.cpp:120:5: note: in expansion of macro 'CMDIF'
CMDIF(auto)
^~~~~
src/comfoair/message.cpp:107:47: error: 'vector' in namespace 'std' does not name a template type
this->send(new std::vector<uint8_t>( CMD_ ## name )); \
^~~~~~
src/comfoair/message.cpp:121:5: note: in expansion of macro 'CMDIF'
CMDIF(manual)
^~~~~
src/comfoair/message.cpp:107:42: note: 'std::vector' is defined in header '<vector>'; did you forget to '#include <vector>'?
this->send(new std::vector<uint8_t>( CMD_ ## name )); \
^~~
src/comfoair/message.cpp:121:5: note: in expansion of macro 'CMDIF'
CMDIF(manual)
^~~~~
src/comfoair/message.cpp:107:61: error: expected primary-expression before '>' token
this->send(new std::vector<uint8_t>( CMD_ ## name )); \
^
src/comfoair/message.cpp:121:5: note: in expansion of macro 'CMDIF'
CMDIF(manual)
^~~~~
In file included from src/comfoair/message.cpp:4:
src/comfoair/commands.h:15:124: error: expected ';' before '}' token
#define CMD_manual { 0x84, 0x15, 0x08, 0x01, 0x00, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00, 0x01 }
^
src/comfoair/message.cpp:107:64: note: in expansion of macro 'CMD_manual'
this->send(new std::vector<uint8_t>( CMD_ ## name )); \
^~~~
src/comfoair/message.cpp:121:5: note: in expansion of macro 'CMDIF'
CMDIF(manual)
^~~~~
src/comfoair/message.cpp:109:54: error: 'vector' in namespace 'std' does not name a template type
return this->send(new std::vector<uint8_t>( CMD_ ## name )); \
^~~~~~
src/comfoair/message.cpp:121:5: note: in expansion of macro 'CMDIF'
CMDIF(manual)
^~~~~
src/comfoair/message.cpp:109:49: note: 'std::vector' is defined in header '<vector>'; did you forget to '#include <vector>'?
return this->send(new std::vector<uint8_t>( CMD_ ## name )); \
^~~
src/comfoair/message.cpp:121:5: note: in expansion of macro 'CMDIF'
CMDIF(manual)
^~~~~
src/comfoair/comfoair.cpp:24:4: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
});
^
src/comfoair/comfoair.cpp:46:5: note: in expansion of macro 'subscribe'
subscribe("boost_10_min");
^~~~~~~~~
src/comfoair/message.cpp:109:68: error: expected primary-expression before '>' token
return this->send(new std::vector<uint8_t>( CMD_ ## name )); \
^
src/comfoair/message.cpp:121:5: note: in expansion of macro 'CMDIF'
CMDIF(manual)
^~~~~
In file included from src/comfoair/message.cpp:4:
src/comfoair/commands.h:15:124: error: expected ';' before '}' token
#define CMD_manual { 0x84, 0x15, 0x08, 0x01, 0x00, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00, 0x01 }
^
src/comfoair/message.cpp:109:71: note: in expansion of macro 'CMD_manual'
return this->send(new std::vector<uint8_t>( CMD_ ## name )); \
^~~~
src/comfoair/message.cpp:121:5: note: in expansion of macro 'CMDIF'
CMDIF(manual)
^~~~~
src/comfoair/message.cpp:107:47: error: 'vector' in namespace 'std' does not name a template type
this->send(new std::vector<uint8_t>( CMD_ ## name )); \
^~~~~~
src/comfoair/message.cpp:122:5: note: in expansion of macro 'CMDIF'
CMDIF(bypass_activate_1h)
^~~~~
src/comfoair/message.cpp:107:42: note: 'std::vector' is defined in header '<vector>'; did you forget to '#include <vector>'?
this->send(new std::vector<uint8_t>( CMD_ ## name )); \
^~~
src/comfoair/message.cpp:122:5: note: in expansion of macro 'CMDIF'
CMDIF(bypass_activate_1h)
^~~~~
src/comfoair/message.cpp:107:61: error: expected primary-expression before '>' token
this->send(new std::vector<uint8_t>( CMD_ ## name )); \
^
src/comfoair/message.cpp:122:5: note: in expansion of macro 'CMDIF'
CMDIF(bypass_activate_1h)
^~~~~
In file included from src/comfoair/message.cpp:4:
src/comfoair/commands.h:16:124: error: expected ';' before '}' token
#define CMD_bypass_activate_1h { 0x84, 0x15, 0x02, 0x01, 0x00, 0x00, 0x00, 0x00, 0x10, 0x0e, 0x00, 0x00, 0x01 }
^
src/comfoair/message.cpp:107:64: note: in expansion of macro 'CMD_bypass_activate_1h'
this->send(new std::vector<uint8_t>( CMD_ ## name )); \
^~~~
src/comfoair/message.cpp:122:5: note: in expansion of macro 'CMDIF'
CMDIF(bypass_activate_1h)
^~~~~
src/comfoair/message.cpp:109:54: error: 'vector' in namespace 'std' does not name a template type
return this->send(new std::vector<uint8_t>( CMD_ ## name )); \
^~~~~~
src/comfoair/message.cpp:122:5: note: in expansion of macro 'CMDIF'
CMDIF(bypass_activate_1h)
^~~~~
src/comfoair/message.cpp:109:49: note: 'std::vector' is defined in header '<vector>'; did you forget to '#include <vector>'?
return this->send(new std::vector<uint8_t>( CMD_ ## name )); \
^~~
src/comfoair/message.cpp:122:5: note: in expansion of macro 'CMDIF'
CMDIF(bypass_activate_1h)
^~~~~
src/comfoair/message.cpp:109:68: error: expected primary-expression before '>' token
return this->send(new std::vector<uint8_t>( CMD_ ## name )); \
^
src/comfoair/message.cpp:122:5: note: in expansion of macro 'CMDIF'
CMDIF(bypass_activate_1h)
^~~~~
src/comfoair/comfoair.cpp:24:4: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
});
^
src/comfoair/comfoair.cpp:47:5: note: in expansion of macro 'subscribe'
subscribe("boost_20_min");
^~~~~~~~~
In file included from src/comfoair/message.cpp:4:
src/comfoair/commands.h:16:124: error: expected ';' before '}' token
#define CMD_bypass_activate_1h { 0x84, 0x15, 0x02, 0x01, 0x00, 0x00, 0x00, 0x00, 0x10, 0x0e, 0x00, 0x00, 0x01 }
^
src/comfoair/message.cpp:109:71: note: in expansion of macro 'CMD_bypass_activate_1h'
return this->send(new std::vector<uint8_t>( CMD_ ## name )); \
^~~~
src/comfoair/message.cpp:122:5: note: in expansion of macro 'CMDIF'
CMDIF(bypass_activate_1h)
^~~~~
src/comfoair/message.cpp:107:47: error: 'vector' in namespace 'std' does not name a template type
this->send(new std::vector<uint8_t>( CMD_ ## name )); \
^~~~~~
src/comfoair/message.cpp:123:5: note: in expansion of macro 'CMDIF'
CMDIF(bypass_deactivate_1h)
^~~~~
src/comfoair/message.cpp:107:42: note: 'std::vector' is defined in header '<vector>'; did you forget to '#include <vector>'?
this->send(new std::vector<uint8_t>( CMD_ ## name )); \
^~~
src/comfoair/message.cpp:123:5: note: in expansion of macro 'CMDIF'
CMDIF(bypass_deactivate_1h)
^~~~~
src/comfoair/message.cpp:107:61: error: expected primary-expression before '>' token
this->send(new std::vector<uint8_t>( CMD_ ## name )); \
^
src/comfoair/message.cpp:123:5: note: in expansion of macro 'CMDIF'
CMDIF(bypass_deactivate_1h)
^~~~~
In file included from src/comfoair/message.cpp:4:
src/comfoair/commands.h:17:124: error: expected ';' before '}' token
#define CMD_bypass_deactivate_1h { 0x84, 0x15, 0x02, 0x01, 0x00, 0x00, 0x00, 0x00, 0x10, 0x0e, 0x00, 0x00, 0x02 }
^
src/comfoair/message.cpp:107:64: note: in expansion of macro 'CMD_bypass_deactivate_1h'
this->send(new std::vector<uint8_t>( CMD_ ## name )); \
^~~~
src/comfoair/message.cpp:123:5: note: in expansion of macro 'CMDIF'
CMDIF(bypass_deactivate_1h)
^~~~~
src/comfoair/message.cpp:109:54: error: 'vector' in namespace 'std' does not name a template type
return this->send(new std::vector<uint8_t>( CMD_ ## name )); \
^~~~~~
src/comfoair/message.cpp:123:5: note: in expansion of macro 'CMDIF'
CMDIF(bypass_deactivate_1h)
^~~~~
src/comfoair/message.cpp:109:49: note: 'std::vector' is defined in header '<vector>'; did you forget to '#include <vector>'?
return this->send(new std::vector<uint8_t>( CMD_ ## name )); \
^~~
src/comfoair/message.cpp:123:5: note: in expansion of macro 'CMDIF'
CMDIF(bypass_deactivate_1h)
^~~~~
src/comfoair/message.cpp:109:68: error: expected primary-expression before '>' token
return this->send(new std::vector<uint8_t>( CMD_ ## name )); \
^
src/comfoair/message.cpp:123:5: note: in expansion of macro 'CMDIF'
CMDIF(bypass_deactivate_1h)
^~~~~
In file included from src/comfoair/message.cpp:4:
src/comfoair/commands.h:17:124: error: expected ';' before '}' token
#define CMD_bypass_deactivate_1h { 0x84, 0x15, 0x02, 0x01, 0x00, 0x00, 0x00, 0x00, 0x10, 0x0e, 0x00, 0x00, 0x02 }
^
src/comfoair/message.cpp:109:71: note: in expansion of macro 'CMD_bypass_deactivate_1h'
return this->send(new std::vector<uint8_t>( CMD_ ## name )); \
^~~~
src/comfoair/message.cpp:123:5: note: in expansion of macro 'CMDIF'
CMDIF(bypass_deactivate_1h)
^~~~~
src/comfoair/comfoair.cpp:24:4: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
});
^
src/comfoair/comfoair.cpp:48:5: note: in expansion of macro 'subscribe'
subscribe("boost_30_min");
^~~~~~~~~
src/comfoair/message.cpp:107:47: error: 'vector' in namespace 'std' does not name a template type
this->send(new std::vector<uint8_t>( CMD_ ## name )); \
^~~~~~
src/comfoair/message.cpp:124:5: note: in expansion of macro 'CMDIF'
CMDIF(bypass_auto)
^~~~~
src/comfoair/message.cpp:107:42: note: 'std::vector' is defined in header '<vector>'; did you forget to '#include <vector>'?
this->send(new std::vector<uint8_t>( CMD_ ## name )); \
^~~
src/comfoair/message.cpp:124:5: note: in expansion of macro 'CMDIF'
CMDIF(bypass_auto)
^~~~~
src/comfoair/message.cpp:107:61: error: expected primary-expression before '>' token
this->send(new std::vector<uint8_t>( CMD_ ## name )); \
^
src/comfoair/message.cpp:124:5: note: in expansion of macro 'CMDIF'
CMDIF(bypass_auto)
^~~~~
In file included from src/comfoair/message.cpp:4:
src/comfoair/commands.h:18:70: error: expected ';' before '}' token
#define CMD_bypass_auto { 0x85, 0x15, 0x02, 0x01 }
^
src/comfoair/message.cpp:107:64: note: in expansion of macro 'CMD_bypass_auto'
this->send(new std::vector<uint8_t>( CMD_ ## name )); \
^~~~
src/comfoair/message.cpp:124:5: note: in expansion of macro 'CMDIF'
CMDIF(bypass_auto)
^~~~~
src/comfoair/message.cpp:109:54: error: 'vector' in namespace 'std' does not name a template type
return this->send(new std::vector<uint8_t>( CMD_ ## name )); \
^~~~~~
src/comfoair/message.cpp:124:5: note: in expansion of macro 'CMDIF'
CMDIF(bypass_auto)
^~~~~
src/comfoair/message.cpp:109:49: note: 'std::vector' is defined in header '<vector>'; did you forget to '#include <vector>'?
return this->send(new std::vector<uint8_t>( CMD_ ## name )); \
^~~
src/comfoair/message.cpp:124:5: note: in expansion of macro 'CMDIF'
CMDIF(bypass_auto)
^~~~~
src/comfoair/message.cpp:109:68: error: expected primary-expression before '>' token
return this->send(new std::vector<uint8_t>( CMD_ ## name )); \
^
src/comfoair/message.cpp:124:5: note: in expansion of macro 'CMDIF'
CMDIF(bypass_auto)
^~~~~
In file included from src/comfoair/message.cpp:4:
src/comfoair/commands.h:18:70: error: expected ';' before '}' token
#define CMD_bypass_auto { 0x85, 0x15, 0x02, 0x01 }
^
src/comfoair/message.cpp:109:71: note: in expansion of macro 'CMD_bypass_auto'
return this->send(new std::vector<uint8_t>( CMD_ ## name )); \
^~~~
src/comfoair/message.cpp:124:5: note: in expansion of macro 'CMDIF'
CMDIF(bypass_auto)
^~~~~
src/comfoair/message.cpp:107:47: error: 'vector' in namespace 'std' does not name a template type
this->send(new std::vector<uint8_t>( CMD_ ## name )); \
^~~~~~
src/comfoair/message.cpp:125:5: note: in expansion of macro 'CMDIF'
CMDIF(ventilation_supply_only)
^~~~~
src/comfoair/message.cpp:107:42: note: 'std::vector' is defined in header '<vector>'; did you forget to '#include <vector>'?
this->send(new std::vector<uint8_t>( CMD_ ## name )); \
^~~
src/comfoair/message.cpp:125:5: note: in expansion of macro 'CMDIF'
CMDIF(ventilation_supply_only)
^~~~~
src/comfoair/comfoair.cpp:24:4: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
});
^
src/comfoair/comfoair.cpp:49:5: note: in expansion of macro 'subscribe'
subscribe("boost_60_min");
^~~~~~~~~
src/comfoair/message.cpp:107:61: error: expected primary-expression before '>' token
this->send(new std::vector<uint8_t>( CMD_ ## name )); \
^
src/comfoair/message.cpp:125:5: note: in expansion of macro 'CMDIF'
CMDIF(ventilation_supply_only)
^~~~~
In file included from src/comfoair/message.cpp:4:
src/comfoair/commands.h:19:124: error: expected ';' before '}' token
#define CMD_ventilation_supply_only { 0x84, 0x15, 0x06, 0x01, 0x00, 0x00, 0x00, 0x00, 0x10, 0x0e, 0x00, 0x00, 0x01 }
^
src/comfoair/message.cpp:107:64: note: in expansion of macro 'CMD_ventilation_supply_only'
this->send(new std::vector<uint8_t>( CMD_ ## name )); \
^~~~
src/comfoair/message.cpp:125:5: note: in expansion of macro 'CMDIF'
CMDIF(ventilation_supply_only)
^~~~~
src/comfoair/message.cpp:109:54: error: 'vector' in namespace 'std' does not name a template type
return this->send(new std::vector<uint8_t>( CMD_ ## name )); \
^~~~~~
src/comfoair/message.cpp:125:5: note: in expansion of macro 'CMDIF'
CMDIF(ventilation_supply_only)
^~~~~
src/comfoair/message.cpp:109:49: note: 'std::vector' is defined in header '<vector>'; did you forget to '#include <vector>'?
return this->send(new std::vector<uint8_t>( CMD_ ## name )); \
^~~
src/comfoair/message.cpp:125:5: note: in expansion of macro 'CMDIF'
CMDIF(ventilation_supply_only)
^~~~~
src/comfoair/message.cpp:109:68: error: expected primary-expression before '>' token
return this->send(new std::vector<uint8_t>( CMD_ ## name )); \
^
src/comfoair/message.cpp:125:5: note: in expansion of macro 'CMDIF'
CMDIF(ventilation_supply_only)
^~~~~
In file included from src/comfoair/message.cpp:4:
src/comfoair/commands.h:19:124: error: expected ';' before '}' token
#define CMD_ventilation_supply_only { 0x84, 0x15, 0x06, 0x01, 0x00, 0x00, 0x00, 0x00, 0x10, 0x0e, 0x00, 0x00, 0x01 }
^
src/comfoair/message.cpp:109:71: note: in expansion of macro 'CMD_ventilation_supply_only'
return this->send(new std::vector<uint8_t>( CMD_ ## name )); \
^~~~
src/comfoair/message.cpp:125:5: note: in expansion of macro 'CMDIF'
CMDIF(ventilation_supply_only)
^~~~~
src/comfoair/message.cpp:107:47: error: 'vector' in namespace 'std' does not name a template type
this->send(new std::vector<uint8_t>( CMD_ ## name )); \
^~~~~~
src/comfoair/message.cpp:126:5: note: in expansion of macro 'CMDIF'
CMDIF(ventilation_supply_only_reset)
^~~~~
src/comfoair/message.cpp:107:42: note: 'std::vector' is defined in header '<vector>'; did you forget to '#include <vector>'?
this->send(new std::vector<uint8_t>( CMD_ ## name )); \
^~~
src/comfoair/message.cpp:126:5: note: in expansion of macro 'CMDIF'
CMDIF(ventilation_supply_only_reset)
^~~~~
src/comfoair/message.cpp:107:61: error: expected primary-expression before '>' token
this->send(new std::vector<uint8_t>( CMD_ ## name )); \
^
src/comfoair/message.cpp:126:5: note: in expansion of macro 'CMDIF'
CMDIF(ventilation_supply_only_reset)
^~~~~
src/comfoair/comfoair.cpp:24:4: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
});
^
src/comfoair/comfoair.cpp:50:5: note: in expansion of macro 'subscribe'
subscribe("boost_end");
^~~~~~~~~
In file included from src/comfoair/message.cpp:4:
src/comfoair/commands.h:20:70: error: expected ';' before '}' token
#define CMD_ventilation_supply_only_reset { 0x85, 0x15, 0x06, 0x01 }
^
src/comfoair/message.cpp:107:64: note: in expansion of macro 'CMD_ventilation_supply_only_reset'
this->send(new std::vector<uint8_t>( CMD_ ## name )); \
^~~~
src/comfoair/message.cpp:126:5: note: in expansion of macro 'CMDIF'
CMDIF(ventilation_supply_only_reset)
^~~~~
src/comfoair/message.cpp:109:54: error: 'vector' in namespace 'std' does not name a template type
return this->send(new std::vector<uint8_t>( CMD_ ## name )); \
^~~~~~
src/comfoair/message.cpp:126:5: note: in expansion of macro 'CMDIF'
CMDIF(ventilation_supply_only_reset)
^~~~~
src/comfoair/message.cpp:109:49: note: 'std::vector' is defined in header '<vector>'; did you forget to '#include <vector>'?
return this->send(new std::vector<uint8_t>( CMD_ ## name )); \
^~~
src/comfoair/message.cpp:126:5: note: in expansion of macro 'CMDIF'
CMDIF(ventilation_supply_only_reset)
^~~~~
src/comfoair/message.cpp:109:68: error: expected primary-expression before '>' token
return this->send(new std::vector<uint8_t>( CMD_ ## name )); \
^
src/comfoair/message.cpp:126:5: note: in expansion of macro 'CMDIF'
CMDIF(ventilation_supply_only_reset)
^~~~~
In file included from src/comfoair/message.cpp:4:
src/comfoair/commands.h:20:70: error: expected ';' before '}' token
#define CMD_ventilation_supply_only_reset { 0x85, 0x15, 0x06, 0x01 }
^
src/comfoair/message.cpp:109:71: note: in expansion of macro 'CMD_ventilation_supply_only_reset'
return this->send(new std::vector<uint8_t>( CMD_ ## name )); \
^~~~
src/comfoair/message.cpp:126:5: note: in expansion of macro 'CMDIF'
CMDIF(ventilation_supply_only_reset)
^~~~~
src/comfoair/message.cpp:107:47: error: 'vector' in namespace 'std' does not name a template type
this->send(new std::vector<uint8_t>( CMD_ ## name )); \
^~~~~~
src/comfoair/message.cpp:127:5: note: in expansion of macro 'CMDIF'
CMDIF(ventilation_extract_only)
^~~~~
src/comfoair/message.cpp:107:42: note: 'std::vector' is defined in header '<vector>'; did you forget to '#include <vector>'?
this->send(new std::vector<uint8_t>( CMD_ ## name )); \
^~~
src/comfoair/message.cpp:127:5: note: in expansion of macro 'CMDIF'
CMDIF(ventilation_extract_only)
^~~~~
src/comfoair/message.cpp:107:61: error: expected primary-expression before '>' token
this->send(new std::vector<uint8_t>( CMD_ ## name )); \
^
src/comfoair/message.cpp:127:5: note: in expansion of macro 'CMDIF'
CMDIF(ventilation_extract_only)
^~~~~
In file included from src/comfoair/message.cpp:4:
src/comfoair/commands.h:21:124: error: expected ';' before '}' token
#define CMD_ventilation_extract_only { 0x84, 0x15, 0x07, 0x01, 0x00, 0x00, 0x00, 0x00, 0x10, 0x0e, 0x00, 0x00, 0x00 }
^
src/comfoair/message.cpp:107:64: note: in expansion of macro 'CMD_ventilation_extract_only'
this->send(new std::vector<uint8_t>( CMD_ ## name )); \
^~~~
src/comfoair/message.cpp:127:5: note: in expansion of macro 'CMDIF'
CMDIF(ventilation_extract_only)
^~~~~
src/comfoair/message.cpp:109:54: error: 'vector' in namespace 'std' does not name a template type
return this->send(new std::vector<uint8_t>( CMD_ ## name )); \
^~~~~~
src/comfoair/message.cpp:127:5: note: in expansion of macro 'CMDIF'
CMDIF(ventilation_extract_only)
^~~~~
src/comfoair/message.cpp:109:49: note: 'std::vector' is defined in header '<vector>'; did you forget to '#include <vector>'?
return this->send(new std::vector<uint8_t>( CMD_ ## name )); \
^~~
src/comfoair/message.cpp:127:5: note: in expansion of macro 'CMDIF'
CMDIF(ventilation_extract_only)
^~~~~
src/comfoair/message.cpp:109:68: error: expected primary-expression before '>' token
return this->send(new std::vector<uint8_t>( CMD_ ## name )); \
^
src/comfoair/message.cpp:127:5: note: in expansion of macro 'CMDIF'
CMDIF(ventilation_extract_only)
^~~~~
In file included from src/comfoair/message.cpp:4:
src/comfoair/commands.h:21:124: error: expected ';' before '}' token
#define CMD_ventilation_extract_only { 0x84, 0x15, 0x07, 0x01, 0x00, 0x00, 0x00, 0x00, 0x10, 0x0e, 0x00, 0x00, 0x00 }
^
src/comfoair/message.cpp:109:71: note: in expansion of macro 'CMD_ventilation_extract_only'
return this->send(new std::vector<uint8_t>( CMD_ ## name )); \
^~~~
src/comfoair/message.cpp:127:5: note: in expansion of macro 'CMDIF'
CMDIF(ventilation_extract_only)
^~~~~
src/comfoair/comfoair.cpp:24:4: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
});
^
src/comfoair/comfoair.cpp:51:5: note: in expansion of macro 'subscribe'
subscribe("auto");
^~~~~~~~~
src/comfoair/message.cpp:107:47: error: 'vector' in namespace 'std' does not name a template type
this->send(new std::vector<uint8_t>( CMD_ ## name )); \
^~~~~~
src/comfoair/message.cpp:128:5: note: in expansion of macro 'CMDIF'
CMDIF(ventilation_extract_only_reset)
^~~~~
src/comfoair/message.cpp:107:42: note: 'std::vector' is defined in header '<vector>'; did you forget to '#include <vector>'?
this->send(new std::vector<uint8_t>( CMD_ ## name )); \
^~~
src/comfoair/message.cpp:128:5: note: in expansion of macro 'CMDIF'
CMDIF(ventilation_extract_only_reset)
^~~~~
src/comfoair/message.cpp:107:61: error: expected primary-expression before '>' token
this->send(new std::vector<uint8_t>( CMD_ ## name )); \
^
src/comfoair/message.cpp:128:5: note: in expansion of macro 'CMDIF'
CMDIF(ventilation_extract_only_reset)
^~~~~
In file included from src/comfoair/message.cpp:4:
src/comfoair/commands.h:22:70: error: expected ';' before '}' token
#define CMD_ventilation_extract_only_reset { 0x85, 0x15, 0x07, 0x01 }
^
src/comfoair/message.cpp:107:64: note: in expansion of macro 'CMD_ventilation_extract_only_reset'
this->send(new std::vector<uint8_t>( CMD_ ## name )); \
^~~~
src/comfoair/message.cpp:128:5: note: in expansion of macro 'CMDIF'
CMDIF(ventilation_extract_only_reset)
^~~~~
src/comfoair/message.cpp:109:54: error: 'vector' in namespace 'std' does not name a template type
return this->send(new std::vector<uint8_t>( CMD_ ## name )); \
^~~~~~
src/comfoair/message.cpp:128:5: note: in expansion of macro 'CMDIF'
CMDIF(ventilation_extract_only_reset)
^~~~~
src/comfoair/message.cpp:109:49: note: 'std::vector' is defined in header '<vector>'; did you forget to '#include <vector>'?
return this->send(new std::vector<uint8_t>( CMD_ ## name )); \
^~~
src/comfoair/message.cpp:128:5: note: in expansion of macro 'CMDIF'
CMDIF(ventilation_extract_only_reset)
^~~~~
src/comfoair/message.cpp:109:68: error: expected primary-expression before '>' token
return this->send(new std::vector<uint8_t>( CMD_ ## name )); \
^
src/comfoair/message.cpp:128:5: note: in expansion of macro 'CMDIF'
CMDIF(ventilation_extract_only_reset)
^~~~~
In file included from src/comfoair/message.cpp:4:
src/comfoair/commands.h:22:70: error: expected ';' before '}' token
#define CMD_ventilation_extract_only_reset { 0x85, 0x15, 0x07, 0x01 }
^
src/comfoair/message.cpp:109:71: note: in expansion of macro 'CMD_ventilation_extract_only_reset'
return this->send(new std::vector<uint8_t>( CMD_ ## name )); \
^~~~
src/comfoair/message.cpp:128:5: note: in expansion of macro 'CMDIF'
CMDIF(ventilation_extract_only_reset)
^~~~~
src/comfoair/message.cpp:107:47: error: 'vector' in namespace 'std' does not name a template type
this->send(new std::vector<uint8_t>( CMD_ ## name )); \
^~~~~~
src/comfoair/message.cpp:129:5: note: in expansion of macro 'CMDIF'
CMDIF(temp_profile_normal)
^~~~~
src/comfoair/comfoair.cpp:24:4: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
});
^
src/comfoair/comfoair.cpp:52:5: note: in expansion of macro 'subscribe'
subscribe("manual");
^~~~~~~~~
src/comfoair/message.cpp:107:42: note: 'std::vector' is defined in header '<vector>'; did you forget to '#include <vector>'?
this->send(new std::vector<uint8_t>( CMD_ ## name )); \
^~~
src/comfoair/message.cpp:129:5: note: in expansion of macro 'CMDIF'
CMDIF(temp_profile_normal)
^~~~~
src/comfoair/message.cpp:107:61: error: expected primary-expression before '>' token
this->send(new std::vector<uint8_t>( CMD_ ## name )); \
^
src/comfoair/message.cpp:129:5: note: in expansion of macro 'CMDIF'
CMDIF(temp_profile_normal)
^~~~~
In file included from src/comfoair/message.cpp:4:
src/comfoair/commands.h:23:124: error: expected ';' before '}' token
#define CMD_temp_profile_normal { 0x84, 0x15, 0x03, 0x01, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0xff, 0xff, 0x00 }
^
src/comfoair/message.cpp:107:64: note: in expansion of macro 'CMD_temp_profile_normal'
this->send(new std::vector<uint8_t>( CMD_ ## name )); \
^~~~
src/comfoair/message.cpp:129:5: note: in expansion of macro 'CMDIF'
CMDIF(temp_profile_normal)
^~~~~
src/comfoair/message.cpp:109:54: error: 'vector' in namespace 'std' does not name a template type
return this->send(new std::vector<uint8_t>( CMD_ ## name )); \
^~~~~~
src/comfoair/message.cpp:129:5: note: in expansion of macro 'CMDIF'
CMDIF(temp_profile_normal)
^~~~~
src/comfoair/message.cpp:109:49: note: 'std::vector' is defined in header '<vector>'; did you forget to '#include <vector>'?
return this->send(new std::vector<uint8_t>( CMD_ ## name )); \
^~~
src/comfoair/message.cpp:129:5: note: in expansion of macro 'CMDIF'
CMDIF(temp_profile_normal)
^~~~~
src/comfoair/comfoair.cpp:24:4: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
});
^
src/comfoair/comfoair.cpp:53:5: note: in expansion of macro 'subscribe'
subscribe("bypass_activate_1h");
^~~~~~~~~
src/comfoair/message.cpp:109:68: error: expected primary-expression before '>' token
return this->send(new std::vector<uint8_t>( CMD_ ## name )); \
^
src/comfoair/message.cpp:129:5: note: in expansion of macro 'CMDIF'
CMDIF(temp_profile_normal)
^~~~~
In file included from src/comfoair/message.cpp:4:
src/comfoair/commands.h:23:124: error: expected ';' before '}' token
#define CMD_temp_profile_normal { 0x84, 0x15, 0x03, 0x01, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0xff, 0xff, 0x00 }
^
src/comfoair/message.cpp:109:71: note: in expansion of macro 'CMD_temp_profile_normal'
return this->send(new std::vector<uint8_t>( CMD_ ## name )); \
^~~~
src/comfoair/message.cpp:129:5: note: in expansion of macro 'CMDIF'
CMDIF(temp_profile_normal)
^~~~~
src/comfoair/message.cpp:107:47: error: 'vector' in namespace 'std' does not name a template type
this->send(new std::vector<uint8_t>( CMD_ ## name )); \
^~~~~~
src/comfoair/message.cpp:130:5: note: in expansion of macro 'CMDIF'
CMDIF(temp_profile_cool)
^~~~~
src/comfoair/message.cpp:107:42: note: 'std::vector' is defined in header '<vector>'; did you forget to '#include <vector>'?
this->send(new std::vector<uint8_t>( CMD_ ## name )); \
^~~
src/comfoair/message.cpp:130:5: note: in expansion of macro 'CMDIF'
CMDIF(temp_profile_cool)
^~~~~
src/comfoair/message.cpp:107:61: error: expected primary-expression before '>' token
this->send(new std::vector<uint8_t>( CMD_ ## name )); \
^
src/comfoair/message.cpp:130:5: note: in expansion of macro 'CMDIF'
CMDIF(temp_profile_cool)
^~~~~
In file included from src/comfoair/message.cpp:4:
src/comfoair/commands.h:24:124: error: expected ';' before '}' token
#define CMD_temp_profile_cool { 0x84, 0x15, 0x03, 0x01, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0xff, 0xff, 0x01 }
^
src/comfoair/message.cpp:107:64: note: in expansion of macro 'CMD_temp_profile_cool'
this->send(new std::vector<uint8_t>( CMD_ ## name )); \
^~~~
src/comfoair/message.cpp:130:5: note: in expansion of macro 'CMDIF'
CMDIF(temp_profile_cool)
^~~~~
src/comfoair/message.cpp:109:54: error: 'vector' in namespace 'std' does not name a template type
return this->send(new std::vector<uint8_t>( CMD_ ## name )); \
^~~~~~
src/comfoair/message.cpp:130:5: note: in expansion of macro 'CMDIF'
CMDIF(temp_profile_cool)
^~~~~
src/comfoair/message.cpp:109:49: note: 'std::vector' is defined in header '<vector>'; did you forget to '#include <vector>'?
return this->send(new std::vector<uint8_t>( CMD_ ## name )); \
^~~
src/comfoair/message.cpp:130:5: note: in expansion of macro 'CMDIF'
CMDIF(temp_profile_cool)
^~~~~
src/comfoair/message.cpp:109:68: error: expected primary-expression before '>' token
return this->send(new std::vector<uint8_t>( CMD_ ## name )); \
^
src/comfoair/message.cpp:130:5: note: in expansion of macro 'CMDIF'
CMDIF(temp_profile_cool)
^~~~~
src/comfoair/comfoair.cpp:24:4: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
});
^
src/comfoair/comfoair.cpp:54:5: note: in expansion of macro 'subscribe'
subscribe("bypass_deactivate_1h");
^~~~~~~~~
In file included from src/comfoair/message.cpp:4:
src/comfoair/commands.h:24:124: error: expected ';' before '}' token
#define CMD_temp_profile_cool { 0x84, 0x15, 0x03, 0x01, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0xff, 0xff, 0x01 }
^
src/comfoair/message.cpp:109:71: note: in expansion of macro 'CMD_temp_profile_cool'
return this->send(new std::vector<uint8_t>( CMD_ ## name )); \
^~~~
src/comfoair/message.cpp:130:5: note: in expansion of macro 'CMDIF'
CMDIF(temp_profile_cool)
^~~~~
src/comfoair/message.cpp:107:47: error: 'vector' in namespace 'std' does not name a template type
this->send(new std::vector<uint8_t>( CMD_ ## name )); \
^~~~~~
src/comfoair/message.cpp:131:5: note: in expansion of macro 'CMDIF'
CMDIF(temp_profile_warm)
^~~~~
src/comfoair/message.cpp:107:42: note: 'std::vector' is defined in header '<vector>'; did you forget to '#include <vector>'?
this->send(new std::vector<uint8_t>( CMD_ ## name )); \
^~~
src/comfoair/message.cpp:131:5: note: in expansion of macro 'CMDIF'
CMDIF(temp_profile_warm)
^~~~~
src/comfoair/message.cpp:107:61: error: expected primary-expression before '>' token
this->send(new std::vector<uint8_t>( CMD_ ## name )); \
^
src/comfoair/message.cpp:131:5: note: in expansion of macro 'CMDIF'
CMDIF(temp_profile_warm)
^~~~~
In file included from src/comfoair/message.cpp:4:
src/comfoair/commands.h:25:124: error: expected ';' before '}' token
#define CMD_temp_profile_warm { 0x84, 0x15, 0x03, 0x01, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0xff, 0xff, 0x02 }
^
src/comfoair/message.cpp:107:64: note: in expansion of macro 'CMD_temp_profile_warm'
this->send(new std::vector<uint8_t>( CMD_ ## name )); \
^~~~
src/comfoair/message.cpp:131:5: note: in expansion of macro 'CMDIF'
CMDIF(temp_profile_warm)
^~~~~
src/comfoair/message.cpp:109:54: error: 'vector' in namespace 'std' does not name a template type
return this->send(new std::vector<uint8_t>( CMD_ ## name )); \
^~~~~~
src/comfoair/message.cpp:131:5: note: in expansion of macro 'CMDIF'
CMDIF(temp_profile_warm)
^~~~~
src/comfoair/message.cpp:109:49: note: 'std::vector' is defined in header '<vector>'; did you forget to '#include <vector>'?
return this->send(new std::vector<uint8_t>( CMD_ ## name )); \
^~~
src/comfoair/message.cpp:131:5: note: in expansion of macro 'CMDIF'
CMDIF(temp_profile_warm)
^~~~~
src/comfoair/message.cpp:109:68: error: expected primary-expression before '>' token
return this->send(new std::vector<uint8_t>( CMD_ ## name )); \
^
src/comfoair/message.cpp:131:5: note: in expansion of macro 'CMDIF'
CMDIF(temp_profile_warm)
^~~~~
In file included from src/comfoair/message.cpp:4:
src/comfoair/commands.h:25:124: error: expected ';' before '}' token
#define CMD_temp_profile_warm { 0x84, 0x15, 0x03, 0x01, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0xff, 0xff, 0x02 }
^
src/comfoair/message.cpp:109:71: note: in expansion of macro 'CMD_temp_profile_warm'
return this->send(new std::vector<uint8_t>( CMD_ ## name )); \
^~~~
src/comfoair/message.cpp:131:5: note: in expansion of macro 'CMDIF'
CMDIF(temp_profile_warm)
^~~~~
src/comfoair/comfoair.cpp:24:4: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
});
^
src/comfoair/comfoair.cpp:55:5: note: in expansion of macro 'subscribe'
subscribe("bypass_auto");
^~~~~~~~~
src/comfoair/comfoair.cpp:24:4: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
});
^
src/comfoair/comfoair.cpp:56:5: note: in expansion of macro 'subscribe'
subscribe("ventilation_supply_only");
^~~~~~~~~
src/comfoair/comfoair.cpp:24:4: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
});
^
src/comfoair/comfoair.cpp:57:5: note: in expansion of macro 'subscribe'
subscribe("ventilation_supply_only_reset");
^~~~~~~~~
src/comfoair/message.cpp: At global scope:
src/comfoair/message.cpp:204:32: error: 'bool comfoair::ComfoMessage::send' is not a static data member of 'class comfoair::ComfoMessage'
bool ComfoMessage::send(std::vector<uint8_t> *buf) {
^~~~~~
src/comfoair/message.cpp:204:32: error: 'vector' is not a member of 'std'
src/comfoair/message.cpp:204:32: note: 'std::vector' is defined in header '<vector>'; did you forget to '#include <vector>'?
src/comfoair/message.cpp:204:46: error: expected primary-expression before '>' token
bool ComfoMessage::send(std::vector<uint8_t> *buf) {
^
src/comfoair/message.cpp:204:49: error: 'buf' was not declared in this scope
bool ComfoMessage::send(std::vector<uint8_t> *buf) {
^~~
src/comfoair/comfoair.cpp:24:4: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
});
^
src/comfoair/comfoair.cpp:58:5: note: in expansion of macro 'subscribe'
subscribe("ventilation_extract_only");
^~~~~~~~~
src/comfoair/comfoair.cpp:24:4: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
});
^
src/comfoair/comfoair.cpp:59:5: note: in expansion of macro 'subscribe'
subscribe("ventilation_extract_only_reset");
^~~~~~~~~
src/comfoair/comfoair.cpp:24:4: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
});
^
src/comfoair/comfoair.cpp:60:5: note: in expansion of macro 'subscribe'
subscribe("temp_profile_normal");
^~~~~~~~~
src/comfoair/comfoair.cpp:24:4: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
});
^
src/comfoair/comfoair.cpp:61:5: note: in expansion of macro 'subscribe'
subscribe("temp_profile_cool");
^~~~~~~~~
src/comfoair/comfoair.cpp:24:4: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
});
^
src/comfoair/comfoair.cpp:62:5: note: in expansion of macro 'subscribe'
subscribe("temp_profile_warm");
^~~~~~~~~
src/comfoair/comfoair.cpp:70:6: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
});
^
src/comfoair/comfoair.cpp:80:6: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
});
^
*** [.pio\build\wemos_d1_mini32\src\comfoair\message.cpp.o] Error 1
*** [.pio\build\wemos_d1_mini32\src\comfoair\comfoair.cpp.o] Error 1
============================================ [FAILED] Took 9.18 seconds ============================================
Environment Status Duration
--------------- -------- ------------
wemos_d1_mini32 FAILED 00:00:09.184
Hi, I'm new to this, I have a lot of errors trying to compile and upload, FYI I took the file as it is I didn't change anything, only added the secret.h file in the scr folder.
If someone can help me and tell me what's wrong.
Thanks.
src/comfoair/message.cpp:109:71: note: in expansion of macro 'CMD_boost_30_min' return this->send(new std::vector<uint8_t>( CMD_ ## name )); \ ^~~~ src/comfoair/message.cpp:117:5: note: in expansion of macro 'CMDIF' CMDIF(boost_30_min) ^~~~~ src/comfoair/message.cpp:107:47: error: 'vector' in namespace 'std' does not name a template type this->send(new std::vector<uint8_t>( CMD_ ## name )); \ ^~~~~~ src/comfoair/message.cpp:118:5: note: in expansion of macro 'CMDIF' CMDIF(boost_60_min) ^~~~~ src/comfoair/message.cpp:107:42: note: 'std::vector' is defined in header '<vector>'; did you forget to '#include <vector>'? this->send(new std::vector<uint8_t>( CMD_ ## name )); \ ^~~ src/comfoair/message.cpp:118:5: note: in expansion of macro 'CMDIF' CMDIF(boost_60_min) ^~~~~ src/comfoair/message.cpp:107:61: error: expected primary-expression before '>' token this->send(new std::vector<uint8_t>( CMD_ ## name )); \ ^ src/comfoair/message.cpp:118:5: note: in expansion of macro 'CMDIF' CMDIF(boost_60_min) ^~~~~ In file included from src/comfoair/message.cpp:4: src/comfoair/commands.h:12:142: error: expected ';' before '}' token #define CMD_boost_60_min { 0x84, 0x15, 0x01, 0x06, 0x00, 0x00, 0x00, 0x00, 0x10, 0x0E, 0x00, 0x00, 0x03, 0x00, 0x00, 0x00 } ^ src/comfoair/message.cpp:107:64: note: in expansion of macro 'CMD_boost_60_min' this->send(new std::vector<uint8_t>( CMD_ ## name )); \ ^~~~ src/comfoair/message.cpp:118:5: note: in expansion of macro 'CMDIF' CMDIF(boost_60_min) ^~~~~ src/comfoair/message.cpp:109:54: error: 'vector' in namespace 'std' does not name a template type return this->send(new std::vector<uint8_t>( CMD_ ## name )); \ ^~~~~~ src/comfoair/message.cpp:118:5: note: in expansion of macro 'CMDIF' CMDIF(boost_60_min) ^~~~~ src/comfoair/message.cpp:109:49: note: 'std::vector' is defined in header '<vector>'; did you forget to '#include <vector>'? return this->send(new std::vector<uint8_t>( CMD_ ## name )); \ ^~~ src/comfoair/message.cpp:118:5: note: in expansion of macro 'CMDIF' CMDIF(boost_60_min) ^~~~~ src/comfoair/message.cpp:109:68: error: expected primary-expression before '>' token return this->send(new std::vector<uint8_t>( CMD_ ## name )); \ ^ src/comfoair/message.cpp:118:5: note: in expansion of macro 'CMDIF' CMDIF(boost_60_min) ^~~~~ In file included from src/comfoair/message.cpp:4: src/comfoair/commands.h:12:142: error: expected ';' before '}' token #define CMD_boost_60_min { 0x84, 0x15, 0x01, 0x06, 0x00, 0x00, 0x00, 0x00, 0x10, 0x0E, 0x00, 0x00, 0x03, 0x00, 0x00, 0x00 } ^ src/comfoair/message.cpp:109:71: note: in expansion of macro 'CMD_boost_60_min' return this->send(new std::vector<uint8_t>( CMD_ ## name )); \ ^~~~ src/comfoair/message.cpp:118:5: note: in expansion of macro 'CMDIF' CMDIF(boost_60_min) ^~~~~ src/comfoair/comfoair.cpp:24:4: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] }); ^ src/comfoair/comfoair.cpp:44:5: note: in expansion of macro 'subscribe' subscribe("ventilation_level_2"); ^~~~~~~~~ src/comfoair/message.cpp:107:47: error: 'vector' in namespace 'std' does not name a template type this->send(new std::vector<uint8_t>( CMD_ ## name )); \ ^~~~~~ src/comfoair/message.cpp:119:5: note: in expansion of macro 'CMDIF' CMDIF(boost_end) ^~~~~ src/comfoair/message.cpp:107:42: note: 'std::vector' is defined in header '<vector>'; did you forget to '#include <vector>'? this->send(new std::vector<uint8_t>( CMD_ ## name )); \ ^~~ src/comfoair/message.cpp:119:5: note: in expansion of macro 'CMDIF' CMDIF(boost_end) ^~~~~ In file included from src/comfoair/comfoair.h:3, from src/main.cpp:4: src/comfoair/message.h:21:22: error: 'std::vector' has not been declared bool send(std::vector<uint8_t> *buf); ^~~~~~ src/comfoair/message.h:21:28: error: expected ',' or '...' before '<' token bool send(std::vector<uint8_t> *buf); ^ src/comfoair/message.cpp:107:61: error: expected primary-expression before '>' token this->send(new std::vector<uint8_t>( CMD_ ## name )); \ ^ src/comfoair/message.cpp:119:5: note: in expansion of macro 'CMDIF' CMDIF(boost_end) ^~~~~ In file included from src/comfoair/message.cpp:4: src/comfoair/commands.h:13:70: error: expected ';' before '}' token #define CMD_boost_end { 0x85, 0x15, 0x01, 0x06 } ^ src/comfoair/message.cpp:107:64: note: in expansion of macro 'CMD_boost_end' this->send(new std::vector<uint8_t>( CMD_ ## name )); \ ^~~~ src/comfoair/message.cpp:119:5: note: in expansion of macro 'CMDIF' CMDIF(boost_end) ^~~~~ src/comfoair/message.cpp:109:54: error: 'vector' in namespace 'std' does not name a template type return this->send(new std::vector<uint8_t>( CMD_ ## name )); \ ^~~~~~ src/comfoair/message.cpp:119:5: note: in expansion of macro 'CMDIF' CMDIF(boost_end) ^~~~~ src/comfoair/message.cpp:109:49: note: 'std::vector' is defined in header '<vector>'; did you forget to '#include <vector>'? return this->send(new std::vector<uint8_t>( CMD_ ## name )); \ ^~~ src/comfoair/message.cpp:119:5: note: in expansion of macro 'CMDIF' CMDIF(boost_end) ^~~~~ src/comfoair/message.cpp:109:68: error: expected primary-expression before '>' token return this->send(new std::vector<uint8_t>( CMD_ ## name )); \ ^ src/comfoair/message.cpp:119:5: note: in expansion of macro 'CMDIF' CMDIF(boost_end) ^~~~~ In file included from src/comfoair/message.cpp:4: src/comfoair/commands.h:13:70: error: expected ';' before '}' token #define CMD_boost_end { 0x85, 0x15, 0x01, 0x06 } ^ src/comfoair/message.cpp:109:71: note: in expansion of macro 'CMD_boost_end' return this->send(new std::vector<uint8_t>( CMD_ ## name )); \ ^~~~ src/comfoair/message.cpp:119:5: note: in expansion of macro 'CMDIF' CMDIF(boost_end) ^~~~~ src/comfoair/message.cpp:107:47: error: 'vector' in namespace 'std' does not name a template type this->send(new std::vector<uint8_t>( CMD_ ## name )); \ ^~~~~~ src/comfoair/message.cpp:120:5: note: in expansion of macro 'CMDIF' CMDIF(auto) ^~~~~ src/comfoair/message.cpp:107:42: note: 'std::vector' is defined in header '<vector>'; did you forget to '#include <vector>'? this->send(new std::vector<uint8_t>( CMD_ ## name )); \ ^~~ src/comfoair/message.cpp:120:5: note: in expansion of macro 'CMDIF' CMDIF(auto) ^~~~~ src/comfoair/message.cpp:107:61: error: expected primary-expression before '>' token this->send(new std::vector<uint8_t>( CMD_ ## name )); \ ^ src/comfoair/message.cpp:120:5: note: in expansion of macro 'CMDIF' CMDIF(auto) ^~~~~ In file included from src/comfoair/message.cpp:4: src/comfoair/commands.h:14:70: error: expected ';' before '}' token #define CMD_auto { 0x85, 0x15, 0x08, 0x01 } ^ src/comfoair/message.cpp:107:64: note: in expansion of macro 'CMD_auto' this->send(new std::vector<uint8_t>( CMD_ ## name )); \ ^~~~ src/comfoair/message.cpp:120:5: note: in expansion of macro 'CMDIF' CMDIF(auto) ^~~~~ src/comfoair/comfoair.cpp:24:4: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] }); ^ src/comfoair/comfoair.cpp:45:5: note: in expansion of macro 'subscribe' subscribe("ventilation_level_3"); ^~~~~~~~~ *** [.pio\build\wemos_d1_mini32\src\main.cpp.o] Error 1 src/comfoair/message.cpp:109:54: error: 'vector' in namespace 'std' does not name a template type return this->send(new std::vector<uint8_t>( CMD_ ## name )); \ ^~~~~~ src/comfoair/message.cpp:120:5: note: in expansion of macro 'CMDIF' CMDIF(auto) ^~~~~ src/comfoair/message.cpp:109:49: note: 'std::vector' is defined in header '<vector>'; did you forget to '#include <vector>'? return this->send(new std::vector<uint8_t>( CMD_ ## name )); \ ^~~ src/comfoair/message.cpp:120:5: note: in expansion of macro 'CMDIF' CMDIF(auto) ^~~~~ src/comfoair/message.cpp:109:68: error: expected primary-expression before '>' token return this->send(new std::vector<uint8_t>( CMD_ ## name )); \ ^ src/comfoair/message.cpp:120:5: note: in expansion of macro 'CMDIF' CMDIF(auto) ^~~~~ In file included from src/comfoair/message.cpp:4: src/comfoair/commands.h:14:70: error: expected ';' before '}' token #define CMD_auto { 0x85, 0x15, 0x08, 0x01 } ^ src/comfoair/message.cpp:109:71: note: in expansion of macro 'CMD_auto' return this->send(new std::vector<uint8_t>( CMD_ ## name )); \ ^~~~ src/comfoair/message.cpp:120:5: note: in expansion of macro 'CMDIF' CMDIF(auto) ^~~~~ src/comfoair/message.cpp:107:47: error: 'vector' in namespace 'std' does not name a template type this->send(new std::vector<uint8_t>( CMD_ ## name )); \ ^~~~~~ src/comfoair/message.cpp:121:5: note: in expansion of macro 'CMDIF' CMDIF(manual) ^~~~~ src/comfoair/message.cpp:107:42: note: 'std::vector' is defined in header '<vector>'; did you forget to '#include <vector>'? this->send(new std::vector<uint8_t>( CMD_ ## name )); \ ^~~ src/comfoair/message.cpp:121:5: note: in expansion of macro 'CMDIF' CMDIF(manual) ^~~~~ src/comfoair/message.cpp:107:61: error: expected primary-expression before '>' token this->send(new std::vector<uint8_t>( CMD_ ## name )); \ ^ src/comfoair/message.cpp:121:5: note: in expansion of macro 'CMDIF' CMDIF(manual) ^~~~~ In file included from src/comfoair/message.cpp:4: src/comfoair/commands.h:15:124: error: expected ';' before '}' token #define CMD_manual { 0x84, 0x15, 0x08, 0x01, 0x00, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00, 0x01 } ^ src/comfoair/message.cpp:107:64: note: in expansion of macro 'CMD_manual' this->send(new std::vector<uint8_t>( CMD_ ## name )); \ ^~~~ src/comfoair/message.cpp:121:5: note: in expansion of macro 'CMDIF' CMDIF(manual) ^~~~~ src/comfoair/message.cpp:109:54: error: 'vector' in namespace 'std' does not name a template type return this->send(new std::vector<uint8_t>( CMD_ ## name )); \ ^~~~~~ src/comfoair/message.cpp:121:5: note: in expansion of macro 'CMDIF' CMDIF(manual) ^~~~~ src/comfoair/message.cpp:109:49: note: 'std::vector' is defined in header '<vector>'; did you forget to '#include <vector>'? return this->send(new std::vector<uint8_t>( CMD_ ## name )); \ ^~~ src/comfoair/message.cpp:121:5: note: in expansion of macro 'CMDIF' CMDIF(manual) ^~~~~ src/comfoair/comfoair.cpp:24:4: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] }); ^ src/comfoair/comfoair.cpp:46:5: note: in expansion of macro 'subscribe' subscribe("boost_10_min"); ^~~~~~~~~ src/comfoair/message.cpp:109:68: error: expected primary-expression before '>' token return this->send(new std::vector<uint8_t>( CMD_ ## name )); \ ^ src/comfoair/message.cpp:121:5: note: in expansion of macro 'CMDIF' CMDIF(manual) ^~~~~ In file included from src/comfoair/message.cpp:4: src/comfoair/commands.h:15:124: error: expected ';' before '}' token #define CMD_manual { 0x84, 0x15, 0x08, 0x01, 0x00, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00, 0x01 } ^ src/comfoair/message.cpp:109:71: note: in expansion of macro 'CMD_manual' return this->send(new std::vector<uint8_t>( CMD_ ## name )); \ ^~~~ src/comfoair/message.cpp:121:5: note: in expansion of macro 'CMDIF' CMDIF(manual) ^~~~~ src/comfoair/message.cpp:107:47: error: 'vector' in namespace 'std' does not name a template type this->send(new std::vector<uint8_t>( CMD_ ## name )); \ ^~~~~~ src/comfoair/message.cpp:122:5: note: in expansion of macro 'CMDIF' CMDIF(bypass_activate_1h) ^~~~~ src/comfoair/message.cpp:107:42: note: 'std::vector' is defined in header '<vector>'; did you forget to '#include <vector>'? this->send(new std::vector<uint8_t>( CMD_ ## name )); \ ^~~ src/comfoair/message.cpp:122:5: note: in expansion of macro 'CMDIF' CMDIF(bypass_activate_1h) ^~~~~ src/comfoair/message.cpp:107:61: error: expected primary-expression before '>' token this->send(new std::vector<uint8_t>( CMD_ ## name )); \ ^ src/comfoair/message.cpp:122:5: note: in expansion of macro 'CMDIF' CMDIF(bypass_activate_1h) ^~~~~ In file included from src/comfoair/message.cpp:4: src/comfoair/commands.h:16:124: error: expected ';' before '}' token #define CMD_bypass_activate_1h { 0x84, 0x15, 0x02, 0x01, 0x00, 0x00, 0x00, 0x00, 0x10, 0x0e, 0x00, 0x00, 0x01 } ^ src/comfoair/message.cpp:107:64: note: in expansion of macro 'CMD_bypass_activate_1h' this->send(new std::vector<uint8_t>( CMD_ ## name )); \ ^~~~ src/comfoair/message.cpp:122:5: note: in expansion of macro 'CMDIF' CMDIF(bypass_activate_1h) ^~~~~ src/comfoair/message.cpp:109:54: error: 'vector' in namespace 'std' does not name a template type return this->send(new std::vector<uint8_t>( CMD_ ## name )); \ ^~~~~~ src/comfoair/message.cpp:122:5: note: in expansion of macro 'CMDIF' CMDIF(bypass_activate_1h) ^~~~~ src/comfoair/message.cpp:109:49: note: 'std::vector' is defined in header '<vector>'; did you forget to '#include <vector>'? return this->send(new std::vector<uint8_t>( CMD_ ## name )); \ ^~~ src/comfoair/message.cpp:122:5: note: in expansion of macro 'CMDIF' CMDIF(bypass_activate_1h) ^~~~~ src/comfoair/message.cpp:109:68: error: expected primary-expression before '>' token return this->send(new std::vector<uint8_t>( CMD_ ## name )); \ ^ src/comfoair/message.cpp:122:5: note: in expansion of macro 'CMDIF' CMDIF(bypass_activate_1h) ^~~~~ src/comfoair/comfoair.cpp:24:4: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] }); ^ src/comfoair/comfoair.cpp:47:5: note: in expansion of macro 'subscribe' subscribe("boost_20_min"); ^~~~~~~~~ In file included from src/comfoair/message.cpp:4: src/comfoair/commands.h:16:124: error: expected ';' before '}' token #define CMD_bypass_activate_1h { 0x84, 0x15, 0x02, 0x01, 0x00, 0x00, 0x00, 0x00, 0x10, 0x0e, 0x00, 0x00, 0x01 } ^ src/comfoair/message.cpp:109:71: note: in expansion of macro 'CMD_bypass_activate_1h' return this->send(new std::vector<uint8_t>( CMD_ ## name )); \ ^~~~ src/comfoair/message.cpp:122:5: note: in expansion of macro 'CMDIF' CMDIF(bypass_activate_1h) ^~~~~ src/comfoair/message.cpp:107:47: error: 'vector' in namespace 'std' does not name a template type this->send(new std::vector<uint8_t>( CMD_ ## name )); \ ^~~~~~ src/comfoair/message.cpp:123:5: note: in expansion of macro 'CMDIF' CMDIF(bypass_deactivate_1h) ^~~~~ src/comfoair/message.cpp:107:42: note: 'std::vector' is defined in header '<vector>'; did you forget to '#include <vector>'? this->send(new std::vector<uint8_t>( CMD_ ## name )); \ ^~~ src/comfoair/message.cpp:123:5: note: in expansion of macro 'CMDIF' CMDIF(bypass_deactivate_1h) ^~~~~ src/comfoair/message.cpp:107:61: error: expected primary-expression before '>' token this->send(new std::vector<uint8_t>( CMD_ ## name )); \ ^ src/comfoair/message.cpp:123:5: note: in expansion of macro 'CMDIF' CMDIF(bypass_deactivate_1h) ^~~~~ In file included from src/comfoair/message.cpp:4: src/comfoair/commands.h:17:124: error: expected ';' before '}' token #define CMD_bypass_deactivate_1h { 0x84, 0x15, 0x02, 0x01, 0x00, 0x00, 0x00, 0x00, 0x10, 0x0e, 0x00, 0x00, 0x02 } ^ src/comfoair/message.cpp:107:64: note: in expansion of macro 'CMD_bypass_deactivate_1h' this->send(new std::vector<uint8_t>( CMD_ ## name )); \ ^~~~ src/comfoair/message.cpp:123:5: note: in expansion of macro 'CMDIF' CMDIF(bypass_deactivate_1h) ^~~~~ src/comfoair/message.cpp:109:54: error: 'vector' in namespace 'std' does not name a template type return this->send(new std::vector<uint8_t>( CMD_ ## name )); \ ^~~~~~ src/comfoair/message.cpp:123:5: note: in expansion of macro 'CMDIF' CMDIF(bypass_deactivate_1h) ^~~~~ src/comfoair/message.cpp:109:49: note: 'std::vector' is defined in header '<vector>'; did you forget to '#include <vector>'? return this->send(new std::vector<uint8_t>( CMD_ ## name )); \ ^~~ src/comfoair/message.cpp:123:5: note: in expansion of macro 'CMDIF' CMDIF(bypass_deactivate_1h) ^~~~~ src/comfoair/message.cpp:109:68: error: expected primary-expression before '>' token return this->send(new std::vector<uint8_t>( CMD_ ## name )); \ ^ src/comfoair/message.cpp:123:5: note: in expansion of macro 'CMDIF' CMDIF(bypass_deactivate_1h) ^~~~~ In file included from src/comfoair/message.cpp:4: src/comfoair/commands.h:17:124: error: expected ';' before '}' token #define CMD_bypass_deactivate_1h { 0x84, 0x15, 0x02, 0x01, 0x00, 0x00, 0x00, 0x00, 0x10, 0x0e, 0x00, 0x00, 0x02 } ^ src/comfoair/message.cpp:109:71: note: in expansion of macro 'CMD_bypass_deactivate_1h' return this->send(new std::vector<uint8_t>( CMD_ ## name )); \ ^~~~ src/comfoair/message.cpp:123:5: note: in expansion of macro 'CMDIF' CMDIF(bypass_deactivate_1h) ^~~~~ src/comfoair/comfoair.cpp:24:4: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] }); ^ src/comfoair/comfoair.cpp:48:5: note: in expansion of macro 'subscribe' subscribe("boost_30_min"); ^~~~~~~~~ src/comfoair/message.cpp:107:47: error: 'vector' in namespace 'std' does not name a template type this->send(new std::vector<uint8_t>( CMD_ ## name )); \ ^~~~~~ src/comfoair/message.cpp:124:5: note: in expansion of macro 'CMDIF' CMDIF(bypass_auto) ^~~~~ src/comfoair/message.cpp:107:42: note: 'std::vector' is defined in header '<vector>'; did you forget to '#include <vector>'? this->send(new std::vector<uint8_t>( CMD_ ## name )); \ ^~~ src/comfoair/message.cpp:124:5: note: in expansion of macro 'CMDIF' CMDIF(bypass_auto) ^~~~~ src/comfoair/message.cpp:107:61: error: expected primary-expression before '>' token this->send(new std::vector<uint8_t>( CMD_ ## name )); \ ^ src/comfoair/message.cpp:124:5: note: in expansion of macro 'CMDIF' CMDIF(bypass_auto) ^~~~~ In file included from src/comfoair/message.cpp:4: src/comfoair/commands.h:18:70: error: expected ';' before '}' token #define CMD_bypass_auto { 0x85, 0x15, 0x02, 0x01 } ^ src/comfoair/message.cpp:107:64: note: in expansion of macro 'CMD_bypass_auto' this->send(new std::vector<uint8_t>( CMD_ ## name )); \ ^~~~ src/comfoair/message.cpp:124:5: note: in expansion of macro 'CMDIF' CMDIF(bypass_auto) ^~~~~ src/comfoair/message.cpp:109:54: error: 'vector' in namespace 'std' does not name a template type return this->send(new std::vector<uint8_t>( CMD_ ## name )); \ ^~~~~~ src/comfoair/message.cpp:124:5: note: in expansion of macro 'CMDIF' CMDIF(bypass_auto) ^~~~~ src/comfoair/message.cpp:109:49: note: 'std::vector' is defined in header '<vector>'; did you forget to '#include <vector>'? return this->send(new std::vector<uint8_t>( CMD_ ## name )); \ ^~~ src/comfoair/message.cpp:124:5: note: in expansion of macro 'CMDIF' CMDIF(bypass_auto) ^~~~~ src/comfoair/message.cpp:109:68: error: expected primary-expression before '>' token return this->send(new std::vector<uint8_t>( CMD_ ## name )); \ ^ src/comfoair/message.cpp:124:5: note: in expansion of macro 'CMDIF' CMDIF(bypass_auto) ^~~~~ In file included from src/comfoair/message.cpp:4: src/comfoair/commands.h:18:70: error: expected ';' before '}' token #define CMD_bypass_auto { 0x85, 0x15, 0x02, 0x01 } ^ src/comfoair/message.cpp:109:71: note: in expansion of macro 'CMD_bypass_auto' return this->send(new std::vector<uint8_t>( CMD_ ## name )); \ ^~~~ src/comfoair/message.cpp:124:5: note: in expansion of macro 'CMDIF' CMDIF(bypass_auto) ^~~~~ src/comfoair/message.cpp:107:47: error: 'vector' in namespace 'std' does not name a template type this->send(new std::vector<uint8_t>( CMD_ ## name )); \ ^~~~~~ src/comfoair/message.cpp:125:5: note: in expansion of macro 'CMDIF' CMDIF(ventilation_supply_only) ^~~~~ src/comfoair/message.cpp:107:42: note: 'std::vector' is defined in header '<vector>'; did you forget to '#include <vector>'? this->send(new std::vector<uint8_t>( CMD_ ## name )); \ ^~~ src/comfoair/message.cpp:125:5: note: in expansion of macro 'CMDIF' CMDIF(ventilation_supply_only) ^~~~~ src/comfoair/comfoair.cpp:24:4: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] }); ^ src/comfoair/comfoair.cpp:49:5: note: in expansion of macro 'subscribe' subscribe("boost_60_min"); ^~~~~~~~~ src/comfoair/message.cpp:107:61: error: expected primary-expression before '>' token this->send(new std::vector<uint8_t>( CMD_ ## name )); \ ^ src/comfoair/message.cpp:125:5: note: in expansion of macro 'CMDIF' CMDIF(ventilation_supply_only) ^~~~~ In file included from src/comfoair/message.cpp:4: src/comfoair/commands.h:19:124: error: expected ';' before '}' token #define CMD_ventilation_supply_only { 0x84, 0x15, 0x06, 0x01, 0x00, 0x00, 0x00, 0x00, 0x10, 0x0e, 0x00, 0x00, 0x01 } ^ src/comfoair/message.cpp:107:64: note: in expansion of macro 'CMD_ventilation_supply_only' this->send(new std::vector<uint8_t>( CMD_ ## name )); \ ^~~~ src/comfoair/message.cpp:125:5: note: in expansion of macro 'CMDIF' CMDIF(ventilation_supply_only) ^~~~~ src/comfoair/message.cpp:109:54: error: 'vector' in namespace 'std' does not name a template type return this->send(new std::vector<uint8_t>( CMD_ ## name )); \ ^~~~~~ src/comfoair/message.cpp:125:5: note: in expansion of macro 'CMDIF' CMDIF(ventilation_supply_only) ^~~~~ src/comfoair/message.cpp:109:49: note: 'std::vector' is defined in header '<vector>'; did you forget to '#include <vector>'? return this->send(new std::vector<uint8_t>( CMD_ ## name )); \ ^~~ src/comfoair/message.cpp:125:5: note: in expansion of macro 'CMDIF' CMDIF(ventilation_supply_only) ^~~~~ src/comfoair/message.cpp:109:68: error: expected primary-expression before '>' token return this->send(new std::vector<uint8_t>( CMD_ ## name )); \ ^ src/comfoair/message.cpp:125:5: note: in expansion of macro 'CMDIF' CMDIF(ventilation_supply_only) ^~~~~ In file included from src/comfoair/message.cpp:4: src/comfoair/commands.h:19:124: error: expected ';' before '}' token #define CMD_ventilation_supply_only { 0x84, 0x15, 0x06, 0x01, 0x00, 0x00, 0x00, 0x00, 0x10, 0x0e, 0x00, 0x00, 0x01 } ^ src/comfoair/message.cpp:109:71: note: in expansion of macro 'CMD_ventilation_supply_only' return this->send(new std::vector<uint8_t>( CMD_ ## name )); \ ^~~~ src/comfoair/message.cpp:125:5: note: in expansion of macro 'CMDIF' CMDIF(ventilation_supply_only) ^~~~~ src/comfoair/message.cpp:107:47: error: 'vector' in namespace 'std' does not name a template type this->send(new std::vector<uint8_t>( CMD_ ## name )); \ ^~~~~~ src/comfoair/message.cpp:126:5: note: in expansion of macro 'CMDIF' CMDIF(ventilation_supply_only_reset) ^~~~~ src/comfoair/message.cpp:107:42: note: 'std::vector' is defined in header '<vector>'; did you forget to '#include <vector>'? this->send(new std::vector<uint8_t>( CMD_ ## name )); \ ^~~ src/comfoair/message.cpp:126:5: note: in expansion of macro 'CMDIF' CMDIF(ventilation_supply_only_reset) ^~~~~ src/comfoair/message.cpp:107:61: error: expected primary-expression before '>' token this->send(new std::vector<uint8_t>( CMD_ ## name )); \ ^ src/comfoair/message.cpp:126:5: note: in expansion of macro 'CMDIF' CMDIF(ventilation_supply_only_reset) ^~~~~ src/comfoair/comfoair.cpp:24:4: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] }); ^ src/comfoair/comfoair.cpp:50:5: note: in expansion of macro 'subscribe' subscribe("boost_end"); ^~~~~~~~~ In file included from src/comfoair/message.cpp:4: src/comfoair/commands.h:20:70: error: expected ';' before '}' token #define CMD_ventilation_supply_only_reset { 0x85, 0x15, 0x06, 0x01 } ^ src/comfoair/message.cpp:107:64: note: in expansion of macro 'CMD_ventilation_supply_only_reset' this->send(new std::vector<uint8_t>( CMD_ ## name )); \ ^~~~ src/comfoair/message.cpp:126:5: note: in expansion of macro 'CMDIF' CMDIF(ventilation_supply_only_reset) ^~~~~ src/comfoair/message.cpp:109:54: error: 'vector' in namespace 'std' does not name a template type return this->send(new std::vector<uint8_t>( CMD_ ## name )); \ ^~~~~~ src/comfoair/message.cpp:126:5: note: in expansion of macro 'CMDIF' CMDIF(ventilation_supply_only_reset) ^~~~~ src/comfoair/message.cpp:109:49: note: 'std::vector' is defined in header '<vector>'; did you forget to '#include <vector>'? return this->send(new std::vector<uint8_t>( CMD_ ## name )); \ ^~~ src/comfoair/message.cpp:126:5: note: in expansion of macro 'CMDIF' CMDIF(ventilation_supply_only_reset) ^~~~~ src/comfoair/message.cpp:109:68: error: expected primary-expression before '>' token return this->send(new std::vector<uint8_t>( CMD_ ## name )); \ ^ src/comfoair/message.cpp:126:5: note: in expansion of macro 'CMDIF' CMDIF(ventilation_supply_only_reset) ^~~~~ In file included from src/comfoair/message.cpp:4: src/comfoair/commands.h:20:70: error: expected ';' before '}' token #define CMD_ventilation_supply_only_reset { 0x85, 0x15, 0x06, 0x01 } ^ src/comfoair/message.cpp:109:71: note: in expansion of macro 'CMD_ventilation_supply_only_reset' return this->send(new std::vector<uint8_t>( CMD_ ## name )); \ ^~~~ src/comfoair/message.cpp:126:5: note: in expansion of macro 'CMDIF' CMDIF(ventilation_supply_only_reset) ^~~~~ src/comfoair/message.cpp:107:47: error: 'vector' in namespace 'std' does not name a template type this->send(new std::vector<uint8_t>( CMD_ ## name )); \ ^~~~~~ src/comfoair/message.cpp:127:5: note: in expansion of macro 'CMDIF' CMDIF(ventilation_extract_only) ^~~~~ src/comfoair/message.cpp:107:42: note: 'std::vector' is defined in header '<vector>'; did you forget to '#include <vector>'? this->send(new std::vector<uint8_t>( CMD_ ## name )); \ ^~~ src/comfoair/message.cpp:127:5: note: in expansion of macro 'CMDIF' CMDIF(ventilation_extract_only) ^~~~~ src/comfoair/message.cpp:107:61: error: expected primary-expression before '>' token this->send(new std::vector<uint8_t>( CMD_ ## name )); \ ^ src/comfoair/message.cpp:127:5: note: in expansion of macro 'CMDIF' CMDIF(ventilation_extract_only) ^~~~~ In file included from src/comfoair/message.cpp:4: src/comfoair/commands.h:21:124: error: expected ';' before '}' token #define CMD_ventilation_extract_only { 0x84, 0x15, 0x07, 0x01, 0x00, 0x00, 0x00, 0x00, 0x10, 0x0e, 0x00, 0x00, 0x00 } ^ src/comfoair/message.cpp:107:64: note: in expansion of macro 'CMD_ventilation_extract_only' this->send(new std::vector<uint8_t>( CMD_ ## name )); \ ^~~~ src/comfoair/message.cpp:127:5: note: in expansion of macro 'CMDIF' CMDIF(ventilation_extract_only) ^~~~~ src/comfoair/message.cpp:109:54: error: 'vector' in namespace 'std' does not name a template type return this->send(new std::vector<uint8_t>( CMD_ ## name )); \ ^~~~~~ src/comfoair/message.cpp:127:5: note: in expansion of macro 'CMDIF' CMDIF(ventilation_extract_only) ^~~~~ src/comfoair/message.cpp:109:49: note: 'std::vector' is defined in header '<vector>'; did you forget to '#include <vector>'? return this->send(new std::vector<uint8_t>( CMD_ ## name )); \ ^~~ src/comfoair/message.cpp:127:5: note: in expansion of macro 'CMDIF' CMDIF(ventilation_extract_only) ^~~~~ src/comfoair/message.cpp:109:68: error: expected primary-expression before '>' token return this->send(new std::vector<uint8_t>( CMD_ ## name )); \ ^ src/comfoair/message.cpp:127:5: note: in expansion of macro 'CMDIF' CMDIF(ventilation_extract_only) ^~~~~ In file included from src/comfoair/message.cpp:4: src/comfoair/commands.h:21:124: error: expected ';' before '}' token #define CMD_ventilation_extract_only { 0x84, 0x15, 0x07, 0x01, 0x00, 0x00, 0x00, 0x00, 0x10, 0x0e, 0x00, 0x00, 0x00 } ^ src/comfoair/message.cpp:109:71: note: in expansion of macro 'CMD_ventilation_extract_only' return this->send(new std::vector<uint8_t>( CMD_ ## name )); \ ^~~~ src/comfoair/message.cpp:127:5: note: in expansion of macro 'CMDIF' CMDIF(ventilation_extract_only) ^~~~~ src/comfoair/comfoair.cpp:24:4: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] }); ^ src/comfoair/comfoair.cpp:51:5: note: in expansion of macro 'subscribe' subscribe("auto"); ^~~~~~~~~ src/comfoair/message.cpp:107:47: error: 'vector' in namespace 'std' does not name a template type this->send(new std::vector<uint8_t>( CMD_ ## name )); \ ^~~~~~ src/comfoair/message.cpp:128:5: note: in expansion of macro 'CMDIF' CMDIF(ventilation_extract_only_reset) ^~~~~ src/comfoair/message.cpp:107:42: note: 'std::vector' is defined in header '<vector>'; did you forget to '#include <vector>'? this->send(new std::vector<uint8_t>( CMD_ ## name )); \ ^~~ src/comfoair/message.cpp:128:5: note: in expansion of macro 'CMDIF' CMDIF(ventilation_extract_only_reset) ^~~~~ src/comfoair/message.cpp:107:61: error: expected primary-expression before '>' token this->send(new std::vector<uint8_t>( CMD_ ## name )); \ ^ src/comfoair/message.cpp:128:5: note: in expansion of macro 'CMDIF' CMDIF(ventilation_extract_only_reset) ^~~~~ In file included from src/comfoair/message.cpp:4: src/comfoair/commands.h:22:70: error: expected ';' before '}' token #define CMD_ventilation_extract_only_reset { 0x85, 0x15, 0x07, 0x01 } ^ src/comfoair/message.cpp:107:64: note: in expansion of macro 'CMD_ventilation_extract_only_reset' this->send(new std::vector<uint8_t>( CMD_ ## name )); \ ^~~~ src/comfoair/message.cpp:128:5: note: in expansion of macro 'CMDIF' CMDIF(ventilation_extract_only_reset) ^~~~~ src/comfoair/message.cpp:109:54: error: 'vector' in namespace 'std' does not name a template type return this->send(new std::vector<uint8_t>( CMD_ ## name )); \ ^~~~~~ src/comfoair/message.cpp:128:5: note: in expansion of macro 'CMDIF' CMDIF(ventilation_extract_only_reset) ^~~~~ src/comfoair/message.cpp:109:49: note: 'std::vector' is defined in header '<vector>'; did you forget to '#include <vector>'? return this->send(new std::vector<uint8_t>( CMD_ ## name )); \ ^~~ src/comfoair/message.cpp:128:5: note: in expansion of macro 'CMDIF' CMDIF(ventilation_extract_only_reset) ^~~~~ src/comfoair/message.cpp:109:68: error: expected primary-expression before '>' token return this->send(new std::vector<uint8_t>( CMD_ ## name )); \ ^ src/comfoair/message.cpp:128:5: note: in expansion of macro 'CMDIF' CMDIF(ventilation_extract_only_reset) ^~~~~ In file included from src/comfoair/message.cpp:4: src/comfoair/commands.h:22:70: error: expected ';' before '}' token #define CMD_ventilation_extract_only_reset { 0x85, 0x15, 0x07, 0x01 } ^ src/comfoair/message.cpp:109:71: note: in expansion of macro 'CMD_ventilation_extract_only_reset' return this->send(new std::vector<uint8_t>( CMD_ ## name )); \ ^~~~ src/comfoair/message.cpp:128:5: note: in expansion of macro 'CMDIF' CMDIF(ventilation_extract_only_reset) ^~~~~ src/comfoair/message.cpp:107:47: error: 'vector' in namespace 'std' does not name a template type this->send(new std::vector<uint8_t>( CMD_ ## name )); \ ^~~~~~ src/comfoair/message.cpp:129:5: note: in expansion of macro 'CMDIF' CMDIF(temp_profile_normal) ^~~~~ src/comfoair/comfoair.cpp:24:4: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] }); ^ src/comfoair/comfoair.cpp:52:5: note: in expansion of macro 'subscribe' subscribe("manual"); ^~~~~~~~~ src/comfoair/message.cpp:107:42: note: 'std::vector' is defined in header '<vector>'; did you forget to '#include <vector>'? this->send(new std::vector<uint8_t>( CMD_ ## name )); \ ^~~ src/comfoair/message.cpp:129:5: note: in expansion of macro 'CMDIF' CMDIF(temp_profile_normal) ^~~~~ src/comfoair/message.cpp:107:61: error: expected primary-expression before '>' token this->send(new std::vector<uint8_t>( CMD_ ## name )); \ ^ src/comfoair/message.cpp:129:5: note: in expansion of macro 'CMDIF' CMDIF(temp_profile_normal) ^~~~~ In file included from src/comfoair/message.cpp:4: src/comfoair/commands.h:23:124: error: expected ';' before '}' token #define CMD_temp_profile_normal { 0x84, 0x15, 0x03, 0x01, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0xff, 0xff, 0x00 } ^ src/comfoair/message.cpp:107:64: note: in expansion of macro 'CMD_temp_profile_normal' this->send(new std::vector<uint8_t>( CMD_ ## name )); \ ^~~~ src/comfoair/message.cpp:129:5: note: in expansion of macro 'CMDIF' CMDIF(temp_profile_normal) ^~~~~ src/comfoair/message.cpp:109:54: error: 'vector' in namespace 'std' does not name a template type return this->send(new std::vector<uint8_t>( CMD_ ## name )); \ ^~~~~~ src/comfoair/message.cpp:129:5: note: in expansion of macro 'CMDIF' CMDIF(temp_profile_normal) ^~~~~ src/comfoair/message.cpp:109:49: note: 'std::vector' is defined in header '<vector>'; did you forget to '#include <vector>'? return this->send(new std::vector<uint8_t>( CMD_ ## name )); \ ^~~ src/comfoair/message.cpp:129:5: note: in expansion of macro 'CMDIF' CMDIF(temp_profile_normal) ^~~~~ src/comfoair/comfoair.cpp:24:4: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] }); ^ src/comfoair/comfoair.cpp:53:5: note: in expansion of macro 'subscribe' subscribe("bypass_activate_1h"); ^~~~~~~~~ src/comfoair/message.cpp:109:68: error: expected primary-expression before '>' token return this->send(new std::vector<uint8_t>( CMD_ ## name )); \ ^ src/comfoair/message.cpp:129:5: note: in expansion of macro 'CMDIF' CMDIF(temp_profile_normal) ^~~~~ In file included from src/comfoair/message.cpp:4: src/comfoair/commands.h:23:124: error: expected ';' before '}' token #define CMD_temp_profile_normal { 0x84, 0x15, 0x03, 0x01, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0xff, 0xff, 0x00 } ^ src/comfoair/message.cpp:109:71: note: in expansion of macro 'CMD_temp_profile_normal' return this->send(new std::vector<uint8_t>( CMD_ ## name )); \ ^~~~ src/comfoair/message.cpp:129:5: note: in expansion of macro 'CMDIF' CMDIF(temp_profile_normal) ^~~~~ src/comfoair/message.cpp:107:47: error: 'vector' in namespace 'std' does not name a template type this->send(new std::vector<uint8_t>( CMD_ ## name )); \ ^~~~~~ src/comfoair/message.cpp:130:5: note: in expansion of macro 'CMDIF' CMDIF(temp_profile_cool) ^~~~~ src/comfoair/message.cpp:107:42: note: 'std::vector' is defined in header '<vector>'; did you forget to '#include <vector>'? this->send(new std::vector<uint8_t>( CMD_ ## name )); \ ^~~ src/comfoair/message.cpp:130:5: note: in expansion of macro 'CMDIF' CMDIF(temp_profile_cool) ^~~~~ src/comfoair/message.cpp:107:61: error: expected primary-expression before '>' token this->send(new std::vector<uint8_t>( CMD_ ## name )); \ ^ src/comfoair/message.cpp:130:5: note: in expansion of macro 'CMDIF' CMDIF(temp_profile_cool) ^~~~~ In file included from src/comfoair/message.cpp:4: src/comfoair/commands.h:24:124: error: expected ';' before '}' token #define CMD_temp_profile_cool { 0x84, 0x15, 0x03, 0x01, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0xff, 0xff, 0x01 } ^ src/comfoair/message.cpp:107:64: note: in expansion of macro 'CMD_temp_profile_cool' this->send(new std::vector<uint8_t>( CMD_ ## name )); \ ^~~~ src/comfoair/message.cpp:130:5: note: in expansion of macro 'CMDIF' CMDIF(temp_profile_cool) ^~~~~ src/comfoair/message.cpp:109:54: error: 'vector' in namespace 'std' does not name a template type return this->send(new std::vector<uint8_t>( CMD_ ## name )); \ ^~~~~~ src/comfoair/message.cpp:130:5: note: in expansion of macro 'CMDIF' CMDIF(temp_profile_cool) ^~~~~ src/comfoair/message.cpp:109:49: note: 'std::vector' is defined in header '<vector>'; did you forget to '#include <vector>'? return this->send(new std::vector<uint8_t>( CMD_ ## name )); \ ^~~ src/comfoair/message.cpp:130:5: note: in expansion of macro 'CMDIF' CMDIF(temp_profile_cool) ^~~~~ src/comfoair/message.cpp:109:68: error: expected primary-expression before '>' token return this->send(new std::vector<uint8_t>( CMD_ ## name )); \ ^ src/comfoair/message.cpp:130:5: note: in expansion of macro 'CMDIF' CMDIF(temp_profile_cool) ^~~~~ src/comfoair/comfoair.cpp:24:4: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] }); ^ src/comfoair/comfoair.cpp:54:5: note: in expansion of macro 'subscribe' subscribe("bypass_deactivate_1h"); ^~~~~~~~~ In file included from src/comfoair/message.cpp:4: src/comfoair/commands.h:24:124: error: expected ';' before '}' token #define CMD_temp_profile_cool { 0x84, 0x15, 0x03, 0x01, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0xff, 0xff, 0x01 } ^ src/comfoair/message.cpp:109:71: note: in expansion of macro 'CMD_temp_profile_cool' return this->send(new std::vector<uint8_t>( CMD_ ## name )); \ ^~~~ src/comfoair/message.cpp:130:5: note: in expansion of macro 'CMDIF' CMDIF(temp_profile_cool) ^~~~~ src/comfoair/message.cpp:107:47: error: 'vector' in namespace 'std' does not name a template type this->send(new std::vector<uint8_t>( CMD_ ## name )); \ ^~~~~~ src/comfoair/message.cpp:131:5: note: in expansion of macro 'CMDIF' CMDIF(temp_profile_warm) ^~~~~ src/comfoair/message.cpp:107:42: note: 'std::vector' is defined in header '<vector>'; did you forget to '#include <vector>'? this->send(new std::vector<uint8_t>( CMD_ ## name )); \ ^~~ src/comfoair/message.cpp:131:5: note: in expansion of macro 'CMDIF' CMDIF(temp_profile_warm) ^~~~~ src/comfoair/message.cpp:107:61: error: expected primary-expression before '>' token this->send(new std::vector<uint8_t>( CMD_ ## name )); \ ^ src/comfoair/message.cpp:131:5: note: in expansion of macro 'CMDIF' CMDIF(temp_profile_warm) ^~~~~ In file included from src/comfoair/message.cpp:4: src/comfoair/commands.h:25:124: error: expected ';' before '}' token #define CMD_temp_profile_warm { 0x84, 0x15, 0x03, 0x01, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0xff, 0xff, 0x02 } ^ src/comfoair/message.cpp:107:64: note: in expansion of macro 'CMD_temp_profile_warm' this->send(new std::vector<uint8_t>( CMD_ ## name )); \ ^~~~ src/comfoair/message.cpp:131:5: note: in expansion of macro 'CMDIF' CMDIF(temp_profile_warm) ^~~~~ src/comfoair/message.cpp:109:54: error: 'vector' in namespace 'std' does not name a template type return this->send(new std::vector<uint8_t>( CMD_ ## name )); \ ^~~~~~ src/comfoair/message.cpp:131:5: note: in expansion of macro 'CMDIF' CMDIF(temp_profile_warm) ^~~~~ src/comfoair/message.cpp:109:49: note: 'std::vector' is defined in header '<vector>'; did you forget to '#include <vector>'? return this->send(new std::vector<uint8_t>( CMD_ ## name )); \ ^~~ src/comfoair/message.cpp:131:5: note: in expansion of macro 'CMDIF' CMDIF(temp_profile_warm) ^~~~~ src/comfoair/message.cpp:109:68: error: expected primary-expression before '>' token return this->send(new std::vector<uint8_t>( CMD_ ## name )); \ ^ src/comfoair/message.cpp:131:5: note: in expansion of macro 'CMDIF' CMDIF(temp_profile_warm) ^~~~~ In file included from src/comfoair/message.cpp:4: src/comfoair/commands.h:25:124: error: expected ';' before '}' token #define CMD_temp_profile_warm { 0x84, 0x15, 0x03, 0x01, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0xff, 0xff, 0x02 } ^ src/comfoair/message.cpp:109:71: note: in expansion of macro 'CMD_temp_profile_warm' return this->send(new std::vector<uint8_t>( CMD_ ## name )); \ ^~~~ src/comfoair/message.cpp:131:5: note: in expansion of macro 'CMDIF' CMDIF(temp_profile_warm) ^~~~~ src/comfoair/comfoair.cpp:24:4: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] }); ^ src/comfoair/comfoair.cpp:55:5: note: in expansion of macro 'subscribe' subscribe("bypass_auto"); ^~~~~~~~~ src/comfoair/comfoair.cpp:24:4: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] }); ^ src/comfoair/comfoair.cpp:56:5: note: in expansion of macro 'subscribe' subscribe("ventilation_supply_only"); ^~~~~~~~~ src/comfoair/comfoair.cpp:24:4: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] }); ^ src/comfoair/comfoair.cpp:57:5: note: in expansion of macro 'subscribe' subscribe("ventilation_supply_only_reset"); ^~~~~~~~~ src/comfoair/message.cpp: At global scope: src/comfoair/message.cpp:204:32: error: 'bool comfoair::ComfoMessage::send' is not a static data member of 'class comfoair::ComfoMessage' bool ComfoMessage::send(std::vector<uint8_t> *buf) { ^~~~~~ src/comfoair/message.cpp:204:32: error: 'vector' is not a member of 'std' src/comfoair/message.cpp:204:32: note: 'std::vector' is defined in header '<vector>'; did you forget to '#include <vector>'? src/comfoair/message.cpp:204:46: error: expected primary-expression before '>' token bool ComfoMessage::send(std::vector<uint8_t> *buf) { ^ src/comfoair/message.cpp:204:49: error: 'buf' was not declared in this scope bool ComfoMessage::send(std::vector<uint8_t> *buf) { ^~~ src/comfoair/comfoair.cpp:24:4: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] }); ^ src/comfoair/comfoair.cpp:58:5: note: in expansion of macro 'subscribe' subscribe("ventilation_extract_only"); ^~~~~~~~~ src/comfoair/comfoair.cpp:24:4: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] }); ^ src/comfoair/comfoair.cpp:59:5: note: in expansion of macro 'subscribe' subscribe("ventilation_extract_only_reset"); ^~~~~~~~~ src/comfoair/comfoair.cpp:24:4: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] }); ^ src/comfoair/comfoair.cpp:60:5: note: in expansion of macro 'subscribe' subscribe("temp_profile_normal"); ^~~~~~~~~ src/comfoair/comfoair.cpp:24:4: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] }); ^ src/comfoair/comfoair.cpp:61:5: note: in expansion of macro 'subscribe' subscribe("temp_profile_cool"); ^~~~~~~~~ src/comfoair/comfoair.cpp:24:4: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] }); ^ src/comfoair/comfoair.cpp:62:5: note: in expansion of macro 'subscribe' subscribe("temp_profile_warm"); ^~~~~~~~~ src/comfoair/comfoair.cpp:70:6: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] }); ^ src/comfoair/comfoair.cpp:80:6: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] }); ^ *** [.pio\build\wemos_d1_mini32\src\comfoair\message.cpp.o] Error 1 *** [.pio\build\wemos_d1_mini32\src\comfoair\comfoair.cpp.o] Error 1 ============================================ [FAILED] Took 9.18 seconds ============================================ Environment Status Duration --------------- -------- ------------ wemos_d1_mini32 FAILED 00:00:09.184
You have to add #include <vector>
in message.h
Thanks for your answer, but still unable to compile and upload.
Event tried with another ESP32 board. I think I'll have to learn a lot more before being able to understand any of it :-)
I still have errors Like this:
.pio/libdeps/remoteesp32/esp32_can/src/esp32_can.cpp:9:61: error: attributes after parenthesized initializer ignored [-fpermissive]
ESP32CAN CAN0(GPIO_NUM_16, GPIO_NUM_17) __attribute__((weak));
^
.pio/libdeps/remoteesp32/esp32_can/src/esp32_can.cpp:13:43: error: attributes after parenthesized initializer ignored [-fpermissive]
MCP2517FD CAN1(5, 27) __attribute__((weak));
^
*** [.pio\build\remoteesp32\lib271\esp32_can\esp32_can.cpp.o] Error 1
.pio/libdeps/remoteesp32/esp32_can/src/esp32_can_builtin.cpp: In member function 'virtual uint32_t ESP32CAN::init(uint32_t)':
I had the same errors as you.
ESP32CAN CAN0(GPIO_NUM_16, GPIO_NUM_17) attribute((weak));
=>
ESP32CAN __attribute__((weak)) CAN0(GPIO_NUM_16, GPIO_NUM_17) ;
Same for the others
Thank you pyto00,
As we have similar problem can you please share your files so I might be able to compile and upload.
Thanks for the help
@Peeka49
I still have a issue with comfoair.cpp Line24 Line70 Line80
Following issue
ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
Code snippet on line 24 from comfoair.cpp
#define subscribe(command) mqtt->subscribeTo(MQTT_PREFIX "/commands/" command, [this](char const * _1,uint8_t const * _2, int _3) { \ Serial.print("Received: "); \ Serial.println(command); \ this->comfoMessage.sendCommand(command); \ });
Probably same situation for you ?
How do you define MQTT_PORT in secets.h ? I also have a invalid conversion error for that line
I've changed the esp32_can line in platformio.ini to:
esp32_can=https://github.com/collin80/esp32_can.git#0fb9878a77935d2995e094d196971009e0da3c48
in src/comfoair/message.h added:
#include <vector>
It compiles, with some warnings. I tested it, but no dice.
WiFi Connected. IP:
192.168.49.54
ESP_SMT init
ESPVMC init
Attempting MQTT connection...connected
Subscribing to: comfoair/commands/auto
Subscribing to: comfoair/commands/boost_10_min
assert failed: xTaskRemoveFromEventList tasks.c:3657 (pxUnblockedTCB)
Backtrace:0x40083835:0x3ffb23400x4008b7e9:0x3ffb2360 0x40090ca9:0x3ffb2380 0x4008d586:0x3ffb24b0 0x4008c8b8:0x3ffb24d0 0x40100c32:0x3ffb2510 0x40100f61:0x3ffb2530 0x400efb26:0x3ffb2550 0x400f14b8:0x3ffb2580 0x400ead15:0x3ffb2620 0x400d8522:0x3ffb2690 0x400d7ab0:0x3ffb26f0 0x400d7e1d:0x3ffb2710 0x400d7e35:0x3ffb2730 0x400d4adb:0x3ffb2750 0x400d4ba3:0x3ffb2790 0x400d4c1e:0x3ffb27e0 0x400d49bc:0x3ffb2800 0x400e0b51:0x3ffb2820
I was able to find & restore the previous firmware.bin from 2022.03.25.
@Peeka49 I Was finally able to get a clean compilation tnx to @svde for his input
In Platformio.ini
I have eddited the lib_deps as following
can_common=https://github.com/collin80/can_common.git
esp32_can=https://github.com/collin80/esp32_can.git
knolleary/PubSubClient@^2.8
Now I need to get the mqtt part going
@pyto00 That's great, I'll try tonight as well.
Regarding the MQTT, I think you need first to setup MQTT in home assistant in order to have MQTT host and MQTT user.
I followed this tutorial "https://www.youtube.com/watch?v=dqTn-Gk4Qeo" and it is quite straight forward, but still need to try everything :-)
@Peeka49 I Was finally able to get a clean compilation tnx to @svde for his input
In Platformio.ini I have eddited the lib_deps as following
can_common=https://github.com/collin80/can_common.git
esp32_can=https://github.com/collin80/esp32_can.git
knolleary/PubSubClient@^2.8
Now I need to get the mqtt part going
Hi - did you ever get the MQTT working? The core crashes on my side with the following result.
Attempting MQTT connection...Guru Meditation Error: Core 1 panic'ed (StoreProhibited). Exception was unhandled.
Core 1 register dump:
PC : 0x4008e731 PS : 0x00060133 A0 : 0x8008d4ed A1 : 0x3ffb24a0
A2 : 0x3ffb7494 A3 : 0x3ffc470c A4 : 0x00000004 A5 : 0x00060123
A6 : 0x00060123 A7 : 0x00000001 A8 : 0x00000060 A9 : 0x00000000
A10 : 0xb33fffff A11 : 0x3ffd08b8 A12 : 0x3ffd23e0 A13 : 0x00000003
A14 : 0x007bf188 A15 : 0x003fffff SAR : 0x0000000f EXCCAUSE: 0x0000001d
EXCVADDR: 0xb3400007 LBEG : 0x400f4301 LEND : 0x400f430e LCOUNT : 0x00000000
Backtrace:0x4008e72e:0x3ffb24a00x4008d4ea:0x3ffb24c0 0x4008c7ec:0x3ffb24e0 0x40103b52:0x3ffb2520 0x40103e81:0x3ffb2540 0x400f2986:0x3ffb2560 0x400f4328:0x3ffb2590 0x400eb075:0x3ffb2630 0x400d837a:0x3ffb26a0 0x400d7930:0x3ffb2700 0x400d7b0c:0x3ffb2720 0x400d7b8e:0x3ffb2760 0x400d4aab:0x3ffb2790 0x400d4b3e:0x3ffb27e0 0x400d48f9:0x3ffb2800 0x400e0afd:0x3ffb2820
ELF file SHA256: 0000000000000000
Did anyone of you have had that issue and found solution?
@Peeka49 I Was finally able to get a clean compilation tnx to @svde for his input In Platformio.ini I have eddited the lib_deps as following
can_common=https://github.com/collin80/can_common.git
esp32_can=https://github.com/collin80/esp32_can.git
knolleary/PubSubClient@^2.8
Now I need to get the mqtt part goingHi - did you ever get the MQTT working? The core crashes on my side with the following result.
Attempting MQTT connection...Guru Meditation Error: Core 1 panic'ed (StoreProhibited). Exception was unhandled.
Core 1 register dump: PC : 0x4008e731 PS : 0x00060133 A0 : 0x8008d4ed A1 : 0x3ffb24a0 A2 : 0x3ffb7494 A3 : 0x3ffc470c A4 : 0x00000004 A5 : 0x00060123 A6 : 0x00060123 A7 : 0x00000001 A8 : 0x00000060 A9 : 0x00000000 A10 : 0xb33fffff A11 : 0x3ffd08b8 A12 : 0x3ffd23e0 A13 : 0x00000003 A14 : 0x007bf188 A15 : 0x003fffff SAR : 0x0000000f EXCCAUSE: 0x0000001d EXCVADDR: 0xb3400007 LBEG : 0x400f4301 LEND : 0x400f430e LCOUNT : 0x00000000
Backtrace:0x4008e72e:0x3ffb24a00x4008d4ea:0x3ffb24c0 0x4008c7ec:0x3ffb24e0 0x40103b52:0x3ffb2520 0x40103e81:0x3ffb2540 0x400f2986:0x3ffb2560 0x400f4328:0x3ffb2590 0x400eb075:0x3ffb2630 0x400d837a:0x3ffb26a0 0x400d7930:0x3ffb2700 0x400d7b0c:0x3ffb2720 0x400d7b8e:0x3ffb2760 0x400d4aab:0x3ffb2790 0x400d4b3e:0x3ffb27e0 0x400d48f9:0x3ffb2800 0x400e0afd:0x3ffb2820
ELF file SHA256: 0000000000000000
Did anyone of you have had that issue and found solution?
Hi - I got the issue resolved by modifying platformio.ini file, and adding @3.3.0 platform code as presented below platform = platformio/espressif32@3.3.0
The issue was covered in the following topic. Thanks! https://github.com/vekexasia/comfoair-esp32/issues/19#issuecomment-1125978144
Hello, can someone help me?
I want to send just a random canmessage to test the communciation between my arduino nano (with can converter) and the comfoair q450.
I've tried this example: https://github.com/michaelarnauts/comfoconnect/blob/master/PROTOCOL-RMI.md
can1 1F011074 [5] 01 1D 01 10 0A
But I don't get a reaction back of the unit, do I need to sent something else first, to wake it up maybe?
Thanks!
Hello, I need help to get a clean compilation. My platformio.ini:
[env:wemos_d1_mini32] platform = platformio/espressif32@3.5.0 board = esp32dev framework = arduino monitor_speed = 115200 upload_port = COM9 monitor_port = COM9 lib_deps = SPI can_common=https://github.com/collin80/can_common.git esp32_can=https://github.com/collin80/esp32_can.git#0fb9878a77935d2995e094d196971009e0da3c48 https://github.com/knolleary/pubsubclient.git
During compiling I get theses errors.
Processing wemos_d1_mini32 (platform: platformio/espressif32@3.5.0; board: esp32dev; framework: arduino)
----------------------------------------------------------------------------------------------------------------------------------------------Verbose mode can be enabled via -v, --verbose option
CONFIGURATION: https://docs.platformio.org/page/boards/espressif32/esp32dev.html
PLATFORM: Espressif 32 (3.5.0) > Espressif ESP32 Dev Module
HARDWARE: ESP32 240MHz, 320KB RAM, 4MB Flash
DEBUG: Current (esp-prog) External (esp-prog, iot-bus-jtag, jlink, minimodule, olimex-arm-usb-ocd, olimex-arm-usb-ocd-h, olimex-arm-usb-tiny-h, olimex-jtag-tiny, tumpa)
PACKAGES:
- framework-arduinoespressif32 @ 3.10006.210326 (1.0.6)
- tool-esptoolpy @ 1.30100.210531 (3.1.0)
- tool-mkspiffs @ 2.230.0 (2.30)
- toolchain-xtensa32 @ 2.50200.97 (5.2.0)
LDF: Library Dependency Finder -> https://bit.ly/configure-pio-ldf
LDF Modes: Finder ~ chain, Compatibility ~ soft
Found 32 compatible libraries
Scanning dependencies...
Dependency Graph
|-- SPI @ 1.0
|-- can_common @ 0.3.0+sha.07605a2
|-- ESP32_CAN @ 0.2.5+sha.0fb9878
|-- PubSubClient @ 2.8.0+sha.2d228f2
|-- WiFi @ 1.0
|-- ESPmDNS @ 1.0
|-- Update @ 1.0
|-- WebServer @ 1.0
Building in release mode
Compiling .pio\build\wemos_d1_mini32\src\comfoair\comfoair.cpp.o
Compiling .pio\build\wemos_d1_mini32\src\comfoair\message.cpp.o
Compiling .pio\build\wemos_d1_mini32\src\mqtt\mqtt.cpp.o
Compiling .pio\build\wemos_d1_mini32\src\wifi\wifi.cpp.o
Archiving .pio\build\wemos_d1_mini32\lib1fa\libSPI.a
src/wifi/wifi.cpp:1:24: fatal error: ../secrets.h: No such file or directory
compilation terminated.
Compiling .pio\build\wemos_d1_mini32\lib535\can_common\can_common.cpp.o
Compiling .pio\build\wemos_d1_mini32\lib36b\esp32_can\esp32_can.cpp.o
Compiling .pio\build\wemos_d1_mini32\lib36b\esp32_can\esp32_can_builtin.cpp.o
*** [.pio\build\wemos_d1_mini32\src\wifi\wifi.cpp.o] Error 1
In file included from src/comfoair/comfoair.cpp:2:0:
src/comfoair/commands.h:3:24: fatal error: ../secrets.h: No such file or directory
In file included from src/comfoair/message.cpp:4:0:
src/comfoair/commands.h:3:24: fatal error: ../secrets.h: No such file or directory
compilation terminated.
compilation terminated.
*** [.pio\build\wemos_d1_mini32\src\comfoair\comfoair.cpp.o] Error 1
*** [.pio\build\wemos_d1_mini32\src\comfoair\message.cpp.o] Error 1
src/mqtt/mqtt.cpp:4:24: fatal error: ../secrets.h: No such file or directory
compilation terminated.
*** [.pio\build\wemos_d1_mini32\src\mqtt\mqtt.cpp.o] Error 1
========================================================= [FAILED] Took 4.46 seconds =========================================================
In src/comfoair/message.h I added :
'#include
Is there anybody who can help me?
Can anyone provide a short description on how to install this on an ESP32? Or refer to a proper documentation?
I managed to install the included libraries wifi, comfoair, mqtt and ota by adding them to the libraries folder of the IDE. But it is missing the esp32_can.h
Where do I find the correct library for the CAN controller?