Some of this was copy and pasted from DavidC's tutorial on configuring exchange via a cab file to standardise things in this forum.
Wifi connectivity on supported Windows Mobile 5, 6 & 6.1 devices can use the CSP provided to configure the device automatically.
The XML:
<characteristic type="CM_WiFiEntries">
<characteristic type="Your SSID">
<parm name="DestID" value="{436EF144-B4FB-4863-A041-8F905A62C572}"/>
</characteristic>
</characteristic>
<characteristic type="Wi-Fi">
<characteristic type="access-point">
<characteristic type="Your SSID">
<parm name="DestId" value="{436EF144-B4FB-4863-A041-8F905A62C572}"/>
<parm name="Encryption" value="0"/>
<parm name="Authentication" value="0"/>
<parm name="Hidden" value="0"/>
<parm name="KeyProvided" value="0"/>
<parm name="NetworkKey" value="your network key"/>
<parm name="KeyIndex" value="1"/>
<parm name="Use8021x" value="0"/>
</characteristic>
</characteristic>
</characteristic>
There are a couple of values that you will want to change to suit your network environment.
Firstly, DestID. This tells the device if this network is "Work Network" or "The Internet". The possible values are {436EF144-B4FB-4863-A041-8F905A62C572 for The Internet, or {A1182988-0D73-439e-87AD-2A5B369F808B} for Work Network.
Encryption can be one of the following values to suit your network:
0 = Encrypt using 802.11 wired equivalent privacy (WEP) key.
1 = No encryption.
4 = Encrypt using Temporal Key Integrity Protocol (TKIP) sequence counters.
6 = Encrypt using Advanced Encryption Standard (AES).
Authentication can be any of the following:
0 = Open Network
1 = Shared Network
3 = WPA
4 = WPA-PSK
5 = WPA-NONE
6 = WPA2
7 = WPA2-PSK
Put this into NOTEPAD. We cannot have any text formatting on this, so word is out of the question, just straight notepad.
Save this as _setup.xml from the notepad save as menu. If you can't save as xml, then change the file extension after you save it as a .txt.
The name of the file - _setup.xml is important.
You can change around the below instructions, but this should make it easier for people who are new to compiling cabs
- Save your _setup.xml to a directory called C:\Cabs\ on your computer.
- Now open up a command prompt window Start>Run>cmd.
- Type cd C:\Cabs in the command prompt window
- Type MakeCAB.exe /D COMPRESS=OFF _setup.xml Wifi.cab
Now you will have an Wifi.cab file in your C:\Cabs directory.
Launch this on your device and the settings will be provisioned.