The Share configuration option in the administrative settings of the application allows configuring some settings remotely. To do this, a text file in the JSON format containing the required configuration should be attached to the command.
The configuration file consists of the "key":value pairs, where the key is a setting of the application, and the value is the configuration of the setting. Below is the list of keys and their configurations.
Key | Setting | Value |
data_collection_mode | data collection | 0 — continuous, 1 — by timeout, 2 — smart mode |
data_collection_timeout | data collection timeout | custom value, min |
motion_detectors | motion detection | 0x1 — activity recognition, 0x2 — accelerometer, 0x4 — Wi-Fi, 0x8 — GSM, 0x10 — motion sensor |
motion_detectors_timeout | timeout for motion detection | custom value, min |
detect_motion_continuously | detect motion continuously | true — enable, false — disable |
data_sending_mode | data sending | 0 — continuous, 1 — by timeout, 2 — manual |
data_sending_timeout | data sending timeout | custom value, min |
send_data_in_roaming | send data in roaming | true — enable, false — disable |
auto_startup | auto startup | true — enable, false — disable |
work_while_charging | work while charging | true — enable, false — disable |
work_by_schedule | work by schedule | true — enable, false — disable |
schedules | add schedule | The key has nesting because you should specify the days of the week and intervals of the application operation. The keys of these parameters are described below. |
time_from | beginning of the application operation interval | time in the hh:mm format |
time_to | end of the application operation interval | time in the hh:mm format |
week_days | days of the week on which the specified interval of the application operation should be applied | 1 — Monday, 2 — Tuesday, 3 — Wednesday, 4 — Thursday, 5 — Friday, 6 — Saturday, 7 — Sunday |
location_source | location source | 0 — Google Fused, 1 — GPS, 2 — WiFi+mobile networks, 3 — GPS+WI-Fi+mobile networks |
enable_filtration | enable filtration | true — enable, false — disable |
filtration_min_time | min time interval | custom value, sec |
filtration_min_distance | min distance | custom value, m (ft) |
filtration_change_in_course | change in course | custom value, 0-360° |
filtration_change_in_speed | change in speed | custom value km/h (mph) |
filtration_max_accuracy | max accuracy | custom value, m (ft) |
filtration_max_speed | max speed | custom value km/h (mph) |
send_parameter_lbs | additional parameters, LBS data | true — enable, false — disable |
send_parameter_provider_name | additional parameters, provider name | true — enable, false — disable |
send_parameter_accuracy | additional parameters, accuracy | true — enable, false — disable |
send_parameter_battery_level | additional parameters, battery level | true — enable, false — disable |
send_parameter_last_status | additional parameters, last status | true — enable, false — disable |
enable_action_send_photo | actions menu adjustment, sending photo | true — enable, false — disable |
enable_action_send_position | actions menu adjustment, sending position | true — enable, false — disable |
enable_action_send_sos | actions menu adjustment, sending SOS | true — enable, false — disable |
visible_statistics | visible settings | 0x1 — time, 0x2 — speed, 0x4 — altitude, 0x8 — course, 0x10 — location, 0x20 — accuracy |
user_mode | user mode | To prevent errors when loading the configuration, it is not recommended to change the user mode at the same time as changing the user settings. If both modifications are required, you must first upload the configuration with the user mode changes, and then the one with the user settings. 0 — active, 1 — standard, 2 — lite, 3 — custom |
use_admin_password | admin password | true — enable, false — disable |
admin_password | set admin password | any numeric and alphabetic value |
photo_quality | photo quality | 0 — original, 1 — high, 2 — medium, 3 — low |
enable_debug_mode | debug mode | true — enable, false — disable |
power_save_mode_at_low_battery | power save mode at low battery | true — enable, false — disable |
enable_power_save_mode | power save mode | true — enable, false — disable |
statuses | custom statuses | This key has nesting because the template of the arbitrary state includes several settings. Available settings are described below. |
name | the name of the template | custom value |
param_name | the name of the parameter | custom value |
values | values | Custom values. The maximum number of values is 6. Each value is indicated in double quotation marks (for example, "Value1"). A comma (,) is used to separate values. |
active | use the template from the main screen | true — enable, false — disable |
visible_settings | visible settings | This key has nestings because it is necessary to specify a section of visible settings as well as a value. All the possible values for each section are listed below. |
connection_settings | connection settings | 0x1 — server, 0x2 — unit properties |
operation_mode | operation mode | 0x1 — data collection, 0x2 — data sending, 0x4 — start/stop by event |
data_settings | data settings | 0x1 — location source, 0x2 — filtration, 0x4 — additional parameters |
main_screen_customizer | main screen | 0x1 — latest data, 0x2 — actions |
administrative_settings | administrative settings | 0x1 — user mode, 0x2 — admin password, 0x4 — custom statuses, 0x8 — remote control, 0x20 — notifications, 0x40 — photo quality, 0x80 — debug mode, 0x100 — power save mode, 0x200 — clear black box, 0x400 — reset, 0x800 — NFC reader |
other_items | other parameters | 0x1 — contact us, 0x2 — help, 0x4 — measurement system |
Keys can have numerical (0, 1, 2, etc.), alphabetical (true/false) values or such values as 0x1, 0x2, 0x20, etc. The latter is specified as a key only after conversion to the decimal number system. For example, if you want to display such parameters as Contact Us and Help in the user menu, you need to sum up their values (0x1 + 0x2 = 0x3), convert the sum into a decimal number system and specify the result as the value of this key. Numeric and text values are used to select one parameter or state.
Example of a configuration file for visible settings:
"visible_settings":{ "connection_settings":1, "operation_mode":1, "data_settings":4, "main_screen_customizer":0, "administrative_settings":2, "other_items":2 }
Example of a configuration file for work by schedule:
"work_by_schedule":true,"schedules":[{"time_from":"0:05","time_to":"1:00","week_days":[2,3,4]},{"time_from":"0:00","time_to":"3:00","week_days":[1,7]}]