In this tutorial, you will learn how to operate Android IoT device fleets with custom commands for Mobile Device Management in emteria’s Device Hub
The Device Hub provides an option for advanced users to define and send their own custom commands. Before you start, we recommend that you first make yourself familiar with our introduction to device management and our tutorial on how to create commands before trying out this custom feature.
The command structure follows the JSON format and the Command Editor can be found in two places, the Device overview and in the Group overview under the Commands tab.
- Go to the main MDM page of your device or your device group.
- Navigate to Commands.
- To send a command click on Add.
- In the New Command window navigate to the Editor tab.
Note: As an example, we use the command for remote installation of applications.
- Click the Properties button to enter the desired properties.
For our example, you need the properties: command, url, package and version.
- Add each parameter by selecting the properties and clicking on the Add button.
- Choose the corresponding property type and fill in the property values.
- Create the new command by clicking on Create.
Alternatively, you can use the JSON editor to create new commands:
- Click on the JSON button.
- For our example, enter the following command into the editor:
- Once you've entered the command you see above, click Save.