BlackBerry Forums Support Community
              

Closed Thread
 
Thread Tools
Old 08-20-2007, 08:50 AM   #1
BBAdmin
BlackBerry Extraordinaire
 
BBAdmin's Avatar
 
Join Date: Feb 2005
Location: Port 3101.org
Model: .
Carrier: .
Posts: 2,491
Talking Windows Mobile GPRS provisioning

Please Login to Remove!

I've been playing around with creating cab files to quickly install GPRS settings on to Windows Mobile devices and thought I'd publish my results in here in case anybody wants or needs them.

Chuck the text below in to a notepad document and edit the sections highlighted in bold as per your networks APN settings.

Quote:
<wap-provisioningdoc>
<characteristic type="CM_GPRSEntries">
<characteristic type="O2">
<parm name="DestId" value="{436EF144-B4FB-4863-A041-8F905A62C572}" />
<parm name="UserName" value="APNusername" />
<parm name="Password" value="APNpassword" />
<parm name="SwCompression" value="1" />
<parm name="IpHeaderCompression" value="0" />
<parm name="SpecificNameServers" value="1" />
<parm name="DnsAddr" value="PrimaryDNS" />
<parm name="AltDnsAddr" value="AlternateDNS" />
<parm name="Domain" value="" />
<characteristic type="DevSpecificCellular">
<parm name="GPRSInfoValid" value="1" />
<parm name="GPRSInfoAccessPointName" value="AccessPointName" />
<parm name="BearerInfoValid" value="1" />
<parm name="GPRSInfoProtocolType" value="2" />
<parm name="GPRSInfoL2ProtocolType" value="PPP" />
<parm name="GPRSInfoAddress" value="" />
<parm name="GPRSInfoDataCompression" value="1" />
<parm name="GPRSInfoHeaderCompression" value="1" />
<parm name="GPRSInfoParameters" value="" />
</characteristic>
</characteristic>
</characteristic>

<characteristic type="Registry">
<characteristic type="HKCU\ControlPanel\PhoneExtendFunction" translation="filesystem">
<parm name="GPRSAuthenticationMethod" datatype="integer" value="1" />

</characteristic>
</characteristic>
</wap-provisioningdoc>
On the forth line of text you'll see the long string: {436EF144-B4FB-4863-A041-8F905A62C572}. This is basically stating what you're provisioning for, and in this example it is for GPRS internet settings. If, for example, you were creating a config file for Wi-Fi this would be different. You can track some of these down in the MSDN blogs and TechNet, but like all things Microsoft, it's an arse to find out.

Once you've entered your settings save the text file as _setup.xml.

Use the makecab.exe command line utility to turn the xml in to a cab file:

makecab.exe "location of _setup.xml" what_you_want_to_call_the_cab.cab

You will then have you cab file which you can drop on to a Windows Mobile device. Once you have transferred the file click on it and the settings will install.

I have tried my file based on the above with O2 UK settings for GPRS and tested it on Windows Mobile 5 and 6 successfully.

Enjoy!!!
__________________

Offline  
Old 08-20-2007, 06:07 PM   #2
dc/dc
Spam Reporter
 
dc/dc's Avatar
 
Join Date: Oct 2005
Location: IAD
Model: 6230
Carrier: Voicestream
Posts: 14,524
Default

That's pretty slick! Nice work!
__________________
I h8 txtspk.
Offline  
Old 09-26-2007, 08:44 AM   #3
cnordb01
New Member
 
Join Date: Jun 2007
Model: 8300
PIN: N/A
Carrier: Vodafone
Posts: 2
Default CAB for APN settings on Samsung SGH-i600

I tried the above solution but I must be missing something. Each time I try to install the CAB on a Samsung SGH-i600 running WM6 it fails. Any ideas? I have pasted exactly what I have in my XML file.

<wap-provisioningdoc>
<characteristic type="CM_GPRSEntries">
<characteristic type="Siminn GPRS">
<parm name="DestId" value="{436EF144-B4FB-4863-A041-8F905A62C572}" />
<parm name="UserName" value="" />
<parm name="Password" value="" />
<parm name="SwCompression" value="1" />
<parm name="IpHeaderCompression" value="0" />
<parm name="SpecificNameServers" value="1" />
<parm name="DnsAddr" value="" />
<parm name="AltDnsAddr" value="" />
<parm name="Domain" value="" />
<characteristic type="DevSpecificCellular">
<parm name="GPRSInfoValid" value="1" />
<parm name="GPRSInfoAccessPointName" value="gprs.simi.is" />
<parm name="BearerInfoValid" value="1" />
<parm name="GPRSInfoProtocolType" value="2" />
<parm name="GPRSInfoL2ProtocolType" value="PPP" />
<parm name="GPRSInfoAddress" value="" />
<parm name="GPRSInfoDataCompression" value="1" />
<parm name="GPRSInfoHeaderCompression" value="1" />
<parm name="GPRSInfoParameters" value="" />
</characteristic>
</characteristic>
</characteristic>

<characteristic type="Registry">
<characteristic type="HKCU\ControlPanel\PhoneExtendFunction" translation="filesystem">
<parm name="GPRSAuthenticationMethod" datatype="integer" value="1" />

</characteristic>
</characteristic>
</wap-provisioningdoc>
Offline  
Old 09-28-2007, 06:04 AM   #4
BBAdmin
BlackBerry Extraordinaire
 
BBAdmin's Avatar
 
Join Date: Feb 2005
Location: Port 3101.org
Model: .
Carrier: .
Posts: 2,491
Default

You have not specified a username and password for the gateway

Quote:
<parm name="UserName" value="" />
<parm name="Password" value="" />
You don't always need the DNS bit, that depends on your carrier (for example you don't with Vodafone but you do with O2), but you will always need a username and password for your APN (in your case the APN is gprs.simi.is)
__________________

Offline  
Closed Thread



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


Retro 1951 Apple Computer Logo 0.7mm Ballpoint Black Ink Pen Gold Barrel picture

Retro 1951 Apple Computer Logo 0.7mm Ballpoint Black Ink Pen Gold Barrel

$56.41



C2102A-4 INTEL VINTAGE 1K SRAM 1024Bit CERAMIC GOLD PINS APPLE 1, DC1976 Mimeo-1 picture

C2102A-4 INTEL VINTAGE 1K SRAM 1024Bit CERAMIC GOLD PINS APPLE 1, DC1976 Mimeo-1

$30.83



Lot of 6 Vintage Apple Drawstring Bags For iPhone, Mac, Apple Watch, iPod picture

Lot of 6 Vintage Apple Drawstring Bags For iPhone, Mac, Apple Watch, iPod

$45.00



Vintage Print Block “ Apple Corer Kitchen Tool “ Copper Face Block picture

Vintage Print Block “ Apple Corer Kitchen Tool “ Copper Face Block

$16.00



Vintage Food Cut-Out Display Print: Mama's Apple Pie w/Ice Cream Topper picture

Vintage Food Cut-Out Display Print: Mama's Apple Pie w/Ice Cream Topper

$19.00



Vintage  Rainbow Logo Apple Post-It Sticky Notes 4

Vintage Rainbow Logo Apple Post-It Sticky Notes 4" Rare computer collectible

$39.99







Copyright © 2004-2016 BlackBerryForums.com.
The names RIM © and BlackBerry © are registered Trademarks of BlackBerry Inc.