Firebase stream problem
MauzTrap opened this issue · 8 comments
Using mkr1010
Line 137
Error:
Call of overloaded println(long long int) is ambiguous
I'm not nearly good enough to solve this one myself but I think it has something to do with trying to print "int64Data" based on the suggestions on Google for "how to print int64" help would be much appreciated.
Edit: it seems this problem is in all of the version 1.2.0 and up
The library works fine and can compile in Arduino IDE (2.0 and older) and PlatformIO in VScode IDE for Arduino NANO 33 IoT, Arduino MKR WiFi 1010, Arduino MKR VIDOR 4000, Arduino Nano RP2040 Connect and Arduino UNO WiFi Rev.2
I already tested it all.
About your compilation error, you should debug your code yourself by removing all third-party libraries from your code and in libraries folder which one of these libraries may contain the Print.h header file that causes the ambiguous function compilation error.
Thats odd I'm using arduino ide 1.8.19 with no external libraries the only change I made was adding my wifi and server info in the definitions. I suppose I'll pull all the libraries out of the folder and see if it works
I believe it was an outdated version of WIFINA library. Thank you for the help:)
Is there a proper place to ask questions I dont wanna fill up this thread with unrelated questions I'm having a connection issues that I don't seem to have with my older versions of the "stream" that I wanna ask about
You can ask the question here.
Please remember that the WiFiNINA firmware requires server SSL certificate verification for server authentication. The certificate can be expired or revoked on server side. You need to update the SSL certificate in case server connection problem.
The firmware and certificate update, see this issue.
The only way for skipping server SSL certificate verification is firmware modification.
Ok thank you it seems that it only has issues with stream, the basic sketch works fine. I'll post there if I don't figure it out today
Just wanted to update for anyone reading. Adding Google ssl certificate made it work. It seems I have much to learn since the last time I did this. Thank you very much for the help. I'll post in discussions in the future since it seems the issues aren't actuslly with the coding itself
Depending on the device you use, this library limits the size of payload response to store in FirebaseData object here which you can change it.
Firebase-Arduino-WiFiNINA/src/Firebase.h
Lines 44 to 47 in a74d6e4
The large stream payload may not handle by the low memory devices then keep the data under the streaming path as small as possible.