wappsto / arduino_wappstoiot Goto Github PK
View Code? Open in Web Editor NEWLicense: MIT License
License: MIT License
From version 6.18.0 ArduinoJson changes the handling of char
and breaks the included test of the WappstoIoT library.
Example errors when testing with ArduinoJson 6.21.3:
In file included from ../../libraries/ArduinoJson/src/ArduinoJson/Document/BasicJsonDocument.hpp:7,
from ../../libraries/ArduinoJson/src/ArduinoJson/Document/DynamicJsonDocument.hpp:7,
from ../../libraries/ArduinoJson/src/ArduinoJson.hpp:33,
from ../../libraries/ArduinoJson/src/ArduinoJson.h:9,
from ../../libraries/ArduinoJson/ArduinoJson.h:5,
from /home/tsvetomir/projects/arduino_wappstoiot/extras/.././src/WappstoRpc.h:4,
from /home/tsvetomir/projects/arduino_wappstoiot/extras/.././src/WappstoModel.h:4,
from /home/tsvetomir/projects/arduino_wappstoiot/extras/.././src/Device.h:4,
from /home/tsvetomir/projects/arduino_wappstoiot/extras/.././src/Device.cpp:1:
../../libraries/ArduinoJson/src/ArduinoJson/Variant/ConverterImpl.hpp: In instantiation of ‘static void ArduinoJson::V6213HB4::Converter<T, Enable>::toJson(const T&, ArduinoJson::V6213HB4::JsonVariant) [with T = String; Enable = void]’:
../../libraries/ArduinoJson/src/ArduinoJson/Variant/VariantRefBase.hpp:126:25: required from ‘bool ArduinoJson::V6213HB4::detail::VariantRefBase<TDerived>::set(const T&) const [with T = String; TDerived = ArduinoJson::V6213HB4::detail::MemberProxy<ArduinoJson::V6213HB4::JsonObject, const char*>]’
../../libraries/ArduinoJson/src/ArduinoJson/Object/MemberProxy.hpp:33:14: required from ‘ArduinoJson::V6213HB4::detail::MemberProxy< <template-parameter-1-1>, <template-parameter-1-2> >& ArduinoJson::V6213HB4::detail::MemberProxy< <template-parameter-1-1>, <template-parameter-1-2> >::operator=(const T&) [with T = String; TUpstream = ArduinoJson::V6213HB4::JsonObject; TStringRef = const char*]’
/home/tsvetomir/projects/arduino_wappstoiot/extras/.././src/Device.cpp:21:26: required from here
../../libraries/ArduinoJson/src/ArduinoJson/Document/JsonDocument.hpp:321:13: note: candidate: ‘void ArduinoJson::V6213HB4::convertToJson(const ArduinoJson::V6213HB4::JsonDocument&, ArduinoJson::V6213HB4::JsonVariant)’
321 | inline void convertToJson(const JsonDocument& src, JsonVariant dst) {
| ^~~~~~~~~~~~~
../../libraries/ArduinoJson/src/ArduinoJson/Document/JsonDocument.hpp:321:47: note: no known conversion for argument 1 from ‘const String’ to ‘const ArduinoJson::V6213HB4::JsonDocument&’
321 | inline void convertToJson(const JsonDocument& src, JsonVariant dst) {
|
In the state header file there is 2 functions that are not implemented....
arduino_wappstoiot/src/State.h
Line 12 in 69824bc
Getting overload errors when compiling
Value.cpp:227:51: error: call of overloaded 'String(double&, uint8_t&)' is ambiguous
If there is function access the variable, it should be private...
arduino_wappstoiot/src/Network.h
Line 18 in 69824bc
All timestamps points to the same buffer.
Why not add XML?
The Naming convention of the create custom values do not fit the other Wappsto libraries.
They need to be:
createStringValue
createNumberValue
createBlobValue
createXMLValue
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.