Git Product home page Git Product logo

Comments (9)

sandeepmistry avatar sandeepmistry commented on August 17, 2024 1

@thorium-g would you be able to share the sketch you are using?

from wifinina.

thorium-g avatar thorium-g commented on August 17, 2024

@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.

The_Nerd-lite.zip

from wifinina.

thorium-g avatar thorium-g commented on August 17, 2024

@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.

sandeepmistry avatar sandeepmistry commented on August 17, 2024

@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.

sandeepmistry avatar sandeepmistry commented on August 17, 2024

Hi @thorium-g, are you still interested in this? Please see my comment above ...

from wifinina.

mitteKhanh avatar mitteKhanh commented on August 17, 2024

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.

iSpartaco avatar iSpartaco commented on August 17, 2024

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.

Modris-lat avatar Modris-lat commented on August 17, 2024

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.

Modris-lat avatar Modris-lat commented on August 17, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.