WifiWizard2 icon indicating copy to clipboard operation
WifiWizard2 copied to clipboard

How to disconnect from a ssid and connect another ssid?

Open kingkarki opened this issue 4 years ago • 2 comments

Prerequisites

Check all boxes if you have done the following:

  • [ yes] Checked that your issue isn't already filed: https://github.com/tripflex/wifiwizard2/issues
  • [ yes] Make sure you fill out the Issue Type below

Issue type

Select all that apply

  • [ ] Bug
  • [ ] Enhancement
  • [ ] Task
  • [yes ] Question
  • [ ] Other

Description

When I try to disconnect using the following code I am unable to disconnect. It gives me an error.

disconnect(){
  WifiWizard2.disconnect('karki_fsrkt').then((ssid) => {
    console.log("Disconnect: " + ssid);
    this.wifiSsid = ssid;
  }).catch((err) => {
    console.log("Failed to disconnect");
    console.error(err);
  });;

}

DISCONNECT_NET_DISABLE_ERROR

How to disconnect properly? I am using an android phone. [Description of the issue]

Steps to Reproduce

  1. [First Step]
  2. [Second Step]
  3. [and so on...]

Expected behavior: [What you expect to happen]

Actual behavior: [What actually happens]

Reproduces how often: [What percentage of the time does it reproduce?]

Versions

Please include the plugin version that you are using and also include the OS, version and device you are using.

Additional Information

Any additional information, configuration or data that might be necessary to reproduce the issue.

kingkarki avatar Apr 15 '20 07:04 kingkarki

have you find a solution for this ?

hathemi avatar May 25 '20 09:05 hathemi

Any update on above?

ashutoshtiwari199 avatar Jan 31 '24 09:01 ashutoshtiwari199