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

[WebServer] Create Network controller and port all network related methods #43

Open
AIFanatic opened this issue Apr 11, 2019 · 1 comment

Comments

@AIFanatic
Copy link
Owner

In GitLab by @nm on Feb 3, 2019, 12:36

null

@AIFanatic
Copy link
Owner Author

In GitLab by @nm on Feb 3, 2019, 12:36

Create Network controller and port all of the below:

        void requestWifiStatus(AsyncWebServerRequest *request);
        void requestWifiList(AsyncWebServerRequest *request);
        void requestWifiConnect(AsyncWebServerRequest *request);
        void requestWifiDisconnect(AsyncWebServerRequest *request);

        void connectNetwork();
        void checkInternetAccess();

        bool disconnectWifi();
        bool reconnectWifi();
        bool connectAP(const char *apName);
        bool connectWifi(const char *ssid, const char *password);
        String getWifiIP();
        String getWifiSSID();
        int getWifiSignal();
        wifi_mode_t getWifiMode();

        bool needNetworkReconnect = false;
        bool hasInternetAccess = false;

@AIFanatic AIFanatic removed the to do label Apr 13, 2019
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