Languages

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();

Responses

1 Replies
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.