Skip to content
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

My BSSID actually starts by 0 #2

Open
Tornix242 opened this issue Nov 4, 2023 · 0 comments
Open

My BSSID actually starts by 0 #2

Tornix242 opened this issue Nov 4, 2023 · 0 comments

Comments

@Tornix242
Copy link

Tornix242 commented Nov 4, 2023

if (_settings.wifi_channel==0 || _settings.wifi_bssid[0]==0) return false;

Hi John,

First of all a huge thank you for your work.

I'm on a home project to improve my v1 thermometers that monitor and drive house's heating. V1 devices deplete battery within two weeks. I found your work showcasing how to solve one of my problems, namely random-quality wifi connections.

I'm far from being a C++ / Arduino expert and I'm learning from your code for a couple days. Thank you for introducing me to EEPROM management, classes and structures!

At first your project did not worked for me.
wifi_helper.cpp line 83 states that if _settings.wifi_bssid[0]==0 then _fast_connect won't do its magic and _normal_connect will take over.
It appears that my BSSID starts with '00'. So I removed this test.

Tonight, it works ! My cycle includes wakeup, measurement, connection, sending data, deepsleep.
I'm currently having an average cycle time of 1700ms using _fast_connect. I will looking on how to improve this because I some time have a 600ms cycle time.

All the best,
Thomas

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant