Honeywell CT60 Provision mode enable
The given script is not MobiControl script command. I don't have any Honeywell device to do any test, but I think you should enable USB debug and have the device connected via USB, and then use adb shell to run the given command.
Hi Raymond thank you for the reply.
Honeywell sent accross an xml file with the pm enable com.honeywell.tools.honsystemservice script in it and below script to activate the xml.
sendintent -b "intent:#Intent;action=com.honeywell.ezconfig.intent.action.IMPORT_XML;S.path=/sdcard/honeywell/provisioner.xml;launchFlags=0x0000020;end"
However this did not work for me.
The command works via adb shell but I want to enable the honeywell service for devices in the field currently there are few hundred devices.
All the following are just some educated guesses on possible cause of your problem:
Have you checked if the enrolled device agent has all the required app permission(s) granted to run the script?
Also, you have to check if the directory /sdcard/honeywell/ is a valid one. You may also try to use other directory such as /sdcard/honeywell/persist/ , etc.
Finally, make sure your .xml file has no typos (e.g. hidden character, wrong spelling, unbalanced structure, etc).
I just ran into a similar situation where I needed to deploy an EZconfig setting via xml... I was trying your sendintent command and having trouble until I found this article:
For Android 7 and up, the syntax has changed slightly (specifically the 'launchflags' portion) - Also to Raymond's point, make sure that file actually exists in the location you are pointing to with your intent.
Hope this helps!
Yes this works thank you. My issue was I had the Provisioner.xml to provisioner.xml
Did not know files names were case sensitive. yikes.