thingsboard-client-sdk icon indicating copy to clipboard operation
thingsboard-client-sdk copied to clipboard

not compatible with esp32 v2 core

Open kang2k10 opened this issue 3 years ago • 2 comments

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;

kang2k10 avatar Oct 19 '21 12:10 kang2k10

Hi @kang2k10 ,

Thank you for your interest in ThingsBoard Arduino SDK, please provide a more information about your environment:

  1. What operation system you use?
  2. What version of Arduino IDE you use? (If you don't use an Arduino IDE, what the version of your gcc?)

imbeacon avatar Oct 19 '21 12:10 imbeacon

Hi. Windows 10 Arduino IDE v1.8.13 if i downgrade esp32 core to v.1.0.6 compiling with out error

kang2k10 avatar Oct 19 '21 13:10 kang2k10

@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.

MathewHDYT avatar Mar 13 '23 13:03 MathewHDYT