[TC72-Terminal] Retrieving terminal information for display and sending via email.

S
Stephane
DISTRIMAG

Hello,

I am part of the IT department in my company, which uses SOTI MOBICONTROL for managing our ZEBRA TC72 terminals. I'm not the one managing SOTI strategies, but I am currently developing an application that sends certain data via email. I need to identify either the person or at least the terminal sending this data, whether by the name of the terminal or its serial number. Directly through the Android APK, I cannot retrieve the serial number, and all terminals have the same name (TC72). I would like to know if it is possible through SOTI either to retrieve the serial number to send it via email, or to rename the terminals using a strategy such as {name of the group it belongs to}-001 (auto-increment). The terminals with SOTI have a homepage that is an HTML page where the serial number is displayed.

if(ip) customDataArr.push("IP: %ip%");
if(mac) customDataArr.push("MAC: %mac%");
if(serialNumber) customDataArr.push("Serial: %serialnum%");

If you have any suggestions on how to achieve this, I would be grateful. Thank you for your attention.

a year ago
SOTI MobiControl
ANSWERS
MD
Matt Dermody Diamond Contributor
a year ago

If you are the app developer and you're developing this specifically for Zebra Android devices you can access the device identifiers like Serial through their OEMInfo mechanism:

https://techdocs.zebra.com/oeminfo/consume/

That would at least be a SOTI independent solution. The SOTI agent also has access to these identifiers so you could in theory have the SOTI agent save this information to a file on the device via SOTI scripting and then have your application read from the same file. 

RC
Raymond Chan Diamond Contributor
a year ago

On top of what Matt has proposed, you can also consider implementing a new Android intent in your app.  Once registered with the device system software during runtime,  you can configure the device agent to  execute sendintent script command with intent parameters such as your required device serial number in scheduled-task profile payload.  Your app will then be able to get the required serial number information for further processing or inclusion in outgoing emails

S
Stephane
a year ago

Thank you for your responses, I will look into this

A
ABMOD@SOTI
a year ago

Hi Stephane,

Thanks for posting on SOTI Pulse, Thanks Matt, and Raymond for responding to the post, your expertise and willingness to help are greatly appreciated!

Have you had an opportunity to test the suggested solutions by Raymond and Matt, and has it successfully addressed your query?

If not, or If you have any additional questions or concerns, please don't hesitate to reach out. We're dedicated to providing assistance and support.