Skip to content
This repository has been archived by the owner on Feb 4, 2023. It is now read-only.

Storage class #4

Closed
AppsByDavideV opened this issue Jul 28, 2020 · 3 comments
Closed

Storage class #4

AppsByDavideV opened this issue Jul 28, 2020 · 3 comments
Labels
bug Something isn't working

Comments

@AppsByDavideV
Copy link

Hello,
Your library is great, but the storage part does not work, The original WiFinina does.
It looks something related to the WiFi_Drv class.

C:\Users\vdavi\AppData\Local\Temp\arduino_build_453956\sketch\Server.ino.cpp.o: In function setup':

C:\Users\vdavi\Documents\Arduino\libraries\WiFiNINA_Generic\src/utility/wifi_drv.h:344: undefined reference to `WiFiDrv::fileOperation(unsigned char, char const*, unsigned char, unsigned long, unsigned char*, unsigned long)'

C:\Users\vdavi\Documents\Arduino\libraries\WiFiNINA_Generic\src/utility/wifi_drv.h:337: undefined reference to `WiFiDrv::fileOperation(unsigned char, char const*, unsigned char, unsigned long, unsigned char*, unsigned long)'

C:\Users\vdavi\AppData\Local\Temp\arduino_build_453956\libraries\WiFiNINA_Generic\WiFiStorage_Generic.cpp.o: In function `WiFiStorageClass::exists(char const*, unsigned long*)':

C:\Users\vdavi\Documents\Arduino\libraries\WiFiNINA_Generic\src\utility/wifi_drv.h:344: undefined reference to `WiFiDrv::fileOperation(unsigned char, char const*, unsigned char, unsigned long, unsigned char*, unsigned long)'

collect2.exe: error: ld returned 1 exit status`

Maybe you could have a look into that.
Thanks a lot

Davide

@khoih-prog
Copy link
Owner

@AppsByDavideV

Thanks for using the library and encouraging words.

The Storage class is new and I really haven't got time to verify and test the feature. It's good that you found out the issue anf I'll certainly investigate and fix the bug.

Could you pls help by posting the Server.ino sketch to save me time to recreate the issue to fix the bug.

Regards,

@khoih-prog khoih-prog added the bug Something isn't working label Jul 28, 2020
@khoih-prog
Copy link
Owner

@AppsByDavideV

I see the issue now. Will fix now and post onto Master, and new v1.6.2 and inform you.

@khoih-prog
Copy link
Owner

Hi @AppsByDavideV

The new WiFiNINA_Generic v1.6.2 fixes the issue.

You can use WiFiStorage example to test and verify.

This is the debug terminal output when running the WiFiStorage example on SAMD_NANO_33_IOT

Start WiFiStorage on SAMD_NANO_33_IOT
WiFiStorage on SAMD_NANO_33_IOT is OK if you see this long line.

Your contribution was noted in Contributions-and-Thanks

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants