Go Down

Topic: ESP8266 SPI WiFi Shield ("nice to have") (Read 5880 times) previous topic - next topic

bilekj

Hi, it looks like unterminated string. I'll look at it tomorrow.

bilekj

#16
Feb 01, 2019, 01:42 pm Last Edit: Feb 01, 2019, 03:25 pm by bilekj
Fixed in commit https://github.com/JiriBilek/WiFiSpi/tree/4d12b26c8c5e80786d972e845f90f7bb858427b0
Please get new version of master library and try again.

ameliaamelia

I tested the new version and WiFiSpi.scanNetworks() goes fine.

Referring to the point b) of my previous submit, there is a need of
    status = WiFiSpi.begin();
without (ssid, pass) or something else, to enable
    int numSsid = WiFiSpi.scanNetworks();
since I do not even know the name of the AP.

Thank you.

PS:In my house 4 AP are installed, the sensors are in every room (14).
They connect to the nearest AP.
The application of the sensors does not have the coded SSID.

bilekj

I looked at it now and for calling WiFiSpi.scanNetworks() you don't need to be connected.

Thanks for testing my library.

ameliaamelia


gcampos

Fixed in commit https://github.com/JiriBilek/WiFiSpi/tree/4d12b26c8c5e80786d972e845f90f7bb858427b0
Please get new version of master library and try again.
I have it installed, Arduino IDE does not let me reinstall the new master.
Shall I just unzip from github and overwrite?

bilekj

I suppose so, there is no need to "install" libraries, you have to copy them to the correct place only in order to be found by the compiler.

gcampos

Thanks.

I try to follow Arduino IDE built in functions, because upgrades in time should be compatible, as opposed to doing "by hand" and then find that after an upgrade our sw does not compile - which is bad, but not tragic - or stops working... and that is serious trouble.

pert

The Arduino IDE's Library Manager does provide a convenient way to update libraries (as well as to install them). If the feature is enabled in preferences, the Arduino IDE even shows a notification when a new version of any installed library is available.

You can find more information on the Arduino Library Manager index here:
https://github.com/arduino/Arduino/wiki/Library-Manager-FAQ

The library is already 100% compliant with the requirements so the only thing that would need to be done is open an issue report at:
https://github.com/arduino/Arduino/issues/new
Requesting the library to be added.



Library Manager does only allow you to update to the release versions of a library, so it is not so useful for beta testing the library in non-release states.

gcampos

Oh, ok. So that explains why I don't see this lib as updateable. (I use and always have used the library manager)

Thanks.

bilekj

#25
Feb 04, 2019, 10:50 am Last Edit: Feb 04, 2019, 10:51 am by bilekj
Issued a request for adding the library to library manager, thanks for hint.

pert

I'm glad if I was able to be assistance. Judging from what I've seen of the library and the quality of your support on this thread, I think it will be a very welcome addition!

gcampos

I'm glad if I was able to be assistance. Judging from what I've seen of the library and the quality of your support on this thread, I think it will be a very welcome addition!
Kudos on that!!!!!

Juraj

the Library Manager will not help to get the latest fixes. to update from GitHub, use git

gcampos

the Library Manager will not help to get the latest fixes.
What do you mean?
Every so often the Arduino IDE warns me of library updates, so why not?



to update from GitHub, use git
Is there info on using git?
Or you mean downloading by hand?

Go Up