thingsboard-client-sdk
thingsboard-client-sdk copied to clipboard
not compatible with esp32 v2 core
ThingsBoard.h:34:18: error: default template arguments may not be used in template friend declarations friend class ThingsBoardSized; ThingsBoard.h:39:18: error: default template arguments may not be used in template friend declarations friend class ThingsBoardHttpSized; ThingsBoard.h:1180:38: error: wrong number of template arguments (0, should be 3) using ThingsBoard = ThingsBoardSized<>; ThingsBoard.h:34:18: note: provided for 'template<unsigned int PayloadSize, unsigned int MaxFieldsAmt, class Logger> class ThingsBoardSized' friend class ThingsBoardSized;
Hi @kang2k10 ,
Thank you for your interest in ThingsBoard Arduino SDK, please provide a more information about your environment:
- What operation system you use?
- What version of Arduino IDE you use? (If you don't use an Arduino IDE, what the version of your gcc?)
Hi. Windows 10 Arduino IDE v1.8.13 if i downgrade esp32 core to v.1.0.6 compiling with out error
@imbeacon I think this issue can be closed, all usages of friend classes has been removed as well and now use simple getter and setters.