Coder Social home page Coder Social logo

scanning networks about esp8266_rtos_sdk HOT 5 CLOSED

espressif avatar espressif commented on June 24, 2024
scanning networks

from esp8266_rtos_sdk.

Comments (5)

 avatar commented on June 24, 2024

Wifi will be started after user_init, so any executional functions such as scan/connect/disconnect etc. will not take effect.
You can get or set wifi parameters in user_init, and create a task to execute scan/connect/disconnect functions.

from esp8266_rtos_sdk.

darksv avatar darksv commented on June 24, 2024

Thank you. Now callback is executed, but how can I get the results of the scanning? Old SDK has a scaninfo struct, which is not present in the new one.

from esp8266_rtos_sdk.

 avatar commented on June 24, 2024

For scan done callback, it is same with old version.

from esp8266_rtos_sdk.

darksv avatar darksv commented on June 24, 2024

So the struct passed in arg is the same as in old SDK?

from esp8266_rtos_sdk.

 avatar commented on June 24, 2024
struct bss_info *bss = arg;

bss = STAILQ_NEXT(bss, next);    // ignor first

while (bss != NULL) {
    printf("ssid %s\n", bss->ssid);
    bss = STAILQ_NEXT(bss, next);
}

from esp8266_rtos_sdk.

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.