This document contains "SmartDocs" capabilities. This will allow you to easily see only the content that is relevant to the Zebra device you are working with.
MX Features will be available on a device based on a combination of factors:
After identifying the version information for your device, simply select them in the SmartDocs bar. Any section that does not apply to your device will be greyed out. You can clear all settings by hitting the SmartDocs button. Clicking the back and next buttons on the SmartDocs bar will navigate to the sections that are relevant to your device.
The ComponentMgr is used to configure the state and usage of subsystems such as Ethernet on the device.
The state defines whether a subsystem is On (active) or Off (inactive). Usage enables or disables the subsystem and controls whether its state can be changed (turned On or Off) by the device user through the System Settings Menu or programmatically using the ComponentMgr. If an attempt is made to use the ComponentMgr to control the state of a subsystem for which usage is currently disabled, an error will be returned in the Result XML document.
Note: Not every device will support every subsystem. For example, some devices have no support for Ethernet. If you try to use the ComponentMgr to control the state or usage of a subsystem that is not supported on a given device, then an error will be returned in the Result XML document.
This parm allows you to control whether the state of the Ethernet Option can be changed.
If the usage of Ethernet is Disabled and then Enabled, the state of Ethernet, either On or Off, will be the same as it was before it was Disabled.
Parm Name: EthernetUsage
Option | Name | Description | Requires |
---|---|---|---|
0 | Do not change | This value (or the absence of this parm from the XML) will cause no changes to whether the Ethernet can be used. |
OSX: 4.4+ MX: 4.4+ |
1 | Enable | This value will cause the state of the Ethernet Option to be unlocked, allowing it to be changed, either by the device user or by the ComponentMgr. |
OSX: 4.4+ MX: 4.4+ |
2 | Disable | This value will cause the state of the Ethernet Option to be locked, preventing it from being changed, either by the device user or by the ComponentMgr. |
OSX: 4.4+ MX: 4.4+ |
This parm allows you to change the state of the Ethernet Option to On or Off.
Parm Name: EthernetState
Option | Name | Description | Requires |
---|---|---|---|
0 | Do not change | This value (or the absence of this parm from the XML) will cause no changes to whether the Ethernet Option is turned On or Off. |
OSX: 4.4+ MX: 4.4+ |
1 | Turn on | This value will cause the Ethernet Option to be turned On, thus allowing the use of an Ethernet connection on the device. |
OSX: 4.4+ MX: 4.4+ |
2 | Turn off | This value will cause the Ethernet Option to be turned Off, thus disallowing the use of an Ethernet connection on the device. |
OSX: 4.4+ MX: 4.4+ |
<wap-provisioningdoc>
<characteristic type="ComponentMgr" version="4.4">
<parm name="EthernetUsage" value="1"/>
<parm name="EthernetState" value="1"/>
</characteristic>
</wap-provisioningdoc>
The following XML is an example of an error that is returned when trying to set Ethernet features on a device that does not support Ethernet functionality.
<wap-provisioningdoc>
<characteristic-error desc="exception" type="ComponentMgr" version="4.4" >
<parm-error name="EthernetUsage" desc="Error in enabling Ethernet UI" value="1" />
<parm-error name="EthernetState" desc="Failed to Turn On. Ethernet is disabled by admin" value="1" />
</characteristic-error>
</wap-provisioningdoc>
This query will indicate if the state of the Ethernet Option can be changed.
<wap-provisioningdoc>
<characteristic type="ComponentMgr">
<parm-query name="EthernetUsage"/>
</characteristic>
</wap-provisioningdoc>
<wap-provisioningdoc>
<characteristic type="ComponentMgr" version="4.4">
<parm name="EthernetUsage" value="1"/>
</characteristic>
</wap-provisioningdoc>
This query will indicate if the Ethernet State of the device is currently set to On or Off.
<wap-provisioningdoc>
<characteristic type="ComponentMgr">
<parm-query name="EthernetState"/>
</characteristic>
</wap-provisioningdoc>
<wap-provisioningdoc>
<characteristic type="ComponentMgr" version="4.4">
<parm name="EthernetState" value="1"/>
</characteristic>
</wap-provisioningdoc>
<wap-provisioningdoc>
<characteristic type="DevAdmin" version="4.3" >
<parm name="ScreenLockTimeoutInterval" value="60"/>
</characteristic>
</wap-provisioningdoc>
<wap-provisioningdoc>
<characteristic type="DevAdmin" version="4.3" >
<parm name="UnknownSourcesStatus" value="1"/>
</characteristic>
</wap-provisioningdoc>
<wap-provisioningdoc>
<characteristic type="DevAdmin" version="4.3" >
<characteristic-query type="AppAsDevAdmin"/>
</characteristic>
</wap-provisioningdoc>
<wap-provisioningdoc>
<characteristic type="DevAdmin" version="4.3" >
<characteristic type="AppAsDevAdmin">
<parm name="DevAdminAction" value="1"/>
<characteristic type="DevAdminDetails">
<parm name="DevAdminPkg" value="PackageName1"/>
<parm name="DevAdminClass" value="ClassName1"/>
</characteristic>
</characteristic>
</characteristic>
<characteristic type="DevAdmin" version="4.3" >
<characteristic type="AppAsDevAdmin">
<parm name="DevAdminAction" value="1"/>
<characteristic type="DevAdminDetails">
<parm name="DevAdminPkg" value="PackageName2"/>
<parm name="DevAdminClass" value="ClassName2"/>
</characteristic>
</characteristic>
</characteristic>
</wap-provisioningdoc>
<wap-provisioningdoc>
<characteristic type="DevAdmin">
<parm-query name="ScreenLockTimeoutInterval"/>
</characteristic>
</wap-provisioningdoc>
<wap-provisioningdoc>
<characteristic type="DevAdmin" version="4.3">
<parm name="ScreenLockTimeoutInterval" value="1"/>
</characteristic>
</wap-provisioningdoc>
<wap-provisioningdoc>
<characteristic type="DevAdmin">
<parm-query name="UnknownSourcesStatus"/>
</characteristic>
</wap-provisioningdoc>
<wap-provisioningdoc>
<characteristic type="DevAdmin" version="4.3">
<parm name="UnknownSourcesStatus" value="1"/>
</characteristic>
</wap-provisioningdoc>