The BARTEC OEM Config app lets customers with an MDM solution configure the device behavior. In the MDM, you can edit the managed configurations of the OEMConfig app, and will see that the parameters are divided into the sections:
- Left Programmable Button Configuration
- Right Programmable Button Configuration
- Bug Reporter Configuration
- Scan Engine Configuration
- Network Configuration
- Update Package Configuration
In the following, we will go through the configuration options.
Programmable buttons
These parameters control the behavior of the two programmable buttons. The left and right buttons are configured separately.
- Tap action/Double tap action/Long press action
Configure what events should be triggered when tapping or pressing the button. These settings are ignored if the programmable button is used for PTT or SOS. For each button, the options are
- No Action
- Inject Key Event
Map the action to an android key, as specified in Tap value/Double tap value/Long press value, respectively.
- Launch App
Cause the action to launch an app, as specified in Tap value/Double tap value/Long press value, respectively.
- Toggle Flashlight
Use the button to toggle the flashlight
- Tap value/Double tap value/Long press value
Needed if the action should trigger a key event or launch an app. The value is ignored if the corresponding action option (set in Tap action/Double tap action/Long press action) is either No action or Toggle Flashlight. The form of this parameter depends on what is set in Tap action/Double tap action/Long press action:
- If the action is Launch App, then the value should be set as
{"packageName": "my.org.application"}
where the actual package name should be specified instead of "my.org.application".
- If the action is Inject Key Event, then the value should be set as
{"keyCode": "android_key_code"}
with an actual Android key code integer instead of "android_key_code". For instance
{"keyCode": "27"} // for KEYCODE_CAMERA
{"keyCode": "3"} // for KEYCODE_HOME
Various Android Keycodes are defined here
- PTT Action
can be set to one of following
- No Action
- PTT
If PTT is selected, then PTT Value must also be set.
- PTT Value
Sets the PTT app name. Only relevant if PTT Action is set to PTT. The value should be on the following form:
{"packageName": "org.example.myapp"}
Where "org.example.myapp" should be the package to be used for PTT.
- SOS Action
When configured, the user can press the programmable button 5 times to reach an emergency contact. It can be set to either
- No Action
- SOS. In this case, also SOS Value must be configured.