-
Notifications
You must be signed in to change notification settings - Fork 494
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Please help me to fix this problem #358
Comments
Downgrade Arduinojson to the version 5.13.2. It will fix the issue. It seems some problems with the latest beta version. |
After downgrading the Arduino Json Library to 5.13.2 i'm getting the setting /number failed: error... |
Thank you Pinigit for your help. The error fixed after downgrading the ArduinoJson 6 to 5.13.2 |
Should be clarified by #356. |
after downgrade everything came back to normality |
Thanx. After downgrading everything came to normal. |
Thanks. After downgrading the Arduinojson to version 5.13.2 work fine for me. |
update lib ArduinoJson , ArduinoJson is at least version 5.13.1 |
Downgrade ArduinoJson to 5.13.1 |
Thanks. everyone.you are save my life.. |
thank you verymuch it worked for me |
funciono tambien versión 5.13.2. |
Check the Internet Connectivity of NodeMCU |
Use ArdunioJson 5.13.2 |
In file included from lib\firebase-arduino-master\src\Firebase.h:30:0,
from lib\firebase-arduino-master\src\Firebase.cpp:16:
lib\firebase-arduino-master\src\FirebaseObject.h:109:21: error: 'StaticJsonBuffer' was not declared in this scope
std::shared_ptr<StaticJsonBuffer<FIREBASE_JSONBUFFER_SIZE>> buffer_;
^
lib\firebase-arduino-master\src\FirebaseObject.h:109:21: note: suggested alternative:
In file included from lib\ArduinoJson\src/ArduinoJson/StaticJsonDocument.hpp:8:0,
from lib\ArduinoJson\src/ArduinoJson.hpp:15,
from lib\ArduinoJson\src/ArduinoJson.h:9,
from lib\firebase-arduino-master\src\Firebase.h:26,
from lib\firebase-arduino-master\src\Firebase.cpp:16:
lib\ArduinoJson\src/ArduinoJson/Memory/StaticJsonBuffer.hpp:110:7: note: 'ArduinoJson::Internals::StaticJsonBuffer'
class StaticJsonBuffer : public Internals::StaticJsonBufferBase {
^
In file included from lib\ArduinoJson\src/ArduinoJson/DynamicJsonDocument.hpp:8:0,
from lib\ArduinoJson\src/ArduinoJson.hpp:9,
from lib\ArduinoJson\src/ArduinoJson.h:9,
from lib\firebase-arduino-master\src\Firebase.h:26,
from lib\firebase-arduino-master\src\Firebase.cpp:16:
lib\ArduinoJson\src/ArduinoJson/JsonObject.hpp:18:77: error: template argument 1 is invalid
(sizeof(JsonObject) + (NUMBER_OF_ELEMENTS) * sizeof(JsonObject::node_type))
^
lib\firebase-arduino-master\src\FirebaseObject.h:28:34: note: in expansion of macro 'JSON_OBJECT_SIZE'
#define FIREBASE_JSONBUFFER_SIZE JSON_OBJECT_SIZE(32)
^
lib\firebase-arduino-master\src\FirebaseObject.h:109:38: note: in expansion of macro 'FIREBASE_JSONBUFFER_SIZE'
std::shared_ptr<StaticJsonBuffer<FIREBASE_JSONBUFFER_SIZE>> buffer_;
^
In file included from lib\firebase-arduino-master\src\Firebase.h:30:0,
from lib\firebase-arduino-master\src\Firebase.cpp:16:
lib\firebase-arduino-master\src\FirebaseObject.h:109:62: error: expected unqualified-id before '>' token
std::shared_ptr<StaticJsonBuffer<FIREBASE_JSONBUFFER_SIZE>> buffer_;
^
In file included from lib\firebase-arduino-master\src\Firebase.cpp:16:0:
lib\firebase-arduino-master\src\Firebase.h:86:19: error: 'StaticJsonBuffer' was not declared in this scope
std::shared_ptr<StaticJsonBuffer<FIREBASE_JSONBUFFER_SIZE>> buffer_;
^
lib\firebase-arduino-master\src\Firebase.h:86:19: note: suggested alternative:
In file included from lib\ArduinoJson\src/ArduinoJson/StaticJsonDocument.hpp:8:0,
from lib\ArduinoJson\src/ArduinoJson.hpp:15,
from lib\ArduinoJson\src/ArduinoJson.h:9,
from lib\firebase-arduino-master\src\Firebase.h:26,
from lib\firebase-arduino-master\src\Firebase.cpp:16:
lib\ArduinoJson\src/ArduinoJson/Memory/StaticJsonBuffer.hpp:110:7: note: 'ArduinoJson::Internals::StaticJsonBuffer'
class StaticJsonBuffer : public Internals::StaticJsonBufferBase {
^
In file included from lib\ArduinoJson\src/ArduinoJson/DynamicJsonDocument.hpp:8:0,
from lib\ArduinoJson\src/ArduinoJson.hpp:9,
from lib\ArduinoJson\src/ArduinoJson.h:9,
from lib\firebase-arduino-master\src\Firebase.h:26,
from lib\firebase-arduino-master\src\Firebase.cpp:16:
lib\ArduinoJson\src/ArduinoJson/JsonObject.hpp:18:77: error: template argument 1 is invalid
(sizeof(JsonObject) + (NUMBER_OF_ELEMENTS) * sizeof(JsonObject::node_type))
^
lib\firebase-arduino-master\src\FirebaseObject.h:28:34: note: in expansion of macro 'JSON_OBJECT_SIZE'
#define FIREBASE_JSONBUFFER_SIZE JSON_OBJECT_SIZE(32)
^
lib\firebase-arduino-master\src\Firebase.h:86:36: note: in expansion of macro 'FIREBASE_JSONBUFFER_SIZE'
std::shared_ptr<StaticJsonBuffer<FIREBASE_JSONBUFFER_SIZE>> buffer_;
^
In file included from lib\firebase-arduino-master\src\Firebase.cpp:16:0:
lib\firebase-arduino-master\src\Firebase.h:86:60: error: expected unqualified-id before '>' token
std::shared_ptr<StaticJsonBuffer<FIREBASE_JSONBUFFER_SIZE>> buffer_;
^
lib\firebase-arduino-master\src\Firebase.cpp: In member function 'const ArduinoJson::JsonObject& FirebaseCall::json()':
lib\firebase-arduino-master\src\Firebase.cpp:60:7: error: 'buffer_' was not declared in this scope
if (buffer_.get() == NULL) {
^
lib\firebase-arduino-master\src\Firebase.cpp:61:23: error: expected type-specifier before 'StaticJsonBuffer'
buffer_.reset(new StaticJsonBuffer<FIREBASE_JSONBUFFER_SIZE>());
^
lib\firebase-arduino-master\src\Firebase.cpp:63:10: error: 'buffer_' was not declared in this scope
return buffer_.get()->parseObject(response().c_str());
^
lib\firebase-arduino-master\src\Firebase.cpp: In member function 'int FirebaseRequest::sendRequest(const string&, const string&, char*, const string&, const string&)':
lib\firebase-arduino-master\src\Firebase.cpp:76:1: warning: no return statement in function returning non-void [-Wreturn-type]
}
^
lib\firebase-arduino-master\src\Firebase.cpp: In member function 'void FirebaseStream::startStreaming(const string&, const string&, const string&)':
lib\firebase-arduino-master\src\Firebase.cpp:89:48: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
analyzeError("STREAM", status, path_with_auth);
^
lib\firebase-arduino-master\src\Firebase.cpp: In member function 'const ArduinoJson::JsonObject& FirebaseCall::json()':
lib\firebase-arduino-master\src\Firebase.cpp:64:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
*** [.pioenvs\nodemcuv2\lib6a5\firebase-arduino-master\Firebase.cpp.o] Error 1
In file included from lib\firebase-arduino-master\src/Firebase.h:30:0,
from lib\firebase-arduino-master\src/FirebaseArduino.h:22,
from src\main.cpp:2:
lib\firebase-arduino-master\src/FirebaseObject.h:109:21: error: 'StaticJsonBuffer' was not declared in this scope
std::shared_ptr<StaticJsonBuffer<FIREBASE_JSONBUFFER_SIZE>> buffer_;
^
lib\firebase-arduino-master\src/FirebaseObject.h:109:21: note: suggested alternative:
In file included from lib\ArduinoJson\src/ArduinoJson/StaticJsonDocument.hpp:8:0,
from lib\ArduinoJson\src/ArduinoJson.hpp:15,
from lib\ArduinoJson\src/ArduinoJson.h:9,
from lib\firebase-arduino-master\src/Firebase.h:26,
ffrom lib\firebase-arduino-master\src/FirebaseArduino.h:22,
from src\main.cpp:2:
lib\ArduinoJson\src/ArduinoJson/Memory/StaticJsonBuffer.hpp:110:7: note: 'ArduinoJson::Internals::StaticJsonBuffer'
class StaticJsonBuffer : public Internals::StaticJsonBufferBase {
^
In file included from lib\ArduinoJson\src/ArduinoJson/DynamicJsonDocument.hpp:8:0,
from lib\ArduinoJson\src/ArduinoJson.hpp:9,
from lib\ArduinoJson\src/ArduinoJson.h:9,
from lib\firebase-arduino-master\src/Firebase.h:26,
from lib\firebase-arduino-master\src/FirebaseArduino.h:22,
from src\main.cpp:2:
lib\ArduinoJson\src/ArduinoJson/JsonObject.hpp:18:77: error: template argument 1 is invalid
(sizeof(JsonObject) + (NUMBER_OF_ELEMENTS) * sizeof(JsonObject::node_type))
^
lib\firebase-arduino-master\src/FirebaseObject.h:28:34: note: in expansion of macro 'JSON_OBJECT_SIZE'
#define FIREBASE_JSONBUFFER_SIZE JSON_OBJECT_SIZE(32)
^
lib\firebase-arduino-master\src/FirebaseObject.h:109:38: note: in expansion of macro 'FIREBASE_JSONBUFFER_SIZE'
std::shared_ptr<StaticJsonBuffer<FIREBASE_JSONBUFFER_SIZE>> buffer_;
^
In file included from lib\firebase-arduino-master\src/Firebase.h:30:0,
from lib\firebase-arduino-master\src/FirebaseArduino.h:22,
from src\main.cpp:2:
lib\firebase-arduino-master\src/FirebaseObject.h:109:62: error: expected unqualified-id before '>' token
std::shared_ptr<StaticJsonBuffer<FIREBASE_JSONBUFFER_SIZE>> buffer_;
^
In file included from lib\firebase-arduino-master\src/FirebaseArduino.h:22:0,
from src\main.cpp:2:
lib\firebase-arduino-master\src/Firebase.h:86:19: error: 'StaticJsonBuffer' was not declared in this scope
std::shared_ptr<StaticJsonBuffer<FIREBASE_JSONBUFFER_SIZE>> buffer_;
^
lib\firebase-arduino-master\src/Firebase.h:86:19: note: suggested alternative:
In file included from lib\ArduinoJson\src/ArduinoJson/StaticJsonDocument.hpp:8:0,
from lib\ArduinoJson\src/ArduinoJson.hpp:15,
from lib\ArduinoJson\src/ArduinoJson.h:9,
from lib\firebase-arduino-master\src/Firebase.h:26,
from lib\firebase-arduino-master\src/FirebaseArduino.h:22,
from src\main.cpp:2:
lib\ArduinoJson\src/ArduinoJson/Memory/StaticJsonBuffer.hpp:110:7: note: 'ArduinoJson::Internals::StaticJsonBuffer'
class StaticJsonBuffer : public Internals::StaticJsonBufferBase {
^
In file included from lib\ArduinoJson\src/ArduinoJson/DynamicJsonDocument.hpp:8:0,
from lib\ArduinoJson\src/ArduinoJson.hpp:9,
from lib\ArduinoJson\src/ArduinoJson.h:9,
from lib\firebase-arduino-master\src/Firebase.h:26,
from lib\firebase-arduino-master\src/FirebaseArduino.h:22,
from src\main.cpp:2:
lib\ArduinoJson\src/ArduinoJson/JsonObject.hpp:18:77: error: template argument 1 is invalid
(sizeof(JsonObject) + (NUMBER_OF_ELEMENTS) * sizeof(JsonObject::node_type))
^
lib\firebase-arduino-master\src/FirebaseObject.h:28:34: note: in expansion of macro 'JSON_OBJECT_SIZE'
#define FIREBASE_JSONBUFFER_SIZE JSON_OBJECT_SIZE(32)
^
lib\firebase-arduino-master\src/Firebase.h:86:36: note: in expansion of macro 'FIREBASE_JSONBUFFER_SIZE'
std::shared_ptr<StaticJsonBuffer<FIREBASE_JSONBUFFER_SIZE>> buffer_;
^
In file included from lib\firebase-arduino-master\src/FirebaseArduino.h:22:0,
from src\main.cpp:2:
lib\firebase-arduino-master\src/Firebase.h:86:60: error: expected unqualified-id before '>' token
std::shared_ptr<StaticJsonBuffer<FIREBASE_JSONBUFFER_SIZE>> buffer_;
^
*** [.pioenvs\nodemcuv2\src\main.cpp.o] Error 1
The text was updated successfully, but these errors were encountered: