Selection criteria based on serial number or Mac address

SK
Shaun Knight
Ensign Communications

I have over 100 Honeywell devices that have static IP addresses and usernames and password credentials to connect to an SSID  and authenticate.

Each device has its own device config.xml  created in Honeywell's EZConfig  Editor 

Is there a way of sending the correct XML for the device based on either a serial number or Mac Address without setting up individual profiles for each device?

3 years ago
SOTI MobiControl
ANSWERS
RC
Raymond Chan Diamond Contributor
3 years ago

You can use a file-sync rule do download file(s) according to Device-ID/Phone-ID(IMEI/MEID/ESN) of a device.  Make a directory tree according to the Device-ID/Phone-ID chosen as source directories of the file-sync rule on your server, and put the right config.xml file in each.   Then apply the file-sync rule, and the file should be downloaded to the targeted devices by MobiControl server. 

The only limitation is that MobiControl device agent needs to have write permission to the destination directory on the device, and this means that the file cannot be targeted to private folder of any installed apps, but has to be either MobiControl device agent's own private directory tree, or public device directories such as DCIM or Download.

MK
Martin K. Bronze Contributor
3 years ago

Have you ever managed to get this working with Phone ID ? When I try this I just get sub directories with the IMEI in case the deivce is with WAN, on WLAN only devices (Zebra) there is no sub directory created.

I such case I used always Device ID..but this is crypting and not so easy to manage like Serial number.

An other way to do it is using ftp from soti script and request a file with %SERIALNUM% as name....then you just have to provide a ftp server with all the xml files, name it with the serial number and let each device request its specific file.

I have used this method to set the Hostname on Zebra Devices and didnt want to use the filesync with device id, because it is very cumbersome to use in the case of moibcontrol cloud if you have more than a few devices.

N
NTMOD@SOTI Bronze Contributor
3 years ago

Hi Raymond Chan and Martin K.,

Thank you for your response to this post.

Hi Shaun Knight,

Thank you for your post on SOTI Central. I have discussed about your inquiry internally, please kindly find the response below. Please try as per suggestion and advise the result.

"Customer is looking for specific XML to be downloaded to each device. Then File sync might not be a reliable option
 
Try to check and utilize FTP or HTTPGET - Script Commands for Android Enterprise: Managed Devices (soti.net) option available in Scripts and create a multiple Folders in HTTP or FTP server with Folder name as Device's serial number with specific XML added to them. Then run the script to download the file in accordance to Serial Number and upload it to specific folder in Device
 
For Example - Create a folder in FTP or HTTPs server as SerialNumber (123456) and insert XML file (test.xml) to it
 
From MobiControl Web console >> run script >>
 
HTTP command: httpget https://servername/%SerialNum%/Test.xml /sdcard/test.xml
 
FTP command: ftp get -o ftp://username:password@ftpserver/%SERIALNUM%/Test.xml /sdcard/Test.xml
 
The device will fetch the info from HTTP or FTP server from folder specific to this Serial number and upload it into the respective location in the Device."
 
 
Kind Regards,
 
Technical Support | SOTI Inc. |1.905.624.9828 | support@soti.net | www.soti.net |