tiga31328 wrote:support wrote:We made available today (pre-release) a new version (2.4) of our Arduino back-end software. It's a lot leaner as we got rid
of the "WebDuino" and "Time" libraries. Please give it a try and report as to whether it resolves your issue or not.
https://github.com/yanavery/MyDoorOpener-Arduino/releasesThanks,
Hi!
I am trying out 2.4, without making any modifications and attempt to compile the Sketch, I immediately get the following errors;
Arduino: 1.0.6 (Windows NT (unknown)), Board: "Arduino Leonardo"
MyDoorOpenerServer.cpp: In member function 'boolean MyDoorOpenerServer::isPasswordValid(char*)':
MyDoorOpenerServer.cpp:311: error: 'aes256_context' was not declared in this scope
MyDoorOpenerServer.cpp:311: error: expected `;' before 'ctx'
MyDoorOpenerServer.cpp:312: error: 'ctx' was not declared in this scope
MyDoorOpenerServer.cpp:312: error: 'aes256_init' was not declared in this scope
MyDoorOpenerServer.cpp:313: error: 'aes256_decrypt_ecb' was not declared in this scope
MyDoorOpenerServer.cpp:314: error: 'aes256_done' was not declared in this scope
If I enter only my IP, Port, and Password I still receive the above errors.
If I comment out the 'aes256' lines it compiles, but I don't know what that is doing to it stability wise.
However, once it is compiling, as soon as I enable notifications, i.e., #define NOTIFICATIONS_WATCHDOG_MINUTES 5 , I receive the following set of errors;
Arduino: 1.0.6 (Windows NT (unknown)), Board: "Arduino Leonardo"
MyDoorOpener.ino: In function 'void watchDogNotificationsHandler()':
MyDoorOpener:455: error: 'time_t' does not name a type
MyDoorOpener:456: error: 'time_t' was not declared in this scope
MyDoorOpener:456: error: expected `;' before 'latestOpen'
MyDoorOpener:465: error: 'initialOpen' was not declared in this scope
MyDoorOpener:466: error: 'now' was not declared in this scope
MyDoorOpener:468: error: 'latestOpen' was not declared in this scope
MyDoorOpener:468: error: 'now' was not declared in this scope
MyDoorOpener:470: error: 'initialOpen' was not declared in this scope
MyDoorOpener:521: error: 'initialOpen' was not declared in this scope
This is my first time ever using an Arduino device so I certainly believe I am doing something wrong, but, it looks like something in the aes256 is not linking, and when enabling notifications that time_t is not valid, from the release notes it appears it was taken out in the 2.4 release.
Any help you can provide is greatly appreciated as this is my first attempt and I am really looking forward to using the board with the app to control my two garage doors.
Thanks again,
Patrick