-
Notifications
You must be signed in to change notification settings - Fork 96
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
Error when compiling DeviceInfo example for ESP8266 board #269
Comments
So it seems like the ESP8266 Arduino libraries are not complete and do not implement the getTimeout() function. A proper fix would be to add this function to the ESP libraries. A workaround could be to "guess" the value and just assume we are close enough. Normally a timeout would be in the order of 1 second. |
So I changed the following line in TheThingsNetwork.cpp
I can compile the code now, however, after upload the MCU crashes with the following exception i⸮J�W⸮ai⸮J⸮⸮CH,E⸮Device Information --------------- CUT HERE FOR EXCEPTION DECODER --------------- Exception (28):
ctx: cont |
At this point maybe try a tool like https://github.com/me-no-dev/EspExceptionDecoder/tree/1.1.0 to decode the above crash into a more usable format. Hopefully that will indicate on which line the program is crashing. |
Hi there,
when trying to compile the DeviceInfo example for Board "Generic ESP8266 module" I get the following error.
Arduino: 1.8.13 (Windows Store 1.8.42.0) (Windows 10), Board: "Generic ESP8266 Module, 80 MHz, Flash, Legacy (new can return nullptr), All SSL ciphers (most compatible), no dtr (aka ck), 26 MHz, 40MHz, DOUT (compatible), 4MB (FS:3MB OTA:~512KB), 2, nonos-sdk 2.2.1+100 (190703), v2 Lower Memory, Disabled, None, Only Sketch, 115200"
C:\Users\Moritz\Documents\Arduino\libraries\TheThingsNetwork\src\TheThingsNetwork.cpp: In member function 'ttn_response_t TheThingsNetwork::poll(port_t, bool)':
C:\Users\Moritz\Documents\Arduino\libraries\TheThingsNetwork\src\TheThingsNetwork.cpp:652:41: error: 'class Stream' has no member named 'getTimeout'
The text was updated successfully, but these errors were encountered: