Comments (9)
@thorium-g would you be able to share the sketch you are using?
from wifinina.
@sandeepmistry Sure, and thanks for your reply. This sketch is based on "the nerd example" packed with wifinina 1.4.0.
I further investigated and refreshed my knowledge about Layer 1&2 WiFi. LLC (Physical Addressing) (Hardware Address + BSSID) is typically used to uniquely identify wifi-networks.
http://seat.massey.ac.nz/159334/lectures/week2_3_1s.pdf see page 26
Iยดm a native perl not c coder and with the "missing" documentation in wifi_drv.cpp spi_drv.cpp I am not able to provide a fix by myself, sry.
from wifinina.
@sandeepmistry If you are looking for a free and usable wifi-scanner I can recommend WifiInfoView by nirsoft.net. Other tools I used are inssider (needs registration now :/) and Netstumbler (supports only limited set of wifi chipsets).
Also I am looking for option to gather info and details from the network I am actually connected to. It looks like, from what I can tell from the sourcecode of wifinina, that some of the function are implemented in wifi_drv.cpp but not (yet) integrated into the wifinina interface.
from wifinina.
@facchinm any thoughts on this? Really I think we are stuck with what the esp-idf provides in terms of scanning ...
@thorium-g are the channels of the networks you are scanning the same? See the ScanNetworksAdvanced.ino example sketch, for example how to get the channel.
from wifinina.
Hi @thorium-g, are you still interested in this? Please see my comment above ...
from wifinina.
Hi! We are running into a similar problem.
We DO have networks with similar SSID's and would like to be able to connect to a specific one (the one that has the best signal)
Being able to specify an ID in begin() rather than the SSID would be great, looking at the code I wouldn't know how to proceed. any help would be greatly appreciated thanks
from wifinina.
Hello, I am also stucking into this problem.
Any way to choose which SSID to connect to in case of many network with the same SSID? As previously suggested, BSSID seems to be ok, otherwise SSID + channel.
Thank you
from wifinina.
Hi! We are running into a similar problem. We DO have networks with similar SSID's and would like to be able to connect to a specific one (the one that has the best signal) Being able to specify an ID in begin() rather than the SSID would be great, looking at the code I wouldn't know how to proceed. any help would be greatly appreciated thanks
Hello!
We have the same issue and we have purchased 10 devices already, but this issue is critical.
Is there any solution currently?
Help would be greatly appreciated thanks
from wifinina.
Hi! We are running into a similar problem. We DO have networks with similar SSID's and would like to be able to connect to a specific one (the one that has the best signal) Being able to specify an ID in begin() rather than the SSID would be great, looking at the code I wouldn't know how to proceed. any help would be greatly appreciated thanks
Hello! We have the same issue and we have purchased 10 devices already, but this issue is critical. Is there any solution currently?
Help would be greatly appreciated thanks
Found solution.
Get WiFi module source code from here: https://github.com/arduino/nina-fw
in WiFi.ccp modify WiFiClass::begin(const char* ssid, const char* key) method:
Change wifiConfig.sta.scan_method = WIFI_FAST_SCAN; to wifiConfig.sta.scan_method = WIFI_ALL_CHANNEL_SCAN;
Add new code line wifiConfig.sta.sort_method=WIFI_CONNECT_AP_BY_SIGNAL
After follow Readme building steps: https://github.com/arduino/nina-fw
For additional ESP32 configuration see: https://docs.espressif.com/projects/esp-idf/en/v4.0.3/api-guides/wifi.html#wi-fi-reconnect
Cheers
from wifinina.
Related Issues (20)
- WifiNiNA cannot handle when the same SSID is broadcasted from multiple #234
- Change in spi-drv.cpp breaks MKR Vidor 4000 initialization
- Connection status after doing a scanNetworks() ?? HOT 1
- WifiNiNA cannot handle when the same SSID is broadcasted from multiple APs HOT 1
- `WiFiStorage`: writing/reading small files is not working
- `WiFiStorage`: need API to remove a directory
- getTime() timestamp is exactly 2 days (172800 seconds) behind actual. HOT 2
- WiFiStorage read/write operations ignore return value from WiFiDrv
- Feature request: asynchronous wifi connections
- getTime() return an uint64_t value to handle epoch time in year 2038?
- setHostname not working with beginAP HOT 3
- 4Kbyte Limit
- more detailed example for web server
- WiFiSocketBuffer interferes with sized reads
- Version 1.8.14 doesn't work with Scheduler again HOT 1
- Please add WIFI_ALL_CHANNEL_SCAN for multiple AP environment HOT 2
- WiFi.beginEnterprise cannot connect to WPA2 enterprise wifi
- Non blocking WiFi.begin() & Client.connect() HOT 13
- esp32cam / wpa2 enterprise HOT 1
- `WiFiStorageFile` should implement the `Stream` interface
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from wifinina.