bw16-kit-v1.0 attachDataStorage 编辑报错-Arduino中文社区 - Powered by Discuz!

Arduino中文社区

 找回密码
 立即注册

QQ登录

只需一步,快速开始

查看: 793|回复: 4

[已解答] bw16-kit-v1.0 attachDataStorage 编辑报错

[复制链接]
发表于 2022-7-30 12:02 | 显示全部楼层 |阅读模式
  1. In file included from d:\documents\arduino\libraries\blinker\src\modules\arduinojson\arduinojson\strings\stringadapters.hpp:35:0,
  2.                  from d:\documents\arduino\libraries\blinker\src\modules\arduinojson\arduinojson\misc\serializedvalue.hpp:7,
  3.                  from d:\documents\arduino\libraries\blinker\src\modules\arduinojson\arduinojson\variant\variantdata.hpp:7,
  4.                  from d:\documents\arduino\libraries\blinker\src\modules\arduinojson\ArduinoJson/Array/ArrayRef.hpp:7,
  5.                  from d:\documents\arduino\libraries\blinker\src\modules\arduinojson\ArduinoJson.hpp:17,
  6.                  from d:\documents\arduino\libraries\blinker\src\modules\arduinojson\arduinojson.h:9,
  7.                  from D:\Documents\Arduino\libraries\Blinker\src/Blinker/BlinkerApi.h:63,
  8.                  from D:\Documents\Arduino\libraries\Blinker\src/BlinkerSerialESPMQTT.h:5,
  9.                  from D:\Documents\Arduino\libraries\Blinker\src/Blinker.h:54,
  10.                  from D:\Repos_my\IoT\shtc3_blinker\shtc3_blinker.ino:13:
  11. d:\documents\arduino\libraries\blinker\src\modules\arduinojson\arduinojson\strings\SizedFlashStringAdapter.hpp: In member function 'int8_t ArduinoJson6111_00000::SizedFlashStringAdapter::compare(const char*) const':
  12. d:\documents\arduino\libraries\blinker\src\modules\arduinojson\arduinojson\strings\SizedFlashStringAdapter.hpp:18:72: error: 'strncmp_P' was not declared in this scope
  13.      return -strncmp_P(other, reinterpret_cast<const char*>(_str), _size);
  14.                                                                         ^
  15. In file included from C:\Users\ijiang\AppData\Local\Arduino15\packages\realtek\hardware\AmebaD\3.1.3\system/component/soc/realtek/amebad/fwlib/include/ameba_soc.h:15:0,
  16.                  from C:\Users\ijiang\AppData\Local\Arduino15\packages\realtek\hardware\AmebaD\3.1.3\system/component/soc/realtek/amebad/cmsis/cmsis.h:35,
  17.                  from C:\Users\ijiang\AppData\Local\Arduino15\packages\realtek\hardware\AmebaD\3.1.3\system/component/common/mbed/targets/hal/rtl8721d/PinNames.h:5,
  18.                  from C:\Users\ijiang\AppData\Local\Arduino15\packages\realtek\hardware\AmebaD\3.1.3\variants\rtl8720dn_bw16/variant.h:30,
  19.                  from C:\Users\ijiang\AppData\Local\Arduino15\packages\realtek\hardware\AmebaD\3.1.3\cores\ambd/Arduino.h:126,
  20.                  from sketch\shtc3_blinker.ino.cpp:1:
  21. d:\documents\arduino\libraries\blinker\src\modules\arduinojson\arduinojson\polyfills\ctype.hpp: At global scope:
  22. d:\documents\arduino\libraries\blinker\src\modules\arduinojson\arduinojson\polyfills\ctype.hpp:9:13: error: expected ')' before 'char'
  23. inline bool isdigit(char c) {
  24.              ^
  25. In file included from D:\Documents\Arduino\libraries\Blinker\src/Blinker/BlinkerApi.h:96:0,
  26.                  from D:\Documents\Arduino\libraries\Blinker\src/BlinkerSerialESPMQTT.h:5,
  27.                  from D:\Documents\Arduino\libraries\Blinker\src/Blinker.h:54,
  28.                  from D:\Repos_my\IoT\shtc3_blinker\shtc3_blinker.ino:13:
  29. D:\Documents\Arduino\libraries\Blinker\src/Blinker/BlinkerProtocol.h: In member function 'void BlinkerProtocol::autoFormatData(const String&, const String&)':
  30. D:\Documents\Arduino\libraries\Blinker\src/Blinker/BlinkerProtocol.h:418:53: warning: unused parameter 'key' [-Wunused-parameter]
  31. void BlinkerProtocol::autoFormatData(const String & key, const String & jsonValue)
  32.                                                      ^~~
  33. In file included from D:\Documents\Arduino\libraries\Blinker\src/BlinkerSerialESPMQTT.h:5:0,
  34.                  from D:\Documents\Arduino\libraries\Blinker\src/Blinker.h:54,
  35.                  from D:\Repos_my\IoT\shtc3_blinker\shtc3_blinker.ino:13:
  36. D:\Documents\Arduino\libraries\Blinker\src/Blinker/BlinkerApi.h: In member function 'void BlinkerApi::printNumArray(char*, const String&)':
  37. D:\Documents\Arduino\libraries\Blinker\src/Blinker/BlinkerApi.h:5088:61: warning: unused parameter 'data' [-Wunused-parameter]
  38. void BlinkerApi::printNumArray(char * _name, const String & data)
  39.                                                              ^~~~
  40. D:\Documents\Arduino\libraries\Blinker\src/Blinker/BlinkerApi.h: In member function 'void BlinkerApi::initCheck(const String&, uint32_t)':
  41. D:\Documents\Arduino\libraries\Blinker\src/Blinker/BlinkerApi.h:14734:63: warning: unused parameter 'timeout' [-Wunused-parameter]
  42.      void BlinkerApi::initCheck(const String & _data, uint32_t timeout)
  43.                                                                ^~~~~~~
  44. D:\Documents\Arduino\libraries\Blinker\src/Blinker/BlinkerApi.h: In member function 'void BlinkerApi::duerPrint(String&, bool)':
  45. D:\Documents\Arduino\libraries\Blinker\src/Blinker/BlinkerApi.h:15063:52: warning: unused parameter 'report' [-Wunused-parameter]
  46.      void BlinkerApi::duerPrint(String & _msg, bool report)
  47.                                                     ^~~~~~
  48. D:\Repos_my\IoT\shtc3_blinker\shtc3_blinker.ino: In function 'void setup()':
  49. shtc3_blinker:32:11: error: 'class BlinkerSerialESPMQTT' has no member named 'attachDataStorage'; did you mean 'attachData'?
  50.    Blinker.attachDataStorage(dataStorage);//关联回调函数,开启历史数据存储功能
  51.            ^~~~~~~~~~~~~~~~~
  52. D:\Repos_my\IoT\shtc3_blinker\shtc3_blinker.ino: In function 'void loop()':
  53. D:\Repos_my\IoT\shtc3_blinker\shtc3_blinker.ino:39:24: warning: unused variable 'result' [-Wunused-variable]
  54.    SHTC3_Status_TypeDef result = mySHTC3.update();
  55.                         ^~~~~~
  56. D:\Repos_my\IoT\shtc3_blinker\shtc3_blinker.ino: In function 'void dataStorage()':
  57. shtc3_blinker:60:12: error: 'class BlinkerSerialESPMQTT' has no member named 'dataStorage'; did you mean '_dataStorageFunc'?
  58.     Blinker.dataStorage("num-temp", T);//键值可以跟blinker number一样或者不一样
  59.             ^~~~~~~~~~~
  60. shtc3_blinker:61:12: error: 'class BlinkerSerialESPMQTT' has no member named 'dataStorage'; did you mean '_dataStorageFunc'?
  61.     Blinker.dataStorage("num-rh", RH);
  62.             ^~~~~~~~~~~
  63. exit status 1
  64. 'class BlinkerSerialESPMQTT' has no member named 'attachDataStorage'; did you mean 'attachData'?
复制代码






 楼主| 发表于 2022-8-8 11:33 | 显示全部楼层
https://www.amebaiot.com/en/amebad-bw16-arduino-getting-started/

blinker支持这个吗? 有什么解决方法么?
发表于 2022-8-8 16:23 | 显示全部楼层
whatda 发表于 2022-8-8 11:33
https://www.amebaiot.com/en/amebad-bw16-arduino-getting-started/

blinker支持这个吗? 有什么解决方法 ...

暂不支持该芯片(RTL720DN)的开发板
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

小黑屋|Archiver|手机版|Arduino中文社区

GMT+8, 2024-11-28 08:47 , Processed in 0.106644 second(s), 22 queries .

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

快速回复 返回顶部 返回列表