OMA Client DM xml format questions:
When I attempt to query for device information, the command states that it
successfully completes, but the output file that is generated is an exact
copy of my input file?? Below is the xml command I am attempting to push
<wap-provisioningdoc>
<characteristic type="DeviceInformation">
<parm-query name="Product" />
<parm-query name="AvailableRam" />
<parm-query name="TotalRam" />
<parm-query name="AvailableStorage" />
<parm-query name="TotalStorage" />
<parm-query name="BacklightACTimeout" />
<parm-query name="BacklightBatteryTimeout" />
<parm-query name="BatteryStrength" />
<parm-query name="ProcessorType" />
<parm-query name="ProductVersion" />
<parm-query name="OperatingSystem" />
<parm-query name="OperatingSystemVersion" />
</characteristic>
</wap-provisioningdoc>
Other queries (i.e., security settings, certificates, ...) work as expected,
but this and a simple query of the alarm status return the input files as
their output.
SyncML questions:
I am attempting to build OMA DM compliant xml commands and apply them to my
mobile devices (both smart phone and pocket pc) using rapiconfig.exe, but
whenever i attempt to push this xml command to the device, i always receive a
"Config failed (0x80004005): Unspecified error" error message. Below is the
SyncML that I am trying to push
<SyncML xmlns='SYNCML:SYNCML1.1'>
<SyncHdr>
<VerDTD>1.1</VerDTD>
<VerProto>SyncML/1.1</VerProto>
<SessionID>1</SessionID>
<MsgID>1</MsgID>
<Target>
<LocURI>IMEI:35638400546326800</LocURI>
</Target>
<Source>
<LocURI>localhost</LocURI>
</Source>
</SyncHdr>
<SyncBody>
<Get>
<CmdID>2</CmdID>
<Item>
<Target>
<LocURI>./DevInfo</LocURI>
</Target>
</Item>
</Get>
<Final />
</SyncBody>
</SyncML>
Thank you in advance for your help,
allen
Anticipating the next question -- Why isn't an error returned in this case?
There is no error returned because the protocol specification says that
unrecognized elements in the configuration document are to be ignored. This
is to allow management servers to send configuration documents that contain
provisioning elements for all the devices they support and the device will
act on those elements it recognizes and ignore the rest.
For your second question rapiconfig only works with WAP provisioning docs
and cannot be used to process SyncML documents.
--
Bill Stelzel [MSFT]
This posting is provided "AS IS" with no warranties, and confers no rights.
"allen" <al...@discussions.microsoft.com> wrote in message
news:5B507613-99AF-4661...@microsoft.com...
I do have another question that you or maybe someone else in this group can
help to answer. Where can I find the authoritative document(s) and/or
examples regarding SyncML other than the specs on the OMA site? I've got the
mobile operators guide, and both the current ppc and sp sdk's but the
information is a bit limited.
Thanks again,
Alle
Are there specific questions you have or are you just looking for more of an
overview of syncML support on Windows Mobile?
--
Bill Stelzel [MSFT]
This posting is provided "AS IS" with no warranties, and confers no rights.
"allen" <al...@discussions.microsoft.com> wrote in message
news:C3822BF6-CA49-420C...@microsoft.com...