语言

Menu
Sites
Language
unable to activate wifi programmatically

Hi all,
     i am unaale to activate wifi in RD-PQ i am getting E_INVALID OPERATION
     can any one help me regarding this error.
      wifimanager wm;
wm.construct(wifilistner);
 wm.Activate();

响应

1 回复
Alex Dem

Hi,
I suppose this error log due Wi-Fi is also activated (see Settings->Wi-Fi)
Try to check:
if ( ! wm.IsActivated() ) { wm.Activate();}
Alexey.