toblum / McLighting

The ESP8266 based multi-client lighting gadget
MIT License
1.05k stars 291 forks source link

Experimental #445

Closed geyseran closed 5 years ago

geyseran commented 5 years ago

I would like to test the mesh networking with neo pixels

toblum commented 5 years ago

Hi @geyseran, the experimental branch can't be merged to master, because this would break the project for all. Why don't you just checkout the experimental branch and test with that?

Regards

geyseran commented 5 years ago

Hi Tobias,

I cannot download the project as a zip file? See screenshot:

Regards,

Andre

From: Tobias Blum notifications@github.com Sent: Monday, 02 September 2019 21:13 To: toblum/McLighting McLighting@noreply.github.com Cc: geyseran andre.geyser@telkomsa.net; Mention mention@noreply.github.com Subject: Re: [toblum/McLighting] Experimental (#445)

Hi @geyseran https://github.com/geyseran , the experimental branch can't be merged to master, because this would break the project for all. Why don't you just checkout the experimental branch and test with that?

Regards

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/toblum/McLighting/pull/445?email_source=notifications&email_token=AE4NCJWC5JMKDIG4RXX7YE3QHVQUDA5CNFSM4ISX65FKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD5WNRLQ#issuecomment-527227054 , or mute the thread https://github.com/notifications/unsubscribe-auth/AE4NCJXIKTDB2CR3GSK2XE3QHVQUDANCNFSM4ISX65FA . https://github.com/notifications/beacon/AE4NCJSHQSIFC3BYGCZDHZDQHVQUDA5CNFSM4ISX65FKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD5WNRLQ.gif


This email has been checked for viruses by Avast antivirus software. https://www.avast.com/antivirus

toblum commented 5 years ago

I can't see the screenshot. Just use this link: https://github.com/toblum/McLighting/archive/experimental.zip

geyseran commented 5 years ago

Hi Tobias,

Thank you for the link. I tried to compile the server sketch with ArduinoJson by Benoit Blanchon library version 5.13.1 and version 6.11.5. I get a number of errors. See attached error log files for both library versions? What would be causing the compile errors?

My board settings are the same as in your experimental pictures?

Regards,

Andre

From: Tobias Blum notifications@github.com Sent: Tuesday, 03 September 2019 21:47 To: toblum/McLighting McLighting@noreply.github.com Cc: geyseran andre.geyser@telkomsa.net; Mention mention@noreply.github.com Subject: Re: [toblum/McLighting] Experimental (#445)

I can't see the screenshot. Just use this link: https://github.com/toblum/McLighting/archive/experimental.zip

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/toblum/McLighting/pull/445?email_source=notifications&email_token=AE4NCJUCL5FMJR6YPFLPY2LQH25L5A5CNFSM4ISX65FKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD5ZLFVA#issuecomment-527610580 , or mute the thread https://github.com/notifications/unsubscribe-auth/AE4NCJRRIYGDNVWKN4F3CWTQH25L5ANCNFSM4ISX65FA . https://github.com/notifications/beacon/AE4NCJSELIGHTRGSHIKE4E3QH25L5A5CNFSM4ISX65FKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD5ZLFVA.gif


This email has been checked for viruses by Avast antivirus software. https://www.avast.com/antivirus

Arduino: 1.8.9 (Windows 10), Board: "NodeMCU 1.0 (ESP-12E Module), 80 MHz, Flash, Disabled, All SSL ciphers (most compatible), 4M (1M SPIFFS), v2 Lower Memory, Disabled, None, Sketch + WiFi Settings, 115200"

In file included from C:\Users\Home\Documents\Arduino\libraries\painlessMesh\src/painlessmesh/layout.hpp:7:0,

             from C:\Users\Home\Documents\Arduino\libraries\painlessMesh\src/painlessMeshConnection.h:16,

             from C:\Users\Home\Documents\Arduino\libraries\painlessMesh\src/painlessMesh.h:21,

             from C:\Users\Home\Documents\Arduino\McLighting-experimental\McLighting-experimental\Arduino\MeshyMcLighting\MeshyMcLightingServer\MeshyMcLightingServer.ino:3:

C:\Users\Home\Documents\Arduino\libraries\painlessMesh\src/painlessmesh/protocol.hpp: In member function 'virtual ArduinoJson::JsonObject painlessmesh::protocol::Single::addTo(ArduinoJson::JsonObject&&) const':

C:\Users\Home\Documents\Arduino\libraries\painlessMesh\src/painlessmesh/protocol.hpp:82:12: error: use of deleted function 'ArduinoJson::JsonObject::JsonObject(const ArduinoJson::JsonObject&)'

 return jsonObj;

        ^

In file included from C:\Users\Home\Documents\Arduino\libraries\ArduinoJson\src/ArduinoJson.hpp:9:0,

             from C:\Users\Home\Documents\Arduino\libraries\ArduinoJson\src/ArduinoJson.h:9,

             from C:\Users\Home\Documents\Arduino\libraries\painlessMesh\src/painlessmesh/configuration.hpp:14,

             from C:\Users\Home\Documents\Arduino\libraries\painlessMesh\src/painlessMesh.h:11,

             from C:\Users\Home\Documents\Arduino\McLighting-experimental\McLighting-experimental\Arduino\MeshyMcLighting\MeshyMcLightingServer\MeshyMcLightingServer.ino:3:

C:\Users\Home\Documents\Arduino\libraries\ArduinoJson\src/ArduinoJson/JsonObject.hpp:40:7: note: 'ArduinoJson::JsonObject::JsonObject(const ArduinoJson::JsonObject&)' is implicitly deleted because the default definition would be ill-formed:

class JsonObject : public Internals::JsonPrintable,

   ^

In file included from C:\Users\Home\Documents\Arduino\libraries\ArduinoJson\src/ArduinoJson/Deserialization/../JsonBuffer.hpp:11:0,

             from C:\Users\Home\Documents\Arduino\libraries\ArduinoJson\src/ArduinoJson/Deserialization/JsonParser.hpp:7,

             from C:\Users\Home\Documents\Arduino\libraries\ArduinoJson\src/ArduinoJson/JsonBufferBase.hpp:7,

             from C:\Users\Home\Documents\Arduino\libraries\ArduinoJson\src/ArduinoJson/DynamicJsonBuffer.hpp:7,

             from C:\Users\Home\Documents\Arduino\libraries\ArduinoJson\src/ArduinoJson.hpp:7,

             from C:\Users\Home\Documents\Arduino\libraries\ArduinoJson\src/ArduinoJson.h:9,

             from C:\Users\Home\Documents\Arduino\libraries\painlessMesh\src/painlessmesh/configuration.hpp:14,

             from C:\Users\Home\Documents\Arduino\libraries\painlessMesh\src/painlessMesh.h:11,

             from C:\Users\Home\Documents\Arduino\McLighting-experimental\McLighting-experimental\Arduino\MeshyMcLighting\MeshyMcLightingServer\MeshyMcLightingServer.ino:3:

C:\Users\Home\Documents\Arduino\libraries\ArduinoJson\src/ArduinoJson/Deserialization/../Data/NonCopyable.hpp:17:3: error: 'ArduinoJson::Internals::NonCopyable::NonCopyable(const ArduinoJson::Internals::NonCopyable&)' is private

NonCopyable(const NonCopyable&);

^

In file included from C:\Users\Home\Documents\Arduino\libraries\ArduinoJson\src/ArduinoJson.hpp:9:0,

             from C:\Users\Home\Documents\Arduino\libraries\ArduinoJson\src/ArduinoJson.h:9,

             from C:\Users\Home\Documents\Arduino\libraries\painlessMesh\src/painlessmesh/configuration.hpp:14,

             from C:\Users\Home\Documents\Arduino\libraries\painlessMesh\src/painlessMesh.h:11,

             from C:\Users\Home\Documents\Arduino\McLighting-experimental\McLighting-experimental\Arduino\MeshyMcLighting\MeshyMcLightingServer\MeshyMcLightingServer.ino:3:

C:\Users\Home\Documents\Arduino\libraries\ArduinoJson\src/ArduinoJson/JsonObject.hpp:40:7: error: within this context

class JsonObject : public Internals::JsonPrintable,

   ^

In file included from C:\Users\Home\Documents\Arduino\libraries\painlessMesh\src/painlessmesh/layout.hpp:7:0,

             from C:\Users\Home\Documents\Arduino\libraries\painlessMesh\src/painlessMeshConnection.h:16,

             from C:\Users\Home\Documents\Arduino\libraries\painlessMesh\src/painlessMesh.h:21,

             from C:\Users\Home\Documents\Arduino\McLighting-experimental\McLighting-experimental\Arduino\MeshyMcLighting\MeshyMcLightingServer\MeshyMcLightingServer.ino:3:

C:\Users\Home\Documents\Arduino\libraries\painlessMesh\src/painlessmesh/protocol.hpp: In member function 'virtual ArduinoJson::JsonObject painlessmesh::protocol::Broadcast::addTo(ArduinoJson::JsonObject&&) const':

C:\Users\Home\Documents\Arduino\libraries\painlessMesh\src/painlessmesh/protocol.hpp:100:13: error: use of deleted function 'ArduinoJson::JsonObject& ArduinoJson::JsonObject::operator=(ArduinoJson::JsonObject&&)'

 jsonObj = Single::addTo(std::move(jsonObj));

         ^

In file included from C:\Users\Home\Documents\Arduino\libraries\ArduinoJson\src/ArduinoJson.hpp:9:0,

             from C:\Users\Home\Documents\Arduino\libraries\ArduinoJson\src/ArduinoJson.h:9,

             from C:\Users\Home\Documents\Arduino\libraries\painlessMesh\src/painlessmesh/configuration.hpp:14,

             from C:\Users\Home\Documents\Arduino\libraries\painlessMesh\src/painlessMesh.h:11,

             from C:\Users\Home\Documents\Arduino\McLighting-experimental\McLighting-experimental\Arduino\MeshyMcLighting\MeshyMcLightingServer\MeshyMcLightingServer.ino:3:

C:\Users\Home\Documents\Arduino\libraries\ArduinoJson\src/ArduinoJson/JsonObject.hpp:40:7: note: 'ArduinoJson::JsonObject& ArduinoJson::JsonObject::operator=(ArduinoJson::JsonObject&&)' is implicitly deleted because the default definition would be ill-formed:

class JsonObject : public Internals::JsonPrintable,

   ^

In file included from C:\Users\Home\Documents\Arduino\libraries\ArduinoJson\src/ArduinoJson/Deserialization/../JsonBuffer.hpp:11:0,

             from C:\Users\Home\Documents\Arduino\libraries\ArduinoJson\src/ArduinoJson/Deserialization/JsonParser.hpp:7,

             from C:\Users\Home\Documents\Arduino\libraries\ArduinoJson\src/ArduinoJson/JsonBufferBase.hpp:7,

             from C:\Users\Home\Documents\Arduino\libraries\ArduinoJson\src/ArduinoJson/DynamicJsonBuffer.hpp:7,

             from C:\Users\Home\Documents\Arduino\libraries\ArduinoJson\src/ArduinoJson.hpp:7,

             from C:\Users\Home\Documents\Arduino\libraries\ArduinoJson\src/ArduinoJson.h:9,

             from C:\Users\Home\Documents\Arduino\libraries\painlessMesh\src/painlessmesh/configuration.hpp:14,

             from C:\Users\Home\Documents\Arduino\libraries\painlessMesh\src/painlessMesh.h:11,

             from C:\Users\Home\Documents\Arduino\McLighting-experimental\McLighting-experimental\Arduino\MeshyMcLighting\MeshyMcLightingServer\MeshyMcLightingServer.ino:3:

C:\Users\Home\Documents\Arduino\libraries\ArduinoJson\src/ArduinoJson/Deserialization/../Data/NonCopyable.hpp:20:16: error: 'ArduinoJson::Internals::NonCopyable& ArduinoJson::Internals::NonCopyable::operator=(const ArduinoJson::Internals::NonCopyable&)' is private

NonCopyable& operator=(const NonCopyable&);

            ^

In file included from C:\Users\Home\Documents\Arduino\libraries\ArduinoJson\src/ArduinoJson.hpp:9:0,

             from C:\Users\Home\Documents\Arduino\libraries\ArduinoJson\src/ArduinoJson.h:9,

             from C:\Users\Home\Documents\Arduino\libraries\painlessMesh\src/painlessmesh/configuration.hpp:14,

             from C:\Users\Home\Documents\Arduino\libraries\painlessMesh\src/painlessMesh.h:11,

             from C:\Users\Home\Documents\Arduino\McLighting-experimental\McLighting-experimental\Arduino\MeshyMcLighting\MeshyMcLightingServer\MeshyMcLightingServer.ino:3:

C:\Users\Home\Documents\Arduino\libraries\ArduinoJson\src/ArduinoJson/JsonObject.hpp:40:7: error: within this context

class JsonObject : public Internals::JsonPrintable,

   ^

In file included from C:\Users\Home\Documents\Arduino\libraries\painlessMesh\src/painlessmesh/layout.hpp:7:0,

             from C:\Users\Home\Documents\Arduino\libraries\painlessMesh\src/painlessMeshConnection.h:16,

             from C:\Users\Home\Documents\Arduino\libraries\painlessMesh\src/painlessMesh.h:21,

             from C:\Users\Home\Documents\Arduino\McLighting-experimental\McLighting-experimental\Arduino\MeshyMcLighting\MeshyMcLightingServer\MeshyMcLightingServer.ino:3:

C:\Users\Home\Documents\Arduino\libraries\painlessMesh\src/painlessmesh/protocol.hpp:102:12: error: use of deleted function 'ArduinoJson::JsonObject::JsonObject(const ArduinoJson::JsonObject&)'

 return jsonObj;

        ^

C:\Users\Home\Documents\Arduino\libraries\painlessMesh\src/painlessmesh/protocol.hpp: In constructor 'painlessmesh::protocol::NodeTree::NodeTree(ArduinoJson::JsonObject)':

C:\Users\Home\Documents\Arduino\libraries\painlessMesh\src/painlessmesh/protocol.hpp:131:52: error: use of deleted function 'ArduinoJson::JsonArray::JsonArray(const ArduinoJson::JsonArray&)'

   auto jsonArr = jsonObj["subs"].as<JsonArray>();

                                                ^

In file included from C:\Users\Home\Documents\Arduino\libraries\ArduinoJson\src/ArduinoJson.hpp:8:0,

             from C:\Users\Home\Documents\Arduino\libraries\ArduinoJson\src/ArduinoJson.h:9,

             from C:\Users\Home\Documents\Arduino\libraries\painlessMesh\src/painlessmesh/configuration.hpp:14,

             from C:\Users\Home\Documents\Arduino\libraries\painlessMesh\src/painlessMesh.h:11,

             from C:\Users\Home\Documents\Arduino\McLighting-experimental\McLighting-experimental\Arduino\MeshyMcLighting\MeshyMcLightingServer\MeshyMcLightingServer.ino:3:

C:\Users\Home\Documents\Arduino\libraries\ArduinoJson\src/ArduinoJson/JsonArray.hpp:39:7: note: 'ArduinoJson::JsonArray::JsonArray(const ArduinoJson::JsonArray&)' is implicitly deleted because the default definition would be ill-formed:

class JsonArray : public Internals::JsonPrintable,

   ^

In file included from C:\Users\Home\Documents\Arduino\libraries\ArduinoJson\src/ArduinoJson/Deserialization/../JsonBuffer.hpp:11:0,

             from C:\Users\Home\Documents\Arduino\libraries\ArduinoJson\src/ArduinoJson/Deserialization/JsonParser.hpp:7,

             from C:\Users\Home\Documents\Arduino\libraries\ArduinoJson\src/ArduinoJson/JsonBufferBase.hpp:7,

             from C:\Users\Home\Documents\Arduino\libraries\ArduinoJson\src/ArduinoJson/DynamicJsonBuffer.hpp:7,

             from C:\Users\Home\Documents\Arduino\libraries\ArduinoJson\src/ArduinoJson.hpp:7,

             from C:\Users\Home\Documents\Arduino\libraries\ArduinoJson\src/ArduinoJson.h:9,

             from C:\Users\Home\Documents\Arduino\libraries\painlessMesh\src/painlessmesh/configuration.hpp:14,

             from C:\Users\Home\Documents\Arduino\libraries\painlessMesh\src/painlessMesh.h:11,

             from C:\Users\Home\Documents\Arduino\McLighting-experimental\McLighting-experimental\Arduino\MeshyMcLighting\MeshyMcLightingServer\MeshyMcLightingServer.ino:3:

C:\Users\Home\Documents\Arduino\libraries\ArduinoJson\src/ArduinoJson/Deserialization/../Data/NonCopyable.hpp:17:3: error: 'ArduinoJson::Internals::NonCopyable::NonCopyable(const ArduinoJson::Internals::NonCopyable&)' is private

NonCopyable(const NonCopyable&);

^

In file included from C:\Users\Home\Documents\Arduino\libraries\ArduinoJson\src/ArduinoJson.hpp:8:0,

             from C:\Users\Home\Documents\Arduino\libraries\ArduinoJson\src/ArduinoJson.h:9,

             from C:\Users\Home\Documents\Arduino\libraries\painlessMesh\src/painlessmesh/configuration.hpp:14,

             from C:\Users\Home\Documents\Arduino\libraries\painlessMesh\src/painlessMesh.h:11,

             from C:\Users\Home\Documents\Arduino\McLighting-experimental\McLighting-experimental\Arduino\MeshyMcLighting\MeshyMcLightingServer\MeshyMcLightingServer.ino:3:

C:\Users\Home\Documents\Arduino\libraries\ArduinoJson\src/ArduinoJson/JsonArray.hpp:39:7: error: within this context

class JsonArray : public Internals::JsonPrintable,

   ^

In file included from C:\Users\Home\Documents\Arduino\libraries\painlessMesh\src/painlessmesh/layout.hpp:7:0,

             from C:\Users\Home\Documents\Arduino\libraries\painlessMesh\src/painlessMeshConnection.h:16,

             from C:\Users\Home\Documents\Arduino\libraries\painlessMesh\src/painlessMesh.h:21,

             from C:\Users\Home\Documents\Arduino\McLighting-experimental\McLighting-experimental\Arduino\MeshyMcLighting\MeshyMcLightingServer\MeshyMcLightingServer.ino:3:

C:\Users\Home\Documents\Arduino\libraries\painlessMesh\src/painlessmesh/protocol.hpp:133:60: error: use of deleted function 'ArduinoJson::JsonObject::JsonObject(const ArduinoJson::JsonObject&)'

     subs.push_back(NodeTree(jsonArr[i].as<JsonObject>()));

                                                        ^

C:\Users\Home\Documents\Arduino\libraries\painlessMesh\src/painlessmesh/protocol.hpp:123:3: error: initializing argument 1 of 'painlessmesh::protocol::NodeTree::NodeTree(ArduinoJson::JsonObject)'

NodeTree(JsonObject jsonObj) {

^

C:\Users\Home\Documents\Arduino\libraries\painlessMesh\src/painlessmesh/protocol.hpp: In member function 'virtual ArduinoJson::JsonObject painlessmesh::protocol::NodeTree::addTo(ArduinoJson::JsonObject&&) const':

C:\Users\Home\Documents\Arduino\libraries\painlessMesh\src/painlessmesh/protocol.hpp:142:59: error: use of deleted function 'ArduinoJson::JsonArray::JsonArray(const ArduinoJson::JsonArray&)'

   JsonArray subsArr = jsonObj.createNestedArray("subs");

                                                       ^

C:\Users\Home\Documents\Arduino\libraries\painlessMesh\src/painlessmesh/protocol.hpp:144:56: error: use of deleted function 'ArduinoJson::JsonObject::JsonObject(const ArduinoJson::JsonObject&)'

     JsonObject subObj = subsArr.createNestedObject();

                                                    ^

C:\Users\Home\Documents\Arduino\libraries\painlessMesh\src/painlessmesh/protocol.hpp:145:16: error: use of deleted function 'ArduinoJson::JsonObject& ArduinoJson::JsonObject::operator=(ArduinoJson::JsonObject&&)'

     subObj = s.addTo(std::move(subObj));

            ^

C:\Users\Home\Documents\Arduino\libraries\painlessMesh\src/painlessmesh/protocol.hpp:148:12: error: use of deleted function 'ArduinoJson::JsonObject::JsonObject(const ArduinoJson::JsonObject&)'

 return jsonObj;

        ^

C:\Users\Home\Documents\Arduino\libraries\painlessMesh\src/painlessmesh/protocol.hpp: In constructor 'painlessmesh::protocol::NodeSyncRequest::NodeSyncRequest(ArduinoJson::JsonObject)':

C:\Users\Home\Documents\Arduino\libraries\painlessMesh\src/painlessmesh/protocol.hpp:207:57: error: use of deleted function 'ArduinoJson::JsonObject::JsonObject(const ArduinoJson::JsonObject&)'

NodeSyncRequest(JsonObject jsonObj) : NodeTree(jsonObj) {

                                                     ^

C:\Users\Home\Documents\Arduino\libraries\painlessMesh\src/painlessmesh/protocol.hpp:123:3: error: initializing argument 1 of 'painlessmesh::protocol::NodeTree::NodeTree(ArduinoJson::JsonObject)'

NodeTree(JsonObject jsonObj) {

^

C:\Users\Home\Documents\Arduino\libraries\painlessMesh\src/painlessmesh/protocol.hpp: In member function 'virtual ArduinoJson::JsonObject painlessmesh::protocol::NodeSyncRequest::addTo(ArduinoJson::JsonObject&&) const':

C:\Users\Home\Documents\Arduino\libraries\painlessMesh\src/painlessmesh/protocol.hpp:213:13: error: use of deleted function 'ArduinoJson::JsonObject& ArduinoJson::JsonObject::operator=(ArduinoJson::JsonObject&&)'

 jsonObj = NodeTree::addTo(std::move(jsonObj));

         ^

C:\Users\Home\Documents\Arduino\libraries\painlessMesh\src/painlessmesh/protocol.hpp:217:12: error: use of deleted function 'ArduinoJson::JsonObject::JsonObject(const ArduinoJson::JsonObject&)'

 return jsonObj;

        ^

C:\Users\Home\Documents\Arduino\libraries\painlessMesh\src/painlessmesh/protocol.hpp: In member function 'virtual ArduinoJson::JsonObject painlessmesh::protocol::NodeSyncReply::addTo(ArduinoJson::JsonObject&&) const':

C:\Users\Home\Documents\Arduino\libraries\painlessMesh\src/painlessmesh/protocol.hpp:250:13: error: use of deleted function 'ArduinoJson::JsonObject& ArduinoJson::JsonObject::operator=(ArduinoJson::JsonObject&&)'

 jsonObj = NodeSyncRequest::addTo(std::move(jsonObj));

         ^

C:\Users\Home\Documents\Arduino\libraries\painlessMesh\src/painlessmesh/protocol.hpp:252:12: error: use of deleted function 'ArduinoJson::JsonObject::JsonObject(const ArduinoJson::JsonObject&)'

 return jsonObj;

        ^

C:\Users\Home\Documents\Arduino\libraries\painlessMesh\src/painlessmesh/protocol.hpp: In constructor 'painlessmesh::protocol::TimeSync::TimeSync(ArduinoJson::JsonObject)':

C:\Users\Home\Documents\Arduino\libraries\painlessMesh\src/painlessmesh/protocol.hpp:310:24: error: 'class ArduinoJson::Internals::JsonObjectSubscript<const char*>' has no member named 'containsKey'

 if (jsonObj["msg"].containsKey("t0"))

                    ^

C:\Users\Home\Documents\Arduino\libraries\painlessMesh\src/painlessmesh/protocol.hpp:312:24: error: 'class ArduinoJson::Internals::JsonObjectSubscript<const char*>' has no member named 'containsKey'

 if (jsonObj["msg"].containsKey("t1"))

                    ^

C:\Users\Home\Documents\Arduino\libraries\painlessMesh\src/painlessmesh/protocol.hpp:314:24: error: 'class ArduinoJson::Internals::JsonObjectSubscript<const char*>' has no member named 'containsKey'

 if (jsonObj["msg"].containsKey("t2"))

                    ^

C:\Users\Home\Documents\Arduino\libraries\painlessMesh\src/painlessmesh/protocol.hpp: In member function 'virtual ArduinoJson::JsonObject painlessmesh::protocol::TimeSync::addTo(ArduinoJson::JsonObject&&) const':

C:\Users\Home\Documents\Arduino\libraries\painlessMesh\src/painlessmesh/protocol.hpp:322:51: error: use of deleted function 'ArduinoJson::JsonObject::JsonObject(const ArduinoJson::JsonObject&)'

 auto msgObj = jsonObj.createNestedObject("msg");

                                               ^

C:\Users\Home\Documents\Arduino\libraries\painlessMesh\src/painlessmesh/protocol.hpp:329:12: error: use of deleted function 'ArduinoJson::JsonObject::JsonObject(const ArduinoJson::JsonObject&)'

 return jsonObj;

        ^

C:\Users\Home\Documents\Arduino\libraries\painlessMesh\src/painlessmesh/protocol.hpp: In member function 'virtual ArduinoJson::JsonObject painlessmesh::protocol::TimeDelay::addTo(ArduinoJson::JsonObject&&) const':

C:\Users\Home\Documents\Arduino\libraries\painlessMesh\src/painlessmesh/protocol.hpp:365:13: error: use of deleted function 'ArduinoJson::JsonObject& ArduinoJson::JsonObject::operator=(ArduinoJson::JsonObject&&)'

 jsonObj = TimeSync::addTo(std::move(jsonObj));

         ^

C:\Users\Home\Documents\Arduino\libraries\painlessMesh\src/painlessmesh/protocol.hpp:367:12: error: use of deleted function 'ArduinoJson::JsonObject::JsonObject(const ArduinoJson::JsonObject&)'

 return jsonObj;

        ^

C:\Users\Home\Documents\Arduino\libraries\painlessMesh\src/painlessmesh/protocol.hpp: At global scope:

C:\Users\Home\Documents\Arduino\libraries\painlessMesh\src/painlessmesh/protocol.hpp:585:3: error: 'DeserializationError' does not name a type

DeserializationError error = DeserializationError::Ok;

^

C:\Users\Home\Documents\Arduino\libraries\painlessMesh\src/painlessmesh/protocol.hpp:588:3: error: 'DynamicJsonDocument' does not name a type

DynamicJsonDocument jsonBuffer;

^

C:\Users\Home\Documents\Arduino\libraries\painlessMesh\src/painlessmesh/protocol.hpp: In constructor 'painlessmesh::protocol::Variant::Variant(String)':

C:\Users\Home\Documents\Arduino\libraries\painlessMesh\src/painlessmesh/protocol.hpp:413:9: error: class 'painlessmesh::protocol::Variant' does not have any field named 'jsonBuffer'

   : jsonBuffer(JSON_OBJECT_SIZE(5) + JSON_OBJECT_SIZE(4) +

     ^

C:\Users\Home\Documents\Arduino\libraries\painlessMesh\src/painlessmesh/protocol.hpp:414:37: error: no matching function for call to 'ArduinoJson::JsonObject::JsonObject()'

                2 * json.length()) {

                                 ^

C:\Users\Home\Documents\Arduino\libraries\painlessMesh\src/painlessmesh/protocol.hpp:414:37: note: candidate is:

In file included from C:\Users\Home\Documents\Arduino\libraries\ArduinoJson\src/ArduinoJson.hpp:9:0,

             from C:\Users\Home\Documents\Arduino\libraries\ArduinoJson\src/ArduinoJson.h:9,

             from C:\Users\Home\Documents\Arduino\libraries\painlessMesh\src/painlessmesh/configuration.hpp:14,

             from C:\Users\Home\Documents\Arduino\libraries\painlessMesh\src/painlessMesh.h:11,

             from C:\Users\Home\Documents\Arduino\McLighting-experimental\McLighting-experimental\Arduino\MeshyMcLighting\MeshyMcLightingServer\MeshyMcLightingServer.ino:3:

C:\Users\Home\Documents\Arduino\libraries\ArduinoJson\src/ArduinoJson/JsonObject.hpp:49:12: note: ArduinoJson::JsonObject::JsonObject(ArduinoJson::JsonBuffer*)

explicit JsonObject(JsonBuffer* buffer) throw()

        ^

C:\Users\Home\Documents\Arduino\libraries\ArduinoJson\src/ArduinoJson/JsonObject.hpp:49:12: note: candidate expects 1 argument, 0 provided

In file included from C:\Users\Home\Documents\Arduino\libraries\painlessMesh\src/painlessmesh/layout.hpp:7:0,

             from C:\Users\Home\Documents\Arduino\libraries\painlessMesh\src/painlessMeshConnection.h:16,

             from C:\Users\Home\Documents\Arduino\libraries\painlessMesh\src/painlessMesh.h:21,

             from C:\Users\Home\Documents\Arduino\McLighting-experimental\McLighting-experimental\Arduino\MeshyMcLighting\MeshyMcLightingServer\MeshyMcLightingServer.ino:3:

C:\Users\Home\Documents\Arduino\libraries\painlessMesh\src/painlessmesh/protocol.hpp:415:5: error: 'error' was not declared in this scope

 error = deserializeJson(jsonBuffer, json,

 ^

C:\Users\Home\Documents\Arduino\libraries\painlessMesh\src/painlessmesh/protocol.hpp:415:29: error: 'jsonBuffer' was not declared in this scope

 error = deserializeJson(jsonBuffer, json,

                         ^

C:\Users\Home\Documents\Arduino\libraries\painlessMesh\src/painlessmesh/protocol.hpp:416:29: error: 'DeserializationOption' has not been declared

                         DeserializationOption::NestingLimit(255));

                         ^

C:\Users\Home\Documents\Arduino\libraries\painlessMesh\src/painlessmesh/protocol.hpp:416:69: error: 'deserializeJson' was not declared in this scope

                         DeserializationOption::NestingLimit(255));

                                                                 ^

C:\Users\Home\Documents\Arduino\libraries\painlessMesh\src/painlessmesh/protocol.hpp:417:51: error: expected primary-expression before '>' token

 if (!error) jsonObj = jsonBuffer.as<JsonObject>();

                                               ^

C:\Users\Home\Documents\Arduino\libraries\painlessMesh\src/painlessmesh/protocol.hpp:417:53: error: expected primary-expression before ')' token

 if (!error) jsonObj = jsonBuffer.as<JsonObject>();

                                                 ^

C:\Users\Home\Documents\Arduino\libraries\painlessMesh\src/painlessmesh/protocol.hpp: In constructor 'painlessmesh::protocol::Variant::Variant(String, size_t)':

C:\Users\Home\Documents\Arduino\libraries\painlessMesh\src/painlessmesh/protocol.hpp:426:43: error: class 'painlessmesh::protocol::Variant' does not have any field named 'jsonBuffer'

Variant(String json, size_t capacity) : jsonBuffer(capacity) {

                                       ^

C:\Users\Home\Documents\Arduino\libraries\painlessMesh\src/painlessmesh/protocol.hpp:426:62: error: no matching function for call to 'ArduinoJson::JsonObject::JsonObject()'

Variant(String json, size_t capacity) : jsonBuffer(capacity) {

                                                          ^

C:\Users\Home\Documents\Arduino\libraries\painlessMesh\src/painlessmesh/protocol.hpp:426:62: note: candidate is:

In file included from C:\Users\Home\Documents\Arduino\libraries\ArduinoJson\src/ArduinoJson.hpp:9:0,

             from C:\Users\Home\Documents\Arduino\libraries\ArduinoJson\src/ArduinoJson.h:9,

             from C:\Users\Home\Documents\Arduino\libraries\painlessMesh\src/painlessmesh/configuration.hpp:14,

             from C:\Users\Home\Documents\Arduino\libraries\painlessMesh\src/painlessMesh.h:11,

             from C:\Users\Home\Documents\Arduino\McLighting-experimental\McLighting-experimental\Arduino\MeshyMcLighting\MeshyMcLightingServer\MeshyMcLightingServer.ino:3:

C:\Users\Home\Documents\Arduino\libraries\ArduinoJson\src/ArduinoJson/JsonObject.hpp:49:12: note: ArduinoJson::JsonObject::JsonObject(ArduinoJson::JsonBuffer*)

explicit JsonObject(JsonBuffer* buffer) throw()

        ^

C:\Users\Home\Documents\Arduino\libraries\ArduinoJson\src/ArduinoJson/JsonObject.hpp:49:12: note: candidate expects 1 argument, 0 provided

In file included from C:\Users\Home\Documents\Arduino\libraries\painlessMesh\src/painlessmesh/layout.hpp:7:0,

             from C:\Users\Home\Documents\Arduino\libraries\painlessMesh\src/painlessMeshConnection.h:16,

             from C:\Users\Home\Documents\Arduino\libraries\painlessMesh\src/painlessMesh.h:21,

             from C:\Users\Home\Documents\Arduino\McLighting-experimental\McLighting-experimental\Arduino\MeshyMcLighting\MeshyMcLightingServer\MeshyMcLightingServer.ino:3:

C:\Users\Home\Documents\Arduino\libraries\painlessMesh\src/painlessmesh/protocol.hpp:427:5: error: 'error' was not declared in this scope

 error = deserializeJson(jsonBuffer, json,

 ^

C:\Users\Home\Documents\Arduino\libraries\painlessMesh\src/painlessmesh/protocol.hpp:427:29: error: 'jsonBuffer' was not declared in this scope

 error = deserializeJson(jsonBuffer, json,

                         ^

C:\Users\Home\Documents\Arduino\libraries\painlessMesh\src/painlessmesh/protocol.hpp:428:29: error: 'DeserializationOption' has not been declared

                         DeserializationOption::NestingLimit(255));

                         ^

C:\Users\Home\Documents\Arduino\libraries\painlessMesh\src/painlessmesh/protocol.hpp:428:69: error: 'deserializeJson' was not declared in this scope

                         DeserializationOption::NestingLimit(255));

                                                                 ^

C:\Users\Home\Documents\Arduino\libraries\painlessMesh\src/painlessmesh/protocol.hpp:429:51: error: expected primary-expression before '>' token

 if (!error) jsonObj = jsonBuffer.as<JsonObject>();

                                               ^

C:\Users\Home\Documents\Arduino\libraries\painlessMesh\src/painlessmesh/protocol.hpp:429:53: error: expected primary-expression before ')' token

 if (!error) jsonObj = jsonBuffer.as<JsonObject>();

                                                 ^

C:\Users\Home\Documents\Arduino\libraries\painlessMesh\src/painlessmesh/protocol.hpp: In constructor 'painlessmesh::protocol::Variant::Variant(const painlessmesh::protocol::PackageInterface*)':

C:\Users\Home\Documents\Arduino\libraries\painlessMesh\src/painlessmesh/protocol.hpp:435:42: error: class 'painlessmesh::protocol::Variant' does not have any field named 'jsonBuffer'

Variant(const PackageInterface* pkg) : jsonBuffer(pkg->jsonObjectSize()) {

                                      ^

C:\Users\Home\Documents\Arduino\libraries\painlessMesh\src/painlessmesh/protocol.hpp:435:74: error: no matching function for call to 'ArduinoJson::JsonObject::JsonObject()'

Variant(const PackageInterface* pkg) : jsonBuffer(pkg->jsonObjectSize()) {

                                                                      ^

C:\Users\Home\Documents\Arduino\libraries\painlessMesh\src/painlessmesh/protocol.hpp:435:74: note: candidate is:

In file included from C:\Users\Home\Documents\Arduino\libraries\ArduinoJson\src/ArduinoJson.hpp:9:0,

             from C:\Users\Home\Documents\Arduino\libraries\ArduinoJson\src/ArduinoJson.h:9,

             from C:\Users\Home\Documents\Arduino\libraries\painlessMesh\src/painlessmesh/configuration.hpp:14,

             from C:\Users\Home\Documents\Arduino\libraries\painlessMesh\src/painlessMesh.h:11,

             from C:\Users\Home\Documents\Arduino\McLighting-experimental\McLighting-experimental\Arduino\MeshyMcLighting\MeshyMcLightingServer\MeshyMcLightingServer.ino:3:

C:\Users\Home\Documents\Arduino\libraries\ArduinoJson\src/ArduinoJson/JsonObject.hpp:49:12: note: ArduinoJson::JsonObject::JsonObject(ArduinoJson::JsonBuffer*)

explicit JsonObject(JsonBuffer* buffer) throw()

        ^

C:\Users\Home\Documents\Arduino\libraries\ArduinoJson\src/ArduinoJson/JsonObject.hpp:49:12: note: candidate expects 1 argument, 0 provided

In file included from C:\Users\Home\Documents\Arduino\libraries\painlessMesh\src/painlessmesh/layout.hpp:7:0,

             from C:\Users\Home\Documents\Arduino\libraries\painlessMesh\src/painlessMeshConnection.h:16,

             from C:\Users\Home\Documents\Arduino\libraries\painlessMesh\src/painlessMesh.h:21,

             from C:\Users\Home\Documents\Arduino\McLighting-experimental\McLighting-experimental\Arduino\MeshyMcLighting\MeshyMcLightingServer\MeshyMcLightingServer.ino:3:

C:\Users\Home\Documents\Arduino\libraries\painlessMesh\src/painlessmesh/protocol.hpp:436:15: error: 'jsonBuffer' was not declared in this scope

 jsonObj = jsonBuffer.to<JsonObject>();

           ^

C:\Users\Home\Documents\Arduino\libraries\painlessMesh\src/painlessmesh/protocol.hpp:437:13: error: use of deleted function 'ArduinoJson::JsonObject& ArduinoJson::JsonObject::operator=(ArduinoJson::JsonObject&&)'

 jsonObj = pkg->addTo(std::move(jsonObj));

         ^

C:\Users\Home\Documents\Arduino\libraries\painlessMesh\src/painlessmesh/protocol.hpp: In constructor 'painlessmesh::protocol::Variant::Variant(painlessmesh::protocol::Single)':

C:\Users\Home\Documents\Arduino\libraries\painlessMesh\src/painlessmesh/protocol.hpp:445:28: error: class 'painlessmesh::protocol::Variant' does not have any field named 'jsonBuffer'

Variant(Single single) : jsonBuffer(single.jsonObjectSize()) {

                        ^

C:\Users\Home\Documents\Arduino\libraries\painlessMesh\src/painlessmesh/protocol.hpp:445:62: error: no matching function for call to 'ArduinoJson::JsonObject::JsonObject()'

Variant(Single single) : jsonBuffer(single.jsonObjectSize()) {

                                                          ^

C:\Users\Home\Documents\Arduino\libraries\painlessMesh\src/painlessmesh/protocol.hpp:445:62: note: candidate is:

In file included from C:\Users\Home\Documents\Arduino\libraries\ArduinoJson\src/ArduinoJson.hpp:9:0,

             from C:\Users\Home\Documents\Arduino\libraries\ArduinoJson\src/ArduinoJson.h:9,

             from C:\Users\Home\Documents\Arduino\libraries\painlessMesh\src/painlessmesh/configuration.hpp:14,

             from C:\Users\Home\Documents\Arduino\libraries\painlessMesh\src/painlessMesh.h:11,

             from C:\Users\Home\Documents\Arduino\McLighting-experimental\McLighting-experimental\Arduino\MeshyMcLighting\MeshyMcLightingServer\MeshyMcLightingServer.ino:3:

C:\Users\Home\Documents\Arduino\libraries\ArduinoJson\src/ArduinoJson/JsonObject.hpp:49:12: note: ArduinoJson::JsonObject::JsonObject(ArduinoJson::JsonBuffer*)

explicit JsonObject(JsonBuffer* buffer) throw()

        ^

C:\Users\Home\Documents\Arduino\libraries\ArduinoJson\src/ArduinoJson/JsonObject.hpp:49:12: note: candidate expects 1 argument, 0 provided

In file included from C:\Users\Home\Documents\Arduino\libraries\painlessMesh\src/painlessmesh/layout.hpp:7:0,

             from C:\Users\Home\Documents\Arduino\libraries\painlessMesh\src/painlessMeshConnection.h:16,

             from C:\Users\Home\Documents\Arduino\libraries\painlessMesh\src/painlessMesh.h:21,

             from C:\Users\Home\Documents\Arduino\McLighting-experimental\McLighting-experimental\Arduino\MeshyMcLighting\MeshyMcLightingServer\MeshyMcLightingServer.ino:3:

C:\Users\Home\Documents\Arduino\libraries\painlessMesh\src/painlessmesh/protocol.hpp:446:15: error: 'jsonBuffer' was not declared in this scope

 jsonObj = jsonBuffer.to<JsonObject>();

           ^

C:\Users\Home\Documents\Arduino\libraries\painlessMesh\src/painlessmesh/protocol.hpp:447:13: error: use of deleted function 'ArduinoJson::JsonObject& ArduinoJson::JsonObject::operator=(ArduinoJson::JsonObject&&)'

 jsonObj = single.addTo(std::move(jsonObj));

         ^

C:\Users\Home\Documents\Arduino\libraries\painlessMesh\src/painlessmesh/protocol.hpp: In constructor 'painlessmesh::protocol::Variant::Variant(painlessmesh::protocol::Broadcast)':

C:\Users\Home\Documents\Arduino\libraries\painlessMesh\src/painlessmesh/protocol.hpp:455:34: error: class 'painlessmesh::protocol::Variant' does not have any field named 'jsonBuffer'

Variant(Broadcast broadcast) : jsonBuffer(broadcast.jsonObjectSize()) {

                              ^

C:\Users\Home\Documents\Arduino\libraries\painlessMesh\src/painlessmesh/protocol.hpp:455:71: error: no matching function for call to 'ArduinoJson::JsonObject::JsonObject()'

Variant(Broadcast broadcast) : jsonBuffer(broadcast.jsonObjectSize()) {

                                                                   ^

C:\Users\Home\Documents\Arduino\libraries\painlessMesh\src/painlessmesh/protocol.hpp:455:71: note: candidate is:

In file included from C:\Users\Home\Documents\Arduino\libraries\ArduinoJson\src/ArduinoJson.hpp:9:0,

             from C:\Users\Home\Documents\Arduino\libraries\ArduinoJson\src/ArduinoJson.h:9,

             from C:\Users\Home\Documents\Arduino\libraries\painlessMesh\src/painlessmesh/configuration.hpp:14,

             from C:\Users\Home\Documents\Arduino\libraries\painlessMesh\src/painlessMesh.h:11,

             from C:\Users\Home\Documents\Arduino\McLighting-experimental\McLighting-experimental\Arduino\MeshyMcLighting\MeshyMcLightingServer\MeshyMcLightingServer.ino:3:

C:\Users\Home\Documents\Arduino\libraries\ArduinoJson\src/ArduinoJson/JsonObject.hpp:49:12: note: ArduinoJson::JsonObject::JsonObject(ArduinoJson::JsonBuffer*)

explicit JsonObject(JsonBuffer* buffer) throw()

        ^

C:\Users\Home\Documents\Arduino\libraries\ArduinoJson\src/ArduinoJson/JsonObject.hpp:49:12: note: candidate expects 1 argument, 0 provided

In file included from C:\Users\Home\Documents\Arduino\libraries\painlessMesh\src/painlessmesh/layout.hpp:7:0,

             from C:\Users\Home\Documents\Arduino\libraries\painlessMesh\src/painlessMeshConnection.h:16,

             from C:\Users\Home\Documents\Arduino\libraries\painlessMesh\src/painlessMesh.h:21,

             from C:\Users\Home\Documents\Arduino\McLighting-experimental\McLighting-experimental\Arduino\MeshyMcLighting\MeshyMcLightingServer\MeshyMcLightingServer.ino:3:

C:\Users\Home\Documents\Arduino\libraries\painlessMesh\src/painlessmesh/protocol.hpp:456:15: error: 'jsonBuffer' was not declared in this scope

 jsonObj = jsonBuffer.to<JsonObject>();

           ^

C:\Users\Home\Documents\Arduino\libraries\painlessMesh\src/painlessmesh/protocol.hpp:457:13: error: use of deleted function 'ArduinoJson::JsonObject& ArduinoJson::JsonObject::operator=(ArduinoJson::JsonObject&&)'

 jsonObj = broadcast.addTo(std::move(jsonObj));

         ^

C:\Users\Home\Documents\Arduino\libraries\painlessMesh\src/painlessmesh/protocol.hpp: In constructor 'painlessmesh::protocol::Variant::Variant(painlessmesh::protocol::NodeTree)':

C:\Users\Home\Documents\Arduino\libraries\painlessMesh\src/painlessmesh/protocol.hpp:465:32: error: class 'painlessmesh::protocol::Variant' does not have any field named 'jsonBuffer'

Variant(NodeTree nodeTree) : jsonBuffer(nodeTree.jsonObjectSize()) {

                            ^

C:\Users\Home\Documents\Arduino\libraries\painlessMesh\src/painlessmesh/protocol.hpp:465:68: error: no matching function for call to 'ArduinoJson::JsonObject::JsonObject()'

Variant(NodeTree nodeTree) : jsonBuffer(nodeTree.jsonObjectSize()) {

                                                                ^

C:\Users\Home\Documents\Arduino\libraries\painlessMesh\src/painlessmesh/protocol.hpp:465:68: note: candidate is:

In file included from C:\Users\Home\Documents\Arduino\libraries\ArduinoJson\src/ArduinoJson.hpp:9:0,

             from C:\Users\Home\Documents\Arduino\libraries\ArduinoJson\src/ArduinoJson.h:9,

             from C:\Users\Home\Documents\Arduino\libraries\painlessMesh\src/painlessmesh/configuration.hpp:14,

             from C:\Users\Home\Documents\Arduino\libraries\painlessMesh\src/painlessMesh.h:11,

             from C:\Users\Home\Documents\Arduino\McLighting-experimental\McLighting-experimental\Arduino\MeshyMcLighting\MeshyMcLightingServer\MeshyMcLightingServer.ino:3:

C:\Users\Home\Documents\Arduino\libraries\ArduinoJson\src/ArduinoJson/JsonObject.hpp:49:12: note: ArduinoJson::JsonObject::JsonObject(ArduinoJson::JsonBuffer*)

explicit JsonObject(JsonBuffer* buffer) throw()

        ^

C:\Users\Home\Documents\Arduino\libraries\ArduinoJson\src/ArduinoJson/JsonObject.hpp:49:12: note: candidate expects 1 argument, 0 provided

In file included from C:\Users\Home\Documents\Arduino\libraries\painlessMesh\src/painlessmesh/layout.hpp:7:0,

             from C:\Users\Home\Documents\Arduino\libraries\painlessMesh\src/painlessMeshConnection.h:16,

             from C:\Users\Home\Documents\Arduino\libraries\painlessMesh\src/painlessMesh.h:21,

             from C:\Users\Home\Documents\Arduino\McLighting-experimental\McLighting-experimental\Arduino\MeshyMcLighting\MeshyMcLightingServer\MeshyMcLightingServer.ino:3:

C:\Users\Home\Documents\Arduino\libraries\painlessMesh\src/painlessmesh/protocol.hpp:466:15: error: 'jsonBuffer' was not declared in this scope

 jsonObj = jsonBuffer.to<JsonObject>();

           ^

C:\Users\Home\Documents\Arduino\libraries\painlessMesh\src/painlessmesh/protocol.hpp:467:13: error: use of deleted function 'ArduinoJson::JsonObject& ArduinoJson::JsonObject::operator=(ArduinoJson::JsonObject&&)'

 jsonObj = nodeTree.addTo(std::move(jsonObj));

         ^

C:\Users\Home\Documents\Arduino\libraries\painlessMesh\src/painlessmesh/protocol.hpp: In constructor 'painlessmesh::protocol::Variant::Variant(painlessmesh::protocol::NodeSyncReply)':

C:\Users\Home\Documents\Arduino\libraries\painlessMesh\src/painlessmesh/protocol.hpp:476:9: error: class 'painlessmesh::protocol::Variant' does not have any field named 'jsonBuffer'

   : jsonBuffer(nodeSyncReply.jsonObjectSize()) {

     ^

C:\Users\Home\Documents\Arduino\libraries\painlessMesh\src/painlessmesh/protocol.hpp:476:50: error: no matching function for call to 'ArduinoJson::JsonObject::JsonObject()'

   : jsonBuffer(nodeSyncReply.jsonObjectSize()) {

                                              ^

C:\Users\Home\Documents\Arduino\libraries\painlessMesh\src/painlessmesh/protocol.hpp:476:50: note: candidate is:

In file included from C:\Users\Home\Documents\Arduino\libraries\ArduinoJson\src/ArduinoJson.hpp:9:0,

             from C:\Users\Home\Documents\Arduino\libraries\ArduinoJson\src/ArduinoJson.h:9,

             from C:\Users\Home\Documents\Arduino\libraries\painlessMesh\src/painlessmesh/configuration.hpp:14,

             from C:\Users\Home\Documents\Arduino\libraries\painlessMesh\src/painlessMesh.h:11,

             from C:\Users\Home\Documents\Arduino\McLighting-experimental\McLighting-experimental\Arduino\MeshyMcLighting\MeshyMcLightingServer\MeshyMcLightingServer.ino:3:

C:\Users\Home\Documents\Arduino\libraries\ArduinoJson\src/ArduinoJson/JsonObject.hpp:49:12: note: ArduinoJson::JsonObject::JsonObject(ArduinoJson::JsonBuffer*)

explicit JsonObject(JsonBuffer* buffer) throw()

        ^

C:\Users\Home\Documents\Arduino\libraries\ArduinoJson\src/ArduinoJson/JsonObject.hpp:49:12: note: candidate expects 1 argument, 0 provided

In file included from C:\Users\Home\Documents\Arduino\libraries\painlessMesh\src/painlessmesh/layout.hpp:7:0,

             from C:\Users\Home\Documents\Arduino\libraries\painlessMesh\src/painlessMeshConnection.h:16,

             from C:\Users\Home\Documents\Arduino\libraries\painlessMesh\src/painlessMesh.h:21,

             from C:\Users\Home\Documents\Arduino\McLighting-experimental\McLighting-experimental\Arduino\MeshyMcLighting\MeshyMcLightingServer\MeshyMcLightingServer.ino:3:

C:\Users\Home\Documents\Arduino\libraries\painlessMesh\src/painlessmesh/protocol.hpp:477:15: error: 'jsonBuffer' was not declared in this scope

 jsonObj = jsonBuffer.to<JsonObject>();

           ^

C:\Users\Home\Documents\Arduino\libraries\painlessMesh\src/painlessmesh/protocol.hpp:478:13: error: use of deleted function 'ArduinoJson::JsonObject& ArduinoJson::JsonObject::operator=(ArduinoJson::JsonObject&&)'

 jsonObj = nodeSyncReply.addTo(std::move(jsonObj));

         ^

C:\Users\Home\Documents\Arduino\libraries\painlessMesh\src/painlessmesh/protocol.hpp: In constructor 'painlessmesh::protocol::Variant::Variant(painlessmesh::protocol::NodeSyncRequest)':

C:\Users\Home\Documents\Arduino\libraries\painlessMesh\src/painlessmesh/protocol.hpp:487:9: error: class 'painlessmesh::protocol::Variant' does not have any field named 'jsonBuffer'

   : jsonBuffer(nodeSyncRequest.jsonObjectSize()) {

     ^

C:\Users\Home\Documents\Arduino\libraries\painlessMesh\src/painlessmesh/protocol.hpp:487:52: error: no matching function for call to 'ArduinoJson::JsonObject::JsonObject()'

   : jsonBuffer(nodeSyncRequest.jsonObjectSize()) {

                                                ^

C:\Users\Home\Documents\Arduino\libraries\painlessMesh\src/painlessmesh/protocol.hpp:487:52: note: candidate is:

In file included from C:\Users\Home\Documents\Arduino\libraries\ArduinoJson\src/ArduinoJson.hpp:9:0,

             from C:\Users\Home\Documents\Arduino\libraries\ArduinoJson\src/ArduinoJson.h:9,

             from C:\Users\Home\Documents\Arduino\libraries\painlessMesh\src/painlessmesh/configuration.hpp:14,

             from C:\Users\Home\Documents\Arduino\libraries\painlessMesh\src/painlessMesh.h:11,

             from C:\Users\Home\Documents\Arduino\McLighting-experimental\McLighting-experimental\Arduino\MeshyMcLighting\MeshyMcLightingServer\MeshyMcLightingServer.ino:3:

C:\Users\Home\Documents\Arduino\libraries\ArduinoJson\src/ArduinoJson/JsonObject.hpp:49:12: note: ArduinoJson::JsonObject::JsonObject(ArduinoJson::JsonBuffer*)

explicit JsonObject(JsonBuffer* buffer) throw()

        ^

C:\Users\Home\Documents\Arduino\libraries\ArduinoJson\src/ArduinoJson/JsonObject.hpp:49:12: note: candidate expects 1 argument, 0 provided

In file included from C:\Users\Home\Documents\Arduino\libraries\painlessMesh\src/painlessmesh/layout.hpp:7:0,

             from C:\Users\Home\Documents\Arduino\libraries\painlessMesh\src/painlessMeshConnection.h:16,

             from C:\Users\Home\Documents\Arduino\libraries\painlessMesh\src/painlessMesh.h:21,

             from C:\Users\Home\Documents\Arduino\McLighting-experimental\McLighting-experimental\Arduino\MeshyMcLighting\MeshyMcLightingServer\MeshyMcLightingServer.ino:3:

C:\Users\Home\Documents\Arduino\libraries\painlessMesh\src/painlessmesh/protocol.hpp:488:15: error: 'jsonBuffer' was not declared in this scope

 jsonObj = jsonBuffer.to<JsonObject>();

           ^

C:\Users\Home\Documents\Arduino\libraries\painlessMesh\src/painlessmesh/protocol.hpp:489:13: error: use of deleted function 'ArduinoJson::JsonObject& ArduinoJson::JsonObject::operator=(ArduinoJson::JsonObject&&)'

 jsonObj = nodeSyncRequest.addTo(std::move(jsonObj));

         ^

C:\Users\Home\Documents\Arduino\libraries\painlessMesh\src/painlessmesh/protocol.hpp: In constructor 'painlessmesh::protocol::Variant::Variant(painlessmesh::protocol::TimeSync)':

C:\Users\Home\Documents\Arduino\libraries\painlessMesh\src/painlessmesh/protocol.hpp:497:32: error: class 'painlessmesh::protocol::Variant' does not have any field named 'jsonBuffer'

Variant(TimeSync timeSync) : jsonBuffer(timeSync.jsonObjectSize()) {

                            ^

C:\Users\Home\Documents\Arduino\libraries\painlessMesh\src/painlessmesh/protocol.hpp:497:68: error: no matching function for call to 'ArduinoJson::JsonObject::JsonObject()'

Variant(TimeSync timeSync) : jsonBuffer(timeSync.jsonObjectSize()) {

                                                                ^

C:\Users\Home\Documents\Arduino\libraries\painlessMesh\src/painlessmesh/protocol.hpp:497:68: note: candidate is:

In file included from C:\Users\Home\Documents\Arduino\libraries\ArduinoJson\src/ArduinoJson.hpp:9:0,

             from C:\Users\Home\Documents\Arduino\libraries\ArduinoJson\src/ArduinoJson.h:9,

             from C:\Users\Home\Documents\Arduino\libraries\painlessMesh\src/painlessmesh/configuration.hpp:14,

             from C:\Users\Home\Documents\Arduino\libraries\painlessMesh\src/painlessMesh.h:11,

             from C:\Users\Home\Documents\Arduino\McLighting-experimental\McLighting-experimental\Arduino\MeshyMcLighting\MeshyMcLightingServer\MeshyMcLightingServer.ino:3:

C:\Users\Home\Documents\Arduino\libraries\ArduinoJson\src/ArduinoJson/JsonObject.hpp:49:12: note: ArduinoJson::JsonObject::JsonObject(ArduinoJson::JsonBuffer*)

explicit JsonObject(JsonBuffer* buffer) throw()

        ^

C:\Users\Home\Documents\Arduino\libraries\ArduinoJson\src/ArduinoJson/JsonObject.hpp:49:12: note: candidate expects 1 argument, 0 provided

In file included from C:\Users\Home\Documents\Arduino\libraries\painlessMesh\src/painlessmesh/layout.hpp:7:0,

             from C:\Users\Home\Documents\Arduino\libraries\painlessMesh\src/painlessMeshConnection.h:16,

             from C:\Users\Home\Documents\Arduino\libraries\painlessMesh\src/painlessMesh.h:21,

             from C:\Users\Home\Documents\Arduino\McLighting-experimental\McLighting-experimental\Arduino\MeshyMcLighting\MeshyMcLightingServer\MeshyMcLightingServer.ino:3:

C:\Users\Home\Documents\Arduino\libraries\painlessMesh\src/painlessmesh/protocol.hpp:498:15: error: 'jsonBuffer' was not declared in this scope

 jsonObj = jsonBuffer.to<JsonObject>();

           ^

C:\Users\Home\Documents\Arduino\libraries\painlessMesh\src/painlessmesh/protocol.hpp:499:13: error: use of deleted function 'ArduinoJson::JsonObject& ArduinoJson::JsonObject::operator=(ArduinoJson::JsonObject&&)'

 jsonObj = timeSync.addTo(std::move(jsonObj));

         ^

C:\Users\Home\Documents\Arduino\libraries\painlessMesh\src/painlessmesh/protocol.hpp: In constructor 'painlessmesh::protocol::Variant::Variant(painlessmesh::protocol::TimeDelay)':

C:\Users\Home\Documents\Arduino\libraries\painlessMesh\src/painlessmesh/protocol.hpp:507:34: error: class 'painlessmesh::protocol::Variant' does not have any field named 'jsonBuffer'

Variant(TimeDelay timeDelay) : jsonBuffer(timeDelay.jsonObjectSize()) {

                              ^

C:\Users\Home\Documents\Arduino\libraries\painlessMesh\src/painlessmesh/protocol.hpp:507:71: error: no matching function for call to 'ArduinoJson::JsonObject::JsonObject()'

Variant(TimeDelay timeDelay) : jsonBuffer(timeDelay.jsonObjectSize()) {

                                                                   ^

C:\Users\Home\Documents\Arduino\libraries\painlessMesh\src/painlessmesh/protocol.hpp:507:71: note: candidate is:

In file included from C:\Users\Home\Documents\Arduino\libraries\ArduinoJson\src/ArduinoJson.hpp:9:0,

             from C:\Users\Home\Documents\Arduino\libraries\ArduinoJson\src/ArduinoJson.h:9,

             from C:\Users\Home\Documents\Arduino\libraries\painlessMesh\src/painlessmesh/configuration.hpp:14,

             from C:\Users\Home\Documents\Arduino\libraries\painlessMesh\src/painlessMesh.h:11,

             from C:\Users\Home\Documents\Arduino\McLighting-experimental\McLighting-experimental\Arduino\MeshyMcLighting\MeshyMcLightingServer\MeshyMcLightingServer.ino:3:

C:\Users\Home\Documents\Arduino\libraries\ArduinoJson\src/ArduinoJson/JsonObject.hpp:49:12: note: ArduinoJson::JsonObject::JsonObject(ArduinoJson::JsonBuffer*)

explicit JsonObject(JsonBuffer* buffer) throw()

        ^

C:\Users\Home\Documents\Arduino\libraries\ArduinoJson\src/ArduinoJson/JsonObject.hpp:49:12: note: candidate expects 1 argument, 0 provided

In file included from C:\Users\Home\Documents\Arduino\libraries\painlessMesh\src/painlessmesh/layout.hpp:7:0,

             from C:\Users\Home\Documents\Arduino\libraries\painlessMesh\src/painlessMeshConnection.h:16,

             from C:\Users\Home\Documents\Arduino\libraries\painlessMesh\src/painlessMesh.h:21,

             from C:\Users\Home\Documents\Arduino\McLighting-experimental\McLighting-experimental\Arduino\MeshyMcLighting\MeshyMcLightingServer\MeshyMcLightingServer.ino:3:

C:\Users\Home\Documents\Arduino\libraries\painlessMesh\src/painlessmesh/protocol.hpp:508:15: error: 'jsonBuffer' was not declared in this scope

 jsonObj = jsonBuffer.to<JsonObject>();

           ^

C:\Users\Home\Documents\Arduino\libraries\painlessMesh\src/painlessmesh/protocol.hpp:509:13: error: use of deleted function 'ArduinoJson::JsonObject& ArduinoJson::JsonObject::operator=(ArduinoJson::JsonObject&&)'

 jsonObj = timeDelay.addTo(std::move(jsonObj));

         ^

C:\Users\Home\Documents\Arduino\libraries\painlessMesh\src/painlessmesh/protocol.hpp: In member function 'void painlessmesh::protocol::Variant::printTo(String&, bool)':

C:\Users\Home\Documents\Arduino\libraries\painlessMesh\src/painlessmesh/protocol.hpp:579:39: error: 'serializeJsonPretty' was not declared in this scope

   serializeJsonPretty(jsonObj, str);

                                   ^

C:\Users\Home\Documents\Arduino\libraries\painlessMesh\src/painlessmesh/protocol.hpp:581:33: error: 'serializeJson' was not declared in this scope

   serializeJson(jsonObj, str);

                             ^

C:\Users\Home\Documents\Arduino\libraries\painlessMesh\src/painlessmesh/protocol.hpp: In member function 'T painlessmesh::protocol::Variant::to() [with T = ArduinoJson::JsonObject]':

C:\Users\Home\Documents\Arduino\libraries\painlessMesh\src/painlessmesh/protocol.hpp:624:10: error: use of deleted function 'ArduinoJson::JsonObject::JsonObject(const ArduinoJson::JsonObject&)'

return jsonObj;

      ^

C:\Users\Home\Documents\Arduino\libraries\painlessMesh\src/painlessmesh/protocol.hpp: In member function 'TSTRING painlessmesh::protocol::NodeTree::toString(bool)':

C:\Users\Home\Documents\Arduino\libraries\painlessMesh\src/painlessmesh/protocol.hpp:629:31: error: use of deleted function 'painlessmesh::protocol::Variant::Variant(painlessmesh::protocol::Variant&&)'

auto variant = Variant(*this);

                           ^

C:\Users\Home\Documents\Arduino\libraries\painlessMesh\src/painlessmesh/protocol.hpp:377:7: note: 'painlessmesh::protocol::Variant::Variant(painlessmesh::protocol::Variant&&)' is implicitly deleted because the default definition would be ill-formed:

class Variant {

   ^

C:\Users\Home\Documents\Arduino\libraries\painlessMesh\src/painlessmesh/protocol.hpp:377:7: error: use of deleted function 'ArduinoJson::JsonObject::JsonObject(ArduinoJson::JsonObject&&)'

In file included from C:\Users\Home\Documents\Arduino\libraries\ArduinoJson\src/ArduinoJson.hpp:9:0,

             from C:\Users\Home\Documents\Arduino\libraries\ArduinoJson\src/ArduinoJson.h:9,

             from C:\Users\Home\Documents\Arduino\libraries\painlessMesh\src/painlessmesh/configuration.hpp:14,

             from C:\Users\Home\Documents\Arduino\libraries\painlessMesh\src/painlessMesh.h:11,

             from C:\Users\Home\Documents\Arduino\McLighting-experimental\McLighting-experimental\Arduino\MeshyMcLighting\MeshyMcLightingServer\MeshyMcLightingServer.ino:3:

C:\Users\Home\Documents\Arduino\libraries\ArduinoJson\src/ArduinoJson/JsonObject.hpp:40:7: note: 'ArduinoJson::JsonObject::JsonObject(ArduinoJson::JsonObject&&)' is implicitly deleted because the default definition would be ill-formed:

class JsonObject : public Internals::JsonPrintable,

   ^

In file included from C:\Users\Home\Documents\Arduino\libraries\ArduinoJson\src/ArduinoJson/Deserialization/../JsonBuffer.hpp:11:0,

             from C:\Users\Home\Documents\Arduino\libraries\ArduinoJson\src/ArduinoJson/Deserialization/JsonParser.hpp:7,

             from C:\Users\Home\Documents\Arduino\libraries\ArduinoJson\src/ArduinoJson/JsonBufferBase.hpp:7,

             from C:\Users\Home\Documents\Arduino\libraries\ArduinoJson\src/ArduinoJson/DynamicJsonBuffer.hpp:7,

             from C:\Users\Home\Documents\Arduino\libraries\ArduinoJson\src/ArduinoJson.hpp:7,

             from C:\Users\Home\Documents\Arduino\libraries\ArduinoJson\src/ArduinoJson.h:9,

             from C:\Users\Home\Documents\Arduino\libraries\painlessMesh\src/painlessmesh/configuration.hpp:14,

             from C:\Users\Home\Documents\Arduino\libraries\painlessMesh\src/painlessMesh.h:11,

             from C:\Users\Home\Documents\Arduino\McLighting-experimental\McLighting-experimental\Arduino\MeshyMcLighting\MeshyMcLightingServer\MeshyMcLightingServer.ino:3:

C:\Users\Home\Documents\Arduino\libraries\ArduinoJson\src/ArduinoJson/Deserialization/../Data/NonCopyable.hpp:17:3: error: 'ArduinoJson::Internals::NonCopyable::NonCopyable(const ArduinoJson::Internals::NonCopyable&)' is private

NonCopyable(const NonCopyable&);

^

In file included from C:\Users\Home\Documents\Arduino\libraries\ArduinoJson\src/ArduinoJson.hpp:9:0,

             from C:\Users\Home\Documents\Arduino\libraries\ArduinoJson\src/ArduinoJson.h:9,

             from C:\Users\Home\Documents\Arduino\libraries\painlessMesh\src/painlessmesh/configuration.hpp:14,

             from C:\Users\Home\Documents\Arduino\libraries\painlessMesh\src/painlessMesh.h:11,

             from C:\Users\Home\Documents\Arduino\McLighting-experimental\McLighting-experimental\Arduino\MeshyMcLighting\MeshyMcLightingServer\MeshyMcLightingServer.ino:3:

C:\Users\Home\Documents\Arduino\libraries\ArduinoJson\src/ArduinoJson/JsonObject.hpp:40:7: error: within this context

class JsonObject : public Internals::JsonPrintable,

   ^

In file included from C:\Users\Home\Documents\Arduino\libraries\painlessMesh\src/painlessmesh/ntp.hpp:16:0,

             from C:\Users\Home\Documents\Arduino\libraries\painlessMesh\src/painlessmesh/mesh.hpp:6,

             from C:\Users\Home\Documents\Arduino\libraries\painlessMesh\src/painlessMeshConnection.h:17,

             from C:\Users\Home\Documents\Arduino\libraries\painlessMesh\src/painlessMesh.h:21,

             from C:\Users\Home\Documents\Arduino\McLighting-experimental\McLighting-experimental\Arduino\MeshyMcLighting\MeshyMcLightingServer\MeshyMcLightingServer.ino:3:

C:\Users\Home\Documents\Arduino\libraries\painlessMesh\src/painlessmesh/router.hpp: In function 'void painlessmesh::router::routePackage(painlessmesh::layout::Layout, std::shared_ptr<_Tp1>, TSTRING, painlessmesh::callback::MeshPackageCallbackList, uint32_t)':

C:\Users\Home\Documents\Arduino\libraries\painlessMesh\src/painlessmesh/router.hpp:111:19: error: 'class painlessmesh::protocol::Variant' has no member named 'error'

while (variant->error == 3 && baseCapacity <= 20480) {

               ^

C:\Users\Home\Documents\Arduino\libraries\painlessMesh\src/painlessmesh/router.hpp:116:18: error: 'class painlessmesh::protocol::Variant' has no member named 'error'

     variant->error, baseCapacity);

              ^

C:\Users\Home\Documents\Arduino\libraries\painlessMesh\src/painlessmesh/router.hpp:121:16: error: 'class painlessmesh::protocol::Variant' has no member named 'error'

if (variant->error) {

            ^

C:\Users\Home\Documents\Arduino\libraries\painlessMesh\src/painlessmesh/router.hpp:124:18: error: 'class painlessmesh::protocol::Variant' has no member named 'error'

     variant->error, pkg.length(), pkg.c_str());

              ^

In file included from C:\Users\Home\Documents\Arduino\libraries\painlessMesh\src/painlessmesh/mesh.hpp:7:0,

             from C:\Users\Home\Documents\Arduino\libraries\painlessMesh\src/painlessMeshConnection.h:17,

             from C:\Users\Home\Documents\Arduino\libraries\painlessMesh\src/painlessMesh.h:21,

             from C:\Users\Home\Documents\Arduino\McLighting-experimental\McLighting-experimental\Arduino\MeshyMcLighting\MeshyMcLightingServer\MeshyMcLightingServer.ino:3:

C:\Users\Home\Documents\Arduino\libraries\painlessMesh\src/painlessmesh/plugin.hpp: In member function 'virtual ArduinoJson::JsonObject painlessmesh::plugin::SinglePackage::addTo(ArduinoJson::JsonObject&&) const':

C:\Users\Home\Documents\Arduino\libraries\painlessMesh\src/painlessmesh/plugin.hpp:60:12: error: use of deleted function 'ArduinoJson::JsonObject::JsonObject(const ArduinoJson::JsonObject&)'

 return jsonObj;

        ^

C:\Users\Home\Documents\Arduino\libraries\painlessMesh\src/painlessmesh/plugin.hpp: In member function 'virtual ArduinoJson::JsonObject painlessmesh::plugin::BroadcastPackage::addTo(ArduinoJson::JsonObject&&) const':

C:\Users\Home\Documents\Arduino\libraries\painlessMesh\src/painlessmesh/plugin.hpp:83:12: error: use of deleted function 'ArduinoJson::JsonObject::JsonObject(const ArduinoJson::JsonObject&)'

 return jsonObj;

        ^

C:\Users\Home\Documents\Arduino\libraries\painlessMesh\src/painlessmesh/plugin.hpp: In constructor 'painlessmesh::plugin::NeighbourPackage::NeighbourPackage(ArduinoJson::JsonObject)':

C:\Users\Home\Documents\Arduino\libraries\painlessMesh\src/painlessmesh/plugin.hpp:93:63: error: use of deleted function 'ArduinoJson::JsonObject::JsonObject(const ArduinoJson::JsonObject&)'

NeighbourPackage(JsonObject jsonObj) : SinglePackage(jsonObj) {}

                                                           ^

C:\Users\Home\Documents\Arduino\libraries\painlessMesh\src/painlessmesh/plugin.hpp:48:3: error: initializing argument 1 of 'painlessmesh::plugin::SinglePackage::SinglePackage(ArduinoJson::JsonObject)'

SinglePackage(JsonObject jsonObj) {

^

In file included from C:\Users\Home\Documents\Arduino\libraries\painlessMesh\src/painlessmesh/mesh.hpp:11:0,

             from C:\Users\Home\Documents\Arduino\libraries\painlessMesh\src/painlessMeshConnection.h:17,

             from C:\Users\Home\Documents\Arduino\libraries\painlessMesh\src/painlessMesh.h:21,

             from C:\Users\Home\Documents\Arduino\McLighting-experimental\McLighting-experimental\Arduino\MeshyMcLighting\MeshyMcLightingServer\MeshyMcLightingServer.ino:3:

C:\Users\Home\Documents\Arduino\libraries\painlessMesh\src/painlessmesh/ota.hpp: In constructor 'painlessmesh::plugin::ota::Announce::Announce(ArduinoJson::JsonObject)':

C:\Users\Home\Documents\Arduino\libraries\painlessMesh\src/painlessmesh/ota.hpp:82:58: error: use of deleted function 'ArduinoJson::JsonObject::JsonObject(const ArduinoJson::JsonObject&)'

Announce(JsonObject jsonObj) : BroadcastPackage(jsonObj) {

                                                      ^

In file included from C:\Users\Home\Documents\Arduino\libraries\painlessMesh\src/painlessmesh/mesh.hpp:7:0,

             from C:\Users\Home\Documents\Arduino\libraries\painlessMesh\src/painlessMeshConnection.h:17,

             from C:\Users\Home\Documents\Arduino\libraries\painlessMesh\src/painlessMesh.h:21,

             from C:\Users\Home\Documents\Arduino\McLighting-experimental\McLighting-experimental\Arduino\MeshyMcLighting\MeshyMcLightingServer\MeshyMcLightingServer.ino:3:

C:\Users\Home\Documents\Arduino\libraries\painlessMesh\src/painlessmesh/plugin.hpp:73:3: error: initializing argument 1 of 'painlessmesh::plugin::BroadcastPackage::BroadcastPackage(ArduinoJson::JsonObject)'

BroadcastPackage(JsonObject jsonObj) {

^

In file included from C:\Users\Home\Documents\Arduino\libraries\painlessMesh\src/painlessmesh/mesh.hpp:11:0,

             from C:\Users\Home\Documents\Arduino\libraries\painlessMesh\src/painlessMeshConnection.h:17,

             from C:\Users\Home\Documents\Arduino\libraries\painlessMesh\src/painlessMesh.h:21,

             from C:\Users\Home\Documents\Arduino\McLighting-experimental\McLighting-experimental\Arduino\MeshyMcLighting\MeshyMcLightingServer\MeshyMcLightingServer.ino:3:

C:\Users\Home\Documents\Arduino\libraries\painlessMesh\src/painlessmesh/ota.hpp: In member function 'virtual ArduinoJson::JsonObject painlessmesh::plugin::ota::Announce::addTo(ArduinoJson::JsonObject&&) const':

C:\Users\Home\Documents\Arduino\libraries\painlessMesh\src/painlessmesh/ota.hpp:91:13: error: use of deleted function 'ArduinoJson::JsonObject& ArduinoJson::JsonObject::operator=(ArduinoJson::JsonObject&&)'

 jsonObj = BroadcastPackage::addTo(std::move(jsonObj));

         ^

C:\Users\Home\Documents\Arduino\libraries\painlessMesh\src/painlessmesh/ota.hpp:97:12: error: use of deleted function 'ArduinoJson::JsonObject::JsonObject(const ArduinoJson::JsonObject&)'

 return jsonObj;

        ^

C:\Users\Home\Documents\Arduino\libraries\painlessMesh\src/painlessmesh/ota.hpp: In constructor 'painlessmesh::plugin::ota::DataRequest::DataRequest(ArduinoJson::JsonObject)':

C:\Users\Home\Documents\Arduino\libraries\painlessMesh\src/painlessmesh/ota.hpp:127:53: error: use of deleted function 'ArduinoJson::JsonObject::JsonObject(const ArduinoJson::JsonObject&)'

DataRequest(JsonObject jsonObj) : Announce(jsonObj) {

                                                 ^

C:\Users\Home\Documents\Arduino\libraries\painlessMesh\src/painlessmesh/ota.hpp:82:3: error: initializing argument 1 of 'painlessmesh::plugin::ota::Announce::Announce(ArduinoJson::JsonObject)'

Announce(JsonObject jsonObj) : BroadcastPackage(jsonObj) {

^

C:\Users\Home\Documents\Arduino\libraries\painlessMesh\src/painlessmesh/ota.hpp: In member function 'virtual ArduinoJson::JsonObject painlessmesh::plugin::ota::DataRequest::addTo(ArduinoJson::JsonObject&&) const':

C:\Users\Home\Documents\Arduino\libraries\painlessMesh\src/painlessmesh/ota.hpp:133:13: error: use of deleted function 'ArduinoJson::JsonObject& ArduinoJson::JsonObject::operator=(ArduinoJson::JsonObject&&)'

 jsonObj = Announce::addTo(std::move(jsonObj));

         ^

C:\Users\Home\Documents\Arduino\libraries\painlessMesh\src/painlessmesh/ota.hpp:136:12: error: use of deleted function 'ArduinoJson::JsonObject::JsonObject(const ArduinoJson::JsonObject&)'

 return jsonObj;

        ^

C:\Users\Home\Documents\Arduino\libraries\painlessMesh\src/painlessmesh/

geyseran commented 5 years ago

Hi Tobias,

Would it be possible for you to assist with upgrading the McLighting-experimental project to ArduinoJson 6? I keep on getting the following errors when I try to compile any of the sketches:

Arduino: 1.8.9 (Windows 10), Board: "NodeMCU 1.0 (ESP-12E Module), 80 MHz, Flash, Disabled, All SSL ciphers (most compatible), 4M (1M SPIFFS), v2 Higher Bandwidth, Disabled, None, Only Sketch, 115200"

In file included from C:\Users\Home\Documents\Arduino\McLighting-experimental\McLighting-experimental\Arduino\McLighting\McLighting.ino:218:0:

request_handlers.h:692:11: error: DynamicJsonBuffer is a class from ArduinoJson 5. Please see arduinojson.org/upgrade to learn how to upgrade your program to ArduinoJson version 6

   DynamicJsonBuffer jsonBuffer(bufferSize);

       ^

request_handlers.h:730:11: error: DynamicJsonBuffer is a class from ArduinoJson 5. Please see arduinojson.org/upgrade to learn how to upgrade your program to ArduinoJson version 6

   DynamicJsonBuffer jsonBuffer(bufferSize);

       ^

request_handlers.h:1285:11: error: DynamicJsonBuffer is a class from ArduinoJson 5. Please see arduinojson.org/upgrade to learn how to upgrade your program to ArduinoJson version 6

 DynamicJsonBuffer jsonBuffer(JSON_OBJECT_SIZE(4));

       ^

request_handlers.h:1322:11: error: DynamicJsonBuffer is a class from ArduinoJson 5. Please see arduinojson.org/upgrade to learn how to upgrade your program to ArduinoJson version 6

   DynamicJsonBuffer jsonBuffer(JSON_OBJECT_SIZE(4)+300);

       ^

request_handlers.h:1354:11: error: DynamicJsonBuffer is a class from ArduinoJson 5. Please see arduinojson.org/upgrade to learn how to upgrade your program to ArduinoJson version 6

DynamicJsonBuffer jsonBuffer(JSON_OBJECT_SIZE(7));

       ^

request_handlers.h:1397:11: error: DynamicJsonBuffer is a class from ArduinoJson 5. Please see arduinojson.org/upgrade to learn how to upgrade your program to ArduinoJson version 6

   DynamicJsonBuffer jsonBuffer(JSON_OBJECT_SIZE(7)+200);

       ^

exit status 1

DynamicJsonBuffer is a class from ArduinoJson 5. Please see arduinojson.org/upgrade to learn how to upgrade your program to ArduinoJson version 6

Regards,

Andre

From: Tobias Blum notifications@github.com Sent: Tuesday, 03 September 2019 21:47 To: toblum/McLighting McLighting@noreply.github.com Cc: geyseran andre.geyser@telkomsa.net; Mention mention@noreply.github.com Subject: Re: [toblum/McLighting] Experimental (#445)

I can't see the screenshot. Just use this link: https://github.com/toblum/McLighting/archive/experimental.zip

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/toblum/McLighting/pull/445?email_source=notifications&email_token=AE4NCJUCL5FMJR6YPFLPY2LQH25L5A5CNFSM4ISX65FKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD5ZLFVA#issuecomment-527610580 , or mute the thread https://github.com/notifications/unsubscribe-auth/AE4NCJRRIYGDNVWKN4F3CWTQH25L5ANCNFSM4ISX65FA . https://github.com/notifications/beacon/AE4NCJSELIGHTRGSHIKE4E3QH25L5A5CNFSM4ISX65FKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD5ZLFVA.gif


This email has been checked for viruses by Avast antivirus software. https://www.avast.com/antivirus

toblum commented 5 years ago

Hi @geyseran,

I don't think that I find time for this at the moment, sorry!

Regards Tobias