Giter VIP home page Giter VIP logo

arduino_wappstoiot's People

Contributors

andreasbomholtz avatar karstentonnesenseluxit avatar tacozmacleo avatar tsvetomir-ivanov avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

arduino_wappstoiot's Issues

Upgrade ArduinoJson library to version > 6.17.3

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) {
      | 

Overload error

Getting overload errors when compiling

Value.cpp:227:51: error: call of overloaded 'String(double&, uint8_t&)' is ambiguous

CreateValue Naming convention.

The Naming convention of the create custom values do not fit the other Wappsto libraries.
They need to be:

  • createStringValue
  • createNumberValue
  • createBlobValue
  • createXMLValue

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.