Author Topic: WCL_E_WIFI_DIRECT_SOFT_AP_START_ABORTED  (Read 28232 times)

fiteng.support

  • Guest
WCL_E_WIFI_DIRECT_SOFT_AP_START_ABORTED
« on: December 18, 2017, 01:47:40 PM »
Hello,
on Windows 10, we are using the wclWiFiSoftAP .NET class to start a wifi network.
In general it is working, but in a case we have the WCL_E_WIFI_DIRECT_SOFT_AP_START_ABORTED return value.
Do you have any suggestion to understand the problem? Maybe wifi dongle not supported?
Thanks in advance.

Offline Mike Petrichenko

  • Bluetooth Framework Developer
  • Administrator
  • Hero Member
  • *****
  • Posts: 3675
  • Karma: 1000
    • Wireless Communication Libraries
Re: WCL_E_WIFI_DIRECT_SOFT_AP_START_ABORTED
« Reply #1 on: December 18, 2017, 03:28:56 PM »
Hello,

Unfortunately there is no extended information about error available for SoftAP. Usualy it appears if the WiFi Radio module is not ready or turned off/disabled.

Offline Mike Petrichenko

  • Bluetooth Framework Developer
  • Administrator
  • Hero Member
  • *****
  • Posts: 3675
  • Karma: 1000
    • Wireless Communication Libraries
Re: WCL_E_WIFI_DIRECT_SOFT_AP_START_ABORTED
« Reply #2 on: December 18, 2017, 08:11:00 PM »
Hello,

We did more tests and found that the error may appear when a WiFi hardware was turned off and then turned on and you try to start Soft AP immediately after that. Unfortunately there is no any information about error appeared during that process. The WiFi subsystem simple sends Operation Aborted notification.

fiteng.support

  • Guest
Re: WCL_E_WIFI_DIRECT_SOFT_AP_START_ABORTED
« Reply #3 on: December 19, 2017, 10:08:05 AM »
Hello Mike, thank you for your reply.
What do you mean for "turned off and then turned on"? Could it be done automatically by Windows? It is strange because we try to start the wifi more times and every time it doesn't work.
Considering this kind of error, do you think we can try with another class, to create this wifi connection?
We used also the normal netsh command to create an hosted network, but it doesn't work (probably because this is not supported by Windows 10 and by this wifi dongle).
Thanks again for the help.

Offline Mike Petrichenko

  • Bluetooth Framework Developer
  • Administrator
  • Hero Member
  • *****
  • Posts: 3675
  • Karma: 1000
    • Wireless Communication Libraries
Re: WCL_E_WIFI_DIRECT_SOFT_AP_START_ABORTED
« Reply #4 on: December 19, 2017, 12:16:30 PM »
Hello,

Switching "off" and "on" means that your can disable WiFi hardware by switch or by clicking on WiFi icon or by disable WiFi adapter in LAN adapters list or in Device Manager. After enabling it back you can face the Aborted error.


Offline Mike Petrichenko

  • Bluetooth Framework Developer
  • Administrator
  • Hero Member
  • *****
  • Posts: 3675
  • Karma: 1000
    • Wireless Communication Libraries
Re: WCL_E_WIFI_DIRECT_SOFT_AP_START_ABORTED
« Reply #5 on: December 19, 2017, 01:14:19 PM »
By the way, if you use custom passphrase make sure it is at least 8 characters length.

 

Sitemap 1 2 3 4 5 6 7