F
Francesco
Hi everybody.
I'm trying to set up a gprs connection programmatically. Reading msdn
documentation, tha way to follow seems to be to use CSPs
(configuration service providers).
If I try to create a GPRS connection, using the following xml string,
I get an error code. Here's the string:
<wap-provisioningdoc>
<characteristic type="CM_GPRSEntries">
<characteristic type="myGPRS">
<parm name="DestId" value="{436EF144-B4FB-4863-A041-8F905A62C572}" />
<parm name="DeviceName" value="Bluetooth" />
<parm name="Phone" value="#99*" />
<parm name="SwCompression" value="1" />
<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="web.omnitel.it" />
<parm name="GPRSInfoDataCompression" value="1" />
<parm name="GPRSInfoHeaderCompression" value="1" />
</characteristic>
</characteristic>
</characteristic>
</wap-provisioningdoc>
I use this string with the function DMProcessConfigXML. The function
and the wrapper works, because with another configuraiton string(not
about GPRS) everything works fine. So the problem seems to be
somewhere in the string.
(the msdn reference is the following link:
http://msdn.microsoft.com/library/d...y/en-us/guide_ppc/htm/cm_gprsentries_ixyc.asp
The error code doesn't help to understand what's wrong in that xml
string... Anyone can help?
Thanks
Francesco
I'm trying to set up a gprs connection programmatically. Reading msdn
documentation, tha way to follow seems to be to use CSPs
(configuration service providers).
If I try to create a GPRS connection, using the following xml string,
I get an error code. Here's the string:
<wap-provisioningdoc>
<characteristic type="CM_GPRSEntries">
<characteristic type="myGPRS">
<parm name="DestId" value="{436EF144-B4FB-4863-A041-8F905A62C572}" />
<parm name="DeviceName" value="Bluetooth" />
<parm name="Phone" value="#99*" />
<parm name="SwCompression" value="1" />
<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="web.omnitel.it" />
<parm name="GPRSInfoDataCompression" value="1" />
<parm name="GPRSInfoHeaderCompression" value="1" />
</characteristic>
</characteristic>
</characteristic>
</wap-provisioningdoc>
I use this string with the function DMProcessConfigXML. The function
and the wrapper works, because with another configuraiton string(not
about GPRS) everything works fine. So the problem seems to be
somewhere in the string.
(the msdn reference is the following link:
http://msdn.microsoft.com/library/d...y/en-us/guide_ppc/htm/cm_gprsentries_ixyc.asp
The error code doesn't help to understand what's wrong in that xml
string... Anyone can help?
Thanks
Francesco