Windows mobile configuration SMS

Windows mobile configuration SMS Search Search

SMS & MMS Technical Forum » WAP Technical Discussions (unsupported) » Windows mobile configuration SMS « Previous || Next »
Author Message
Julia
New member
Username: Juliaf

Post Number: 1
Registered: 12-2009
Posted on Monday, December 21, 2009 - 11:36 am:   

Hello,

I am trying to send GPRS and WLAN access point to Window mobile device- HTC Brand.

But only simplest one works:
<wap-provisioningdoc>
<characteristic type="NAPDEF">
<parm name="NAPID" value="GPRS1" />
<parm name="BEARER" value="GSM-GPRS" />
<parm name="NAME" value="GPRS1" />
<parm name="NAP-ADDRESS" value="test.ee" />
<parm name="NAP-ADDRTYPE" value="APN" />
<characteristic type="NAPAUTHINFO">
<parm name="AUTHTYPE" value="PAP" />
</characteristic>
</characteristic>
</wap-provisioningdoc>

I spent a lot of time trying to find working examples in Internet, but could not set Proxy, DNS and other advanced settings.
If you have any examples how to do it for Windows Mobile, please, copy them here.

Thank in advance,
Julia
Des - NowSMS Support
Board Administrator
Username: Desosms

Post Number: 1587
Registered: 08-2008
Posted on Monday, December 21, 2009 - 03:56 pm:   

Hi Julia,

Microsoft has extended OMA Provisioning Content with many of their own tags and settings.

You can find the information on MSDN ... here's a link to get you started:

http://msdn.microsoft.com/en-us/library/bb737289.aspx

--
Des
NowSMS Support
Julia
New member
Username: Juliaf

Post Number: 3
Registered: 12-2009
Posted on Tuesday, December 22, 2009 - 08:15 am:   

Hello, thank you! I've already read it. I can make such kind of XML, but it works also only for main settings.
For example:
<wap-provisioningdoc>
<characteristic type="CM_GPRSEntries">
<characteristic type="GPRS1">
<parm name="DestId" value="{888C8CE5-E23F-4350-B0FB-34D4FAA7A8C6}" />
<parm name="Enabled" value="1" />
<parm name="UserName" value="ISP@CINGULARGPRS.COM" />
<parm name="Password" value="CINGULAR1" />
<parm name="Domain" value="www.ee" />
<parm name="SpecificIpAddr" value="0" />
<parm name="IpAddr" value="10.10.10.10" />
<parm name="SpecificNameServers" value="0" />
<parm name="DnsAddr" value="20.20.20.20" />
<parm name="AltDnsAddr" value="30.30.30.30" />
<parm name="WinsAddr" value="" />
<parm name="AltWinsAddr" value="" />
<parm name="IpHeaderCompression" value="1" />
<characteristic type="DevSpecificCellular">
<parm name="BearerInfoValid" value="1" />
<parm name="GPRSInfoValid" value="1" />
<parm name="GPRSInfoProtocolType" value="2" />
<parm name="GPRSInfoL2ProtocolType" value="PPP" />
<parm name="GPRSInfoAccessPointName" value="isp.cingular" />
<parm name="GPRSInfoAddress" value="" />
<parm name="GPRSInfoDataCompression" value="1" />
<parm name="GPRSInfoHeaderCompression" value="1" />
<parm name="GPRSInfoParameters" value="" />
</characteristic>
</characteristic>
</wap-provisioningdoc>
I can set local IP and domain using this template, but not DNS. Also I can add to this XML Proxy characteristic, but it will not work on device :-(
That's reason why I am looking for some working examples of GPRS access point configuration XML
Des - NowSMS Support
Board Administrator
Username: Desosms

Post Number: 1600
Registered: 08-2008
Posted on Tuesday, December 22, 2009 - 04:20 pm:   

Hi Julia,

Unfortunately, when it comes to Windows Mobile, I'm not an expert.

I know there are a lot of different "DestId" values that map to different types of settings.

Looking at your example above, if you are having problems setting DNS with it, then I would be suspicious of the "SpecificNameServers" value. By having it set to 0, I would think this would mean that you are not explicitly setting name servers.

I could be wrong ... but it looks suspicious to me.

--
Des
NowSMS Support
Julia
New member
Username: Juliaf

Post Number: 4
Registered: 12-2009
Posted on Wednesday, December 23, 2009 - 07:19 am:   

Hello, you're right about "SpecificNameServers", there is difference between local ip and dns settings, local ip is set independenly on "SpecificIpAddr" value.
I found working example with proxy, may be it will be useful to someone:
<wap-provisioningdoc>
<characteristic type="CM_GPRSEntries">
<characteristic type="My GPRS">
<parm name="DestId" value="{ADB0B001-10B5-3F39-27C6-9742E785FCD4}" />
<parm name="UserName" value=" " />
<parm name="Password" value=" " />
<parm name="Domain" value="" />
<parm name="SpecificIpAddr" value="0" />
<parm name="IpAddr" value="" />
<parm name="SpecificNameServers" value="0" />
<parm name="DnsAddr" value="" />
<parm name="AltDnsAddr" value="" />
<parm name="WinsAddr" value="" />
<parm name="AltWinsAddr" value="" />
<characteristic type="DevSpecificCellular">
<parm name="BearerInfoValid" value="1" />
<parm name="GPRSInfoValid" value="1" />
<parm name="GPRSInfoProtocolType" value="2" />
<parm name="GPRSInfoL2ProtocolType" value="PPP" />
<parm name="GPRSInfoAccessPointName" value="internet" />
<parm name="GPRSInfoAddress" value="" />
<parm name="GPRSInfoDataCompression" value="1" />
<parm name="GPRSInfoHeaderCompression" value="1" />
<parm name="GPRSInfoParameters" value="" />
</characteristic>
</characteristic>
</characteristic>
<characteristic type="CM_ProxyEntries">
<characteristic type="WAP-{18AD9FBD-F716-ACB6-FD8A-1965DB95B814}">
<parm name="SrcId" value="{18AD9FBD-F716-ACB6-FD8A-1965DB95B814}" />
<parm name="DestId" value="{7022E968-5A97-4051-BC1C-C578E2FBA5D9}" />
<parm name="Type" value="2" />
<parm name="Proxy" value="195.182.114.52:9201" />
</characteristic>
</characteristic>
</wap-provisioningdoc>

Add Your Message Here, or click here to start a new discussion thread.
Post:
Bold text Italics Underline Create a hyperlink Insert a clipart image

Username: Posting Information:
This is a private posting area. Only registered users and moderators may post messages here.
Click here to register with this discussion board.
Password:
Options: Automatically activate URLs in message
Action:

Login Login / Register Search Search   Home Home
Logout Logout Topics Topics Search Last 1|3|7|30 Days   Previous Page Previous Next Next Page