Windows CE 5.0 and Wifi RRS feed

  • Question

  • Hi,

    I want to know how can I turn ON/OFF the wifi adapter on my RFID reader. I had an application that turn ON/OFF, but I ain't got the source code. I want to turn ON the Wifi in my application, because I need the Wifi. 

    When I turn ON the wifi with the application named "CommMgr.exe". It creates a connection named SDIO86861 (Marvell SDIO8686). I don't know if it helps...

    Thank you to tell me if I will be able to write an application that turn ON/OFF the Wifi.


    • Moved by Jesse Jiang Tuesday, November 29, 2011 7:32 AM (From:Visual Studio Smart Device Development – Visual Basic and C# Projects)
    Friday, November 25, 2011 4:18 PM

All replies

  • Hello,


    As far as I know, you can turn on and off the WiFi by programming. You can follow these threads:


    How to turn on/off WiFi windows mobile 5

    How to Enable Disable wifi in Windows Mobile 6 using C#


    Best regards,


    Jesse Jiang [MSFT]
    MSDN Community Support | Feedback to us
    Monday, November 28, 2011 8:06 AM
  • Hi,


    First, I want to thank you for you help!

    But my problem is that when I don't use the little programm "CommMgr", my adapter "SDIO8686" doesn't exists. I think that the "CommMgr" is creating the adapter and open the connection.

    So I need to be able to do the same thing...

    I hope that somebody understands me!


    Monday, November 28, 2011 3:13 PM
  • Hi ,


    I think your issue should be raised in the Windows Embedded Compact Platform Development. I believe they will know more information of this issue than us, and I will move this one to that forum.


    Thanks for your understanding,


    Best regards,


    Jesse Jiang [MSFT]
    MSDN Community Support | Feedback to us
    Tuesday, November 29, 2011 7:31 AM

  • The Connection Manager -originally used on Windows Mobile devices only- has been released for Windows Embedded CE 6.0 R3 devices so you can find documentation about it on .

    You should be able to use the generic power manager interface functions:

    DWORD EnableWiFi (BOOL fEnable)
      SetDevicePower(_T("SDIO86861"), POWER_NAME, (fEnable ? D0 : D4));



    Luca Calligaris lucaDOTcalligarisATeurotechDOTcom Check my blog:
    Tuesday, November 29, 2011 9:26 AM
  • Hi,

    Thanks for your help!

    But I already told that my RFID reader run on Windows CE 5.0. There is a tool, "CommMgr.exe", that I use to open WLAN connection.

    I try to look at what you just told me, but I think that I am not able to use this code, because of Windows CE 5.0 instead of Windows CE 6.0 ???

    I don't know if there is something like this on Windows CE 5.0 ???


    Thanks for your help,


    • Edited by BigJuice Tuesday, November 29, 2011 2:25 PM
    Tuesday, November 29, 2011 1:21 PM
  • I forgot one thing: the connection manager is available also on Windows CE 5.0 if you have the Windows Embedded NavReady 'add-on' ( The correct documentation place is

    Have you tried the code snippet I posted? It does not have anything to share with the connection manager

    Luca Calligaris lucaDOTcalligarisATeurotechDOTcom Check my blog:
    Wednesday, November 30, 2011 12:57 PM
  • I try the code that you send me, but it doesn't work!


    I start the Wifi with the other program ("CommMgr.exe") and try with my own app to turn off. But it doesn't work! Maybe I've got the wrong device name ??

    I will take a look at the documentation that you send me! If you got anything else for me, just tell me!


    Thanks a lot for your help!


    Wednesday, November 30, 2011 1:18 PM
  • I've got an error when I'm trying to install de Windows Embedded NavReady "add-on" like : 

    "Windows Embedded NavReady requires that ARMV4I from the USA version fo the Microsoft Windows CE 5.0 release be installed. Please correct this and restart the Setup Wizard"

    My RFID ready is connect to my PC on USB cable ???

    Can you please help me!

    Thanks a lot,


    Wednesday, November 30, 2011 1:36 PM
  • The  Windows Embedded NavReady has to be installed on a PC where you have Platform Builder for Windows CE 5.0 installed. You cannot install it on the device, the link I gave you to the download was only as a reference. Since your device OS includes the connection manager you may be able to achieve what you want using the functionalities that the connection manager exports from your applications. Those functionalities are those described in About the code snippet, yes the device name may be wrong (I copied from your first post though): which value is SetDevicePower returning?

    Luca Calligaris lucaDOTcalligarisATeurotechDOTcom Check my blog:
    Wednesday, November 30, 2011 2:46 PM
  • The result value is "2".

    Sorry, as you can see, I'm newbie with this technology. I think that Platform Builder is not installed on my PC.

    Thanks for your help!


    Wednesday, November 30, 2011 2:51 PM
  • I believe you can use the PowerManagement API: SetDevicePower.




    Monday, December 5, 2011 10:50 PM