FlexAPI_MQTT_for_3rd_party_platform¶
For VT300/VT200 and VG700/VG814 series¶
Revision History
| Revision | Date | Author | Item(s) changed | Note |
|---|---|---|---|---|
| 1.0.1 | 8/2/2021 | Liyb | Created this document based on \ |
|
| 1.0.2 | 18/1/2022 | Liyb | Added ID description for OBD parameters. | |
| 1.0.3 | 20/1/2022 | Tianmh | Added Sensor parameters and W2R parameters. | |
| 1.0.4 | 24/1/2022 | Liyb | Fixed some errors. | |
| 1.0.5 | 8/4/2022 | Tianmh | Added Mgmt. | |
| 1.0.6 | 11/4/2022 | Fanc | Added more EVENTs. | |
| 1.0.7 | 5/22/2023 | Caimh | Added custom topic for Custom Group and added some new parameters for OBD parameters. | |
| 1.0.8 | 6/23/2023 | Tianmh | Added v1/{sn}/r2w/write topic to do Modbus write. | |
| 1.0.9 | 24/08/2023 | Fanc | Added some events about vehicle behavior, HARSH_ACCELERATION, HARSH_BRAKING, TURN_LEFT,TURN_RIGHT, IDLE, IDLE_END events. | In this events, the param "time" modified to "CUR_TM". |
| 1.0.10 | 07/04/2024 | Tianmh | Supported the topic: v1/{client_id}/w2r/can/raw to reported the data of CAN raw data. | |
| 1.0.11 | 11/04/2024 | Fanc | CAN raw data add time stamp. Added section Configuring CAN Filters through topic "v1/{client_id}/CANFilter/set" . | |
| 1.0.12 | 28/06/2024 | dengzt,yangming | Add Vehicle Gateway related content | |
| 1.0.13 | 01/13/2025 | Tianmh | Add Device certificates update (AWS provision) |
1. Introduction¶
We introduced FlexAPI for the fast evolving IoT applications, which highly value easy integration, openness, flexibility, extensibility and programmability.
FlexAPI is designed to be efficient, clean and ready to use. It's network oriented and programming language independent, and is ideal for cloud platform integration.
FlexAPI provides unified data and control services via MQTT topics for 3rd party platforms.
For data service, each MQTT topic corresponds to a group of data, and we have ready to use reserved groups such as: Summary, GNSS, Motion, IO, OBD, Cellular, Sensor, W2R(Modbus), App, Userdata, Forward, 1-Wire.
Besides, user can use sysinfo group to obtain device basic information.
In general, reserved groups are enough for user's need.
Users can subscribe to these topics to get the latest data, and they can also set the data uploading intervals.
FlexAPI specially provides MQTT topics for users to actively get data on demand.
For advanced users, they can even define their interested groups and set their uploading intervals.
We employ a request & response scheme for user initiated service requests.
Request & response scheme means users need to subscribe to the response topics, and they request service by publishing a message to the request topics.
1.1 Architecture¶

1.2 MQTT Intro¶
MQTT is a widely adopted, lightweight messaging protocol designed for constrained devices.
Our MQTT implementation is based on MQTT version 3.1.1, and supports QoS 0 and 1.
For more information, see MQTT.
1.3 MQTT Topics Rules¶
- Topics are
UTF-8encoded hierarchical strings. The forward slash (/) is used to separate levels in the topic hierarchy. - Topic Wildcards:
| Wildcard | Description |
|---|---|
| # | Must be the last character in the topic to which you are subscribing. Works as a wildcard by matching the current tree and all subtrees. For example, a subscription to Sensor/# receives messages published to Sensor/, Sensor/temp,Sensor/temp/room1, but not the messages published to Sensor. |
| + | Matches exactly one item in the topic hierarchy. For example, a subscription to Sensor/+/room1 receives messages published to Sensor/temp/room1,Sensor/moisture/room1, but not the messages published to Sensor/room1. |
1.4 MQTT Server Settings¶
1.4.1 MQTT Server Address and Port¶
FlexAPI needs remote MQTT broker address and port to connect to.
1.4.2 MQTT Authentication¶
1.4.2.1 Username/Password(Default)¶
FlexAPI needs username and password for authentication.
After network connection is established, FlexAPI will send MQTT CONNECT Control Packet to remote MQTT broker.
The payload must contain Username, Password and unique Client Identifier fields. see MQTT CONNECT.
FlexAPI will use unique Client Identifier{client_id} as part of MQTT topics. see FlexAPI supported Topics.
1.4.2.2 Certificate¶
Certificate authentication is Non Normative. However, it is strongly recommended that Server implementations that offer TLS should use TCP port 8883. see Security.
1.5 VG710/VG814 Third-Party Platform Settings¶
Note: only supported by InVehicel Gateway VG710, VG814 series device.
According to the MQTT server settings, do the corresponding configuration on the device web page.
For summary and custom groups, we also support advanced reporting options.

- Enable: Turn on or off this service.
- Server Address: IP addresses of MQTT server.
- Port:Port of MQTT server.
- Custom Topic Prefix: Topic prefix will be perpend the general topic.
- Client ID: The ID of the MQTT client that connects to a MQTT server, the default Client ID is the device serial number.\ Note: The Client ID is the unique ID used to identify the device. The server can use this ID to determine which device to send the request to.
- Enable Authentication: Enable User\&password authentication
- Keep Alive: The keepalive interval of MQTT connection.
- Clear Session: Each time you connect to the MQTT Server, the previous Topic settings are not used.
- TLS Encryption: Configure using PSK or certificate to connect to MQTT Server
- Include Invalid Data: if enabled, FlexAPI will also return invalid data items with
nullvalue besides valid data items. - Offline Data Store: Save data when service disconnect to MQTT server and report the saved data when service connect to MQTT server again.
- FlexAPI Config File: Mange FlexAPI configuration file of Third-Party Platform(MQTT).
- **Advanced Report Options: ** display or hidden advanced report options
- Group Name: choose summary or custom group
- Movement: Indicates parameters that will take effect when the vehicle moves.
- Maximum Report Interval: Maximum interval between two reports
- Minimum Report Interval: Minimum interval between two reports
- Report Per Distance: Report every distance traveled
- Heading Change Report Limit: Heading changes greater than a certain angle will be reported
- Acceleration Limit and Duration(X/Y/Z Axis): If the set acceleration is exceeded for a certain period of time, group data will be reported.
- Stationary: Parameters that will take effect when the vehicle is stationary
- Report Interval: Report data once every set interval.
1.6 VT300/VT200 Third-Party Platform Settings¶
Cloud Platform >> Platform Type >> Mqtt Broker: Enable, configure domain name, port, username, and password ". Click "Save configuration" and restart, as is shown below.

2. FlexAPI Overview¶
2.1 FlexAPI Return Information and Errors¶
2.1.1 General Information¶
| Parameter Name | Description | Type | Note |
|---|---|---|---|
| client_token | client token | string | A unique string for users to match responses with the corresponding requests. |
| result | result | object | When the request succeeds, there will be result field in response message body. API callers should check the content of the result field to determine whether the request has been successfully processed. |
| error | error code | string | When the request fails, it is added to the response message body. For more information, see General Error Codes |
| error_desc | error description | string | When the request fails, it is added to the response message body. For more information, see General Error Codes |
| ts | time stamp | number | UNIX timestamp since Epoch. Indicates when the message was occured by device. |
| ul_ts | time stamp | number | UNIX timestamp since Epoch. Indicates when the message was trasimited by device.(VG only) |
2.1.2 General Error Codes¶
| Error Code | Description | Error Handling | Note |
|---|---|---|---|
| auth_failed | authentication failed | check username and password | |
| invalid_parameter | invalid parameter | check request parameter | |
| not_found | resource not exist | make sure related service is enabled and running | |
| device_busy | device busy | retry request | |
| device_error | device internal error | retry request | |
| data_invalid | resource invalid | retry request | |
| invalid_token | token non-existent or expired | retry request | Vehicle Gatewa Only |
| data_empty | request resource is empty | retry request | |
| over_group_num | group number exceeds limit | check request parameter | |
| over_data_num | keys of interest number exceeds limit | check request parameter | |
| over_data_num | keys of interest number exceeds limit | check request parameter | |
| find_same_key | can not insert same key | check request parameter | |
| interval_invalid | interval range is invalid | check request parameter | |
| not_support | operation is not support | check request parameter |
2.2 FlexAPI Supported Topics¶
2.2.1 Data Service¶
2.2.1.1 Timer Triggered Reserved Group Data Get¶
When using generic MQTT broker, users can subscribe to the following topics listed with Topic for generic MQTT broker to get the latest data.\ Note: The properties for Azure Iot Hub is only for users using Azure Iot Hub.
| Topic for generic MQTT broker | properties for Azure Iot Hub (key:value) | Data direction | Description | Note |
|---|---|---|---|---|
| v1/{client_id}/summary/info | Device to Cloud | Timer triggered Summary data uploading. see Summary Data. | Vehicle Gateway Only | |
| v1/{client_id}/obd/info | group:obd type:info | Device to Cloud | Timer triggered OBD data uploading. See OBD data. | Default |
| v1/{client_id}/obd1/info | group:obd1 type:info | Device to Cloud | Timer triggered OBD data uploading. See OBD data. | Extend for two CAN |
| v1/{client_id}/gnss/info | group:gnss type:info | Device to Cloud | Timer triggered GNSS data uploading. see GNSS Data. | |
| v1/{client_id}/motion/info | group:motion type:info | Device to Cloud | Timer triggered Motion data uploading. see Motion Data. | |
| v1/{client_id}/io/info | group:io type:info | Device to Cloud | Timer triggered IO data uploading. see IO Data. | |
| v1/{client_id}/cellular1/info | group:cellular1 type:info | Device to Cloud | Timer triggered Cellular1 data uploading. see Cellular1 Data. | |
| v1/{client_id}/sysinfo/info | group:sysinfo type:info | Device to Cloud | Timer triggered sysinfo data uploading. see Sysinfo Data. | |
| v1/{client_id}/sensor/info | group:sensor type:info | Device to Cloud | see Sensor Data. | Vehicle Tracker Only |
| v1/{client_id}/w2r/info | group:w2r type:info | Device to Cloud | see W2R Data. | Vehicel Tracker Only |
| v1/{client_id}/userdata/info | Device to Cloud | Timer triggered User data uploading. see User Data. | Vehicle Gateway Only | |
| v1/{client_id}/forward/info | Device to Cloud | Timer triggered Forward data uploading. see Forward Data. | Vehicle Gateway Only | |
| v1/{client_id}/1-wire/info | Device to Cloud | Timer triggered 1-wire data uploading. see 1-wire Data. | Vehicle Gateway Only |
2.2.1.2 Reserved Group Settings¶
Users can use the following topics to set the data uploading intervals and define their interested data.
Note: The properties_** for Azure Iot Hub**__ is only for users using Azure Iot Hub._
| Topic for generic MQTT broker | properties for Azure Iot Hub (key:value) | Data direction | Description | Note |
|---|---|---|---|---|
| v1/{client_id}/summary/set | Device to Cloud | Set Summary group request. see Summary settings. | Vehicle Gateway Only | |
| v1/{client_id}/summary/set/resp | Cloud to Device | Set Summary group response. | Vehicle Gateway Only | |
| v1/{client_id}/obd/set | group:obd cmd:set | Cloud to Device | Set OBD group request. see OBD settings. | |
| v1/{client_id}/obd/set/resp | group:obd type:setRsp | Device to Cloud | Set OBD group response. | |
| v1/{client_id}/obd1/set | group:obd1 cmd:set | Cloud to Device | Set OBD group request. see OBD settings. | |
| v1/{client_id}/obd1/set/resp | group:obd1 type:setRsp | Device to Cloud | Set OBD group response. | |
| v1/{client_id}/gnss/set | group:gnss cmd:set | Cloud to Device | Set GNSS group request. see GNSS settings. | |
| v1/{client_id}/gnss/set/resp | group:gnss type:setRsp | Device to Cloud | Set GNSS group response. | |
| v1/{client_id}/motion/set | group:motion cmd:set | Cloud to Device | Set Motion group request. see Motion settings. | |
| v1/{client_id}/motion/set/resp | group:motion type:setRsp | Device to Cloud | Set Motion group response. | |
| v1/{client_id}/io/set | group:io cmd:set | Cloud to Device | Set IO group request. see IO settings. | |
| v1/{client_id}/io/set/resp | group:io type:setRsp | Device to Cloud | Set IO group response. | |
| v1/{client_id}/cellular1/set | group:cellular1 cmd:set | Cloud to Device | Set Celluar1 group request. see Cellular1 settings. | |
| v1/{client_id}/cellular1/set/resp | group:cellular1 type:setRsp | Device to Cloud | Set Celluar1 group response. | |
| v1/{client_id}/userdata/set | Cloud to Device | Set User data group request. see User data settings. | Vehicle Gateway Only | |
| v1/{client_id}/userdata/set/resp | Device to Cloud | Set User data group response. | Vehicle Gateway Only | |
| v1/{client_id}/1-wire/set | See 1-wire settings. | Vehicle Gateway Only | ||
| v1/{client_id}/1-wire/set/resp | Set 1-wire group response. | Vehicle Gateway Only |
2.2.1.3 On Demand Reserved Group Data Get¶
Users can use the following topics to actively get data on demand.
Note: The properties for Azure Iot Hub is only for users using Azure Iot Hub.
| Topic for generic MQTT broker | properties for Azure Iot Hub (key:value) | Data direction | Description | Note |
|---|---|---|---|---|
| v1/{client_id}/summary/refresh | vgroup:summary cmd:refresh | Refresh Summary data request. see Summary Data. | Vehicle Gateway Only | |
| v1/{client_id}/summary/refresh/resp | group:summary type:refresh | Refresh Summary data response. | Vehicle Gateway Only | |
| v1/{client_id}/obd/refresh | group:obd cmd:refresh | Cloud to Device | Refresh OBD data request. see OBD data. | |
| v1/{client_id}/obd/refresh/resp | group:obd type:refresh | Device to Cloud | Refresh OBD data response. | |
| v1/{client_id}/obd1/refresh | group:obd cmd:refresh | Cloud to Device | Refresh OBD data request. see OBD data. | |
| v1/{client_id}/obd1/refresh/resp | group:obd type:refresh | Device to Cloud | Refresh OBD data response. | |
| v1/{client_id}/gnss/refresh | group:gnss cmd:refresh | Cloud to Device | Refresh GNSS data request. see GNSS Data. | |
| v1/{client_id}/gnss/refresh/resp | group:gnss type:refresh | Device to Cloud | Refresh GNSS data response. | |
| v1/{client_id}/motion/refresh | group:motion cmd:refresh | Cloud to Device | Refresh Motion data request. see Motion Dat. | |
| v1/{client_id}/motion/refresh/resp | group:motion type:refresh | Device to Cloud | Refresh Motion data response. | |
| v1/{client_id}/io/refresh | group:io cmd:refresh | Cloud to Device | Refresh IO data request. see IO Data. | |
| v1/{client_id}/io/refresh/resp | group:io type:refresh | Device to Cloud | Refresh IO data response. | |
| v1/{client_id}/cellular1/refresh | group:cellular1 cmd:refresh | Cloud to Device | Refresh Cellular1 data request. see Cellular1 Data. | |
| v1/{client_id}/cellular1/refresh/resp | group:cellular1 type:refresh | Device to Cloud | Refresh Cellular1 data response. | |
| v1/{client_id}/sysinfo/refresh | group:sysinfo cmd:refresh | Cloud to Device | Refresh system info request. see System Info. | |
| v1/{client_id}/sysinfo/refresh/resp | group:sysinfo type:refresh | Device to Cloud | Refresh system info response. | |
| v1/{client_id}/userdata/refresh | Refresh User data request. see User data. | Vehicle Gateway Only | ||
| v1/{client_id}/userdata/refresh/resp | Refresh user data info response. | Vehicle Gateway Only | ||
| v1/{client_id}/app/refresh | Refresh APP data request. see APP settings. | Vehicle Gateway Only | ||
| v1/{client_id}/app/refresh/resp | Refresh APP data info response. | Vehicle Gateway Only | ||
| v1/{client_id}/1-wire/refresh | Refresh 1-wire data request. see 1-wire data. | Vehicle Gateway Only | ||
| v1/{client_id}/1-wire/refresh/resp | Refresh 1-wire data info response. | Vehicle Gateway Only |
2.2.2 Control Service¶
2.2.2.1 IO Control¶
Users can use the following topics to turn on/off the digital output.
Note: The properties for Azure Iot Hub is only for users using Azure Iot Hub.
| properties for Azure Iot Hub (key:value) | Topic for generic MQTT broker | Data direction | Description |
|---|---|---|---|
| group:io cmd:control | v1/{client_id}/io/control | Cloud to Device | IO control request. see IO Control. |
| group:io type:controlRsp | v1/{client_id}/io/control/resp | Device to Cloud | IO control response. |
2.2.2.2 Management Control¶
Users can use the following topics to do some management control.
| properties for Azure Iot Hub (key:value) | Topic for generic MQTT broker | Data direction | Description | Note |
|---|---|---|---|---|
| group: mgmt cmd:control | v1/{client_id}/mgmt/control | Cloud to Device | Management control request. see Management Control. | Vehicel Tracker Only |
| group:mgmt type:controlRsp | v1/{client_id}/mgmt/control/resp | Device to Cloud | Management control response. | Vehicel Tracker Only |
2.2.2.3 APP Control¶
Users can use the following topics to notify APP to do something.
| Topic | Allowed Operations | Description | Note |
|---|---|---|---|
| v1/{client_id}/app/control | Publish | APP control request. see APP Control. | Vehicle Gateway Only |
| v1/{client_id}/app/control/resp | Subscribe | APP control response. | Vehicle Gateway Only |
2.2.3 Advanced Usage¶
Advanced users can use the following topics to define their interested groups and set their uploading intervals.
Note: The properties for Azure Iot Hub is only for users using Azure Iot Hub.
__
2.2.3.1 Custom Group Settings¶
2.2.3.1.1 Create/Update Custom Group¶
| Topic for generic MQTT broker | properties for Azure Iot Hub (key:value) | Data direction | Description |
|---|---|---|---|
| v1/{client_id}/group/set | group:group cmd:set | Cloud to Device | Create/Update group request. see Create/Update custom group. |
| v1/{client_id}/group/set/resp | group:group type:setRsp | Device to Cloud | Create/Update group response. |
2.2.3.1.2 Get Custom Group Settings¶
| Topic for generic MQTT broker | properties for Azure Iot Hub (key:value) | Data direction | Description |
|---|---|---|---|
| v1/{client_id}/group/get | group:group cmd:get | Cloud to Device | Get group settings request. see Get custom group settings. |
| v1/{client_id}/group/get/resp | group:group type:getRsp | Device to Cloud | Get group settings response. |
2.2.3.1.3 Remove Custom Group¶
| Topic | Allowed Operations | Description | Note |
|---|---|---|---|
| v1/{client_id}/group/set | Publish | Remove group request. see Remove custom group. | Vehicle Gateway Only |
| v1/{client_id}/group/set/resp | Subscribe | Remove group response. | Vehicle Gateway Only |
2.2.3.2 Timer Triggered Custom Group Data Get¶
| Topic for generic MQTT broker | properties for Azure Iot Hub (key:value) | Data direction | Description |
|---|---|---|---|
| v1/{client_id}/{group_name}/info | group:{group_name} type:info | Device to Cloud | Timer triggered custom group data uploading. see Timer triggered custom group data get. |
2.2.3.3 On Demand Custom Group Data Get¶
| Topic for generic MQTT broker | properties for Azure Iot Hub (key:value) | Data direction | Description |
|---|---|---|---|
| v1/{client_id}/{group_name}/refresh | group:{group_name} cmd:refresh | Cloud to Device | Refresh group data request. see On demand custom group data get . |
| v1/{client_id}/{group_name}/refresh/resp | group:{group_name} type:refresh | Device to Cloud | Refresh group data response. |
2.3 FlexAPI Limits¶
| Resource | Vehicel Tracker Limit | Vehicle Gateway Limit |
|---|---|---|
Minimum retry interval of settings, refresh, getrequests |
3 s | 1s |
Minimum retry interval of io controlrequest |
5 s | 5s |
client_idsize |
SN of VT series | up to 128 bytes of UTF-8encoded characters |
client_tokensize |
up to 32 bytes of arbitrary string | up to 256 bytes of arbitrary string |
| Available custom groups | up to 8 | up to 16 |
| Maximum data items per group | 32 | 256 |
3.1 Timer Triggered Reserved Group Data Get¶
When data available that can be received the related data.
3.1.1 Summary Data¶
Once you have subscribed to this topic, you will periodically receive the related data.
Topic:v1/{client_id}/summary/info
Payload:
Parameter description, See General Information & Summary Parameters.
Use Summary settings to modify group setting(interval & interest).
3.1.1 OBD Data¶
Once you have subscribed to this topic, you will periodically receive the related data. If CAN1 and CAN2, topic v1/{client_id}/obd1/infois used for CAN1, topic v1/{client_id}/obd/infois used for CAN2. If only one CAN, topic v1/{client_id}/obd/infois used for CAN.
Note: Vehicle Gateway currently uses only one CAN for OBD even if the device supports dual CAN
Topic:v1/{client_id}/obd/info
Payload:
Parameter description, See General Information & OBD Parameters.
Use OBD settings to modify group setting(interval & interest).
3.1.2 GNSS Data¶
Once you have subscribed to this topic, you will periodically receive the related data.
Topic:v1/{client_id}/gnss/info
Payload:
Parameter description, See General Information & GNSS Parameters.
Use GNSS settings to modify group setting(interval & interest).
3.1.3 Motion Data¶
Once you have subscribed to this topic, you will periodically receive the related data.
Topic:v1/{client_id}/motion/info
Payload:
Parameter description, See General Information & Motion Parameters.
Use Motion settings to modify group setting(interval & interest).
3.1.4 IO Data¶
Once you have subscribed to this topic, you will periodically receive the related data.
Topic:v1/{client_id}/io/info
Payload:
Parameter description, See General Information & IO Parameters.
Use IO settings to modify group setting(interval & interest).
3.1.5 Cellular1 Data¶
Once you have subscribed to this topic, you will periodically receive the related data.
Topic:v1/{client_id}/cellular1/info
Payload:
Parameter description, See General Information & Cellular Parameters.
Use Cellular settings to modify group setting(interval & interest).
3.1.6 Sysinfo Data¶
Once you have subscribed to this topic, the MQTT broker will periodically receive the related data.
Topic:v1/{client_id}/sysinfo/info
Payload:
Parameter description, See General Information & System Parameters.
Use Sysinfo settings to modify group setting(interval & interest).
3.1.7 Sensor Data¶
Once you have subscribed to this topic, the MQTT broker will periodically receive the related data.
The VT series uses group sensor to upload the data from sensors to MQTT broker.At present, only iButton/temperature sensor connected with 1-wire bus are supported.
Topic:v1/{client_id}/sensor/info
Payload:
Parameter description, See Sensor Parameters.
3.1.8 W2R Data¶
Topic:v1/{client_id}/w2r/info
Once you have subscribed to this topic, the MQTT broker will periodically receive the related data.\ The VT series use this topic to upload the data from wired or wireless interface to MQTT broker. At present, only modbus(interface: serial4) is supported.
Payload:
The format of the w2r.rmt value is as follows,
[[slave address,function code,register address,data], [slave address,function code,register address,data], [slave address,function code,register address,data], ...,[slave address,function code,register address,data]]
Parameter description, See W2R Parameters.
Topic:v1/{client_id}/w2r/can/raw
Once you have subscribed to this topic, the MQTT broker will receive the related data.\ The VT series use this topic to upload the data from CAN raw data to MQTT broker.
Payload:
or
The format of the payload is as follows,
1028 means the data is from CAN1 and it data len is 8 bytes.
2028 means the data is from CAN2 and it data len is 8 bytes.
0cfef500 means CAN id.
1122334455667788 is raw data of CAN.
3.1.9 User Data¶
Once you have subscribed to this topic, you will periodically receive the related data.
Topic:v1/{client_id}/userdata/info
Payload:
Parameter description, See General Information.
Use User data settings to modify group setting(interval & interest).
3.1.10 Forward Data¶
Once you have subscribed to this topic, you will periodically receive the related data(Only for VG).
Topic:v1/{client_id}/forward/info
Payload:
Note:
APP can set any collected data to berkeley db with predefined key (database home: /tmp/dbhome/daq.env, database file: Forward Parameters) , then use the FlexAPI client(MQTT/TCP) to send the data out. APP does not need to implement an independent client, so that it can focus on the specific business.


Parameter description, See Forward Parameters.
3.1.11 1-Wire Data¶
Once you have subscribed to this topic, you will periodically receive the related data(only for VG).
Topic:v1/{client_id}/1-wire/info
Payload:
Parameter description, See 1-Wire Parameters.
3.2 Reserved Group Settings¶
3.2.1 General Settings¶
| Parameter Name | Description | Type | Range | Units | Optional | Note |
|---|---|---|---|---|---|---|
| client_token | A unique string for users to match responses with the corresponding requests. | string | mandatory | |||
| interval | uploading interval | int | [0,3600] | s | optional | 0: disable timer upload |
| interest | interest parameter List of interested item, each item is represented as key: alias. alias is used in reported messages to rewrite key, a value of "" means no alias. For example, set interest with alias: {"obd.mil": "MIL", "obd.dtcs": "dtcNum"} reported data: {"MIL": "1", "dtcNum": "3"} set interest without alias: {"obd.mil": "", "obd.dtcs": ""} reported data: {"obd.mil": "1", "obd.dtcs": "3"} | object | optional | 'key': FlexAPI Supported parameters 'alias': parameter alias OBD group, see OBD Parameters GNSS group, see GNSS Parameters Motion group, see Motion Parameters IO group, see IO Parameters Cellular1 group, see Cellular Parameters Sysinfo group, see System Parameters |
For intervaland interestparameters, there are four use cases which apply to both reserved and custom groups.
Case 1. Disable Group Data Uploading
Specify only interval field and set its value to 0 in message body.
Request Topic:v1/{client_id}/{group_name}/set
Note: group_name is obd, gnss, motion, io, or custom group name.
Request Payload:
Response Topic: v1/{client_id}/{group_name}/set/resp
Response Payload:
Success:
Failure:
Parameter description, see General Information.
Case 2. Change Only Group Data Uploading Interval
Specify only interval field in message body.
Request Topic:v1/{client_id}/{group_name}/set
Request Payload:
Response Topic: v1/{client_id}/{group_name}/set/resp
Response Payload:
Success:
Failure:
Parameter description, see General Information.
Case 3. Change only group data interest
Specify only interest field in message body.
Request Topic:v1/{client_id}/{group_name}/set
Request Payload:
Response Topic: v1/{client_id}/{group_name}/set/resp
Response Payload:
Success:
Failure:
Parameter description, see General Information.
Case 4. Change Both Interest and Uploading Interval
Specify both interest and interval fields in message body.
Request Topic:v1/{client_id}/{group_name}/set
Request Payload:
Response Topic: v1/{client_id}/{group_name}/set/resp
Response Payload:
Success:
Failure:
Parameter description, see General Information.
3.2.2 Summary Settings¶
Publish a message to this topic to set your interested data and uploading interval.
Default interval is 10s. Default interest is available parameters from the FlexAPI supported Parameters.
Request Topic:v1/{client_id}/summary/set
Request payload:
Response Topic: v1/{client_id}/summary/set/resp
Response Payload:
Success:
Failure:
Parameter description, see General Information.
3.2.2 OBD Settings¶
Publish a message to this topic to set your interested data and uploading interval.
Default interval is 60s. Default interest is available parameters from the OBD Parameters.
Request Topic:v1/{client_id}/obd/set
Request Payload:
Response Topic: v1/{client_id}/obd/set/resp
Response Payload:
Success:
Failure:
Parameter description, see General Information.
3.2.3 GNSS Settings¶
Publish a message to this topic to set your interested data and uploading interval.
Default interval is Auto. Default interest is available parameters from the GNSS Parameters.
Request Topic:v1/{client_id}/gnss/set
Request Payload:
Response Topic: v1/{client_id}/gnss/set/resp
Response Payload:
Success:
Failure:
Parameter description, see General Information.
3.2.4 Motion Settings¶
Publish a message to this topic to set your interested data and uploading interval.
Default interval is 60s. Default interest is available parameters from the Motion Parameters.
Request Topic:v1/{client_id}/motion/set
Request Payload:
Response Topic: v1/{client_id}/motion/set/resp
Response Payload:
Success:
Failure:
Parameter description, see General Information.
3.2.5 IO Settings¶
Publish a message to this topic to set your interested data and uploading interval.
Default interval is 60s. Default interest is available parameters from the IO Parameters.
Request Topic:v1/{client_id}/io/set
Request Payload:
Response Topic: v1/{client_id}/io/set/resp
Response Payload:
Success:
Failure:
Parameter description, see General Information.
3.2.6 Cellular1 Settings¶
Publish a message to this topic to set your interested data and uploading interval.
Default interval is 60s. Default interest is available parameters from the Cellular Parameters.
Request Topic:v1/{client_id}/cellular1/set
Request Payload:
Response Topic: v1/{client_id}/cellular1/set/resp
Response Payload:
Success:
Failure:
Parameter description, see General Information.
3.2.8 User Data Settings¶
3.2.8.1 Insert User Data¶
Publish a message to this topic to insert new user data.
Request Topic:v1/{client_id}/userdata/set
Request Payload:
Response Topic: v1/{client_id}/userdata/set/resp
Response Payload:
Success:
Failure:
Parameter description, see General Information.
3.2.8.2 Update User Data¶
Publish a message to this topic to update your user data.
Note: The data to be updated must be data that has already been created.
Request Topic:v1/{client_id}/userdata/set
Request Payload:
Response Topic: v1/{client_id}/userdata/set/resp
Response Payload:
Success:
Failure:
3.2.8.3 Set User Data report interval¶
Publish a message to this topic to set your uploading interval.
default interval is 10s.
Request Topic:v1/{client_id}/userdata/set
Request Payload:
Response Topic: v1/{client_id}/userdata/set/resp
Response Payload:
Success:
Failure:
Parameter description, see General Information.
3.2.8.4 Delete User Data¶
Publish a message to this topic to delete your user data.
Note: The data to be deleted must be data that has already been created.
Request Topic:v1/{client_id}/userdata/set
Request Payload:
Response Topic: v1/{client_id}/userdata/set/resp
Response Payload:
Success:
Failure:
Parameter description, see General Information.
3.2.9 Sysinfo Settings¶
Publish a message to this topic to set your interested data and uploading interval.
Default interval is 600s. Default interest is available parameters from the System Parameters.
Request Topic:v1/{client_id}/sysinfo/set
Request Payload:
Response Topic: v1/{client_id}/sysinfo/set/resp
Response Payload:
Success:
Failure:
Parameter description, see General Information.
3.2.10 1-Wire Data Settings¶
Publish a message to this topic to set your interested data and uploading interval.
default interval is 10s. default interest is available parameters from the 1-wire Parameters.
Request Topic:v1/{client_id}/1-wire/set
Request Payload:
Response Topic: v1/{client_id}/1-wire/set/resp
Response Payload:
Success:
Failure:
Parameter description, see General Information.
3.3 On Demand Reserved Group Information Get¶
3.3.1 Summary Data¶
Publish a message to get summary data on demand.
Request Topic:v1/{client_id}/summary/refresh
Request Payload:
Response Topic: v1/{client_id}/summary/refresh/resp
Response Payload:
Success:
Failure:
Parameter description, see General Information & FlexAPI supported Parameters.
3.3.1 OBD Data¶
Publish a message to get OBD data on demand.
Request Topic:v1/{client_id}/obd/refresh
Request Payload:
Response Topic: v1/{client_id}/obd/refresh/resp
Response Payload:
Success:
Failure:
Parameter description, reference General Information & OBD Parameters.
3.3.2 GNSS Data¶
Publish a message to get GNSS data on demand.
Request Topic:v1/{client_id}/gnss/refresh
Request Payload:
Response Topic: v1/{client_id}/gnss/refresh/resp
Response Payload:
Success:
Failure:
Parameter description, reference General Information & GNSS Parameters.
3.3.3 Motion Data¶
Publish a message to get motion data on demand.
Request Topic:v1/{client_id}/motion/refresh
Request Payload:
Response Topic: v1/{client_id}/motion/refresh/resp
Response Payload:
Success:
Failure:
Parameter description, reference General Information & Motion Parameters.
3.3.4 IO Data¶
Publish a message to get IO data on demand.
Request Topic:v1/{client_id}/io/refresh
Request Payload:
Response Topic: v1/{client_id}/io/refresh/resp
Response Payload:
Success:
Failure:
Parameter description, reference General Information & IO Parameters.
3.3.5 Cellular1 Data¶
Publish a message to get cellular data on demand.
Request Topic:v1/{client_id}/cellular1/refresh
Request Payload:
Response Topic: v1/{client_id}/cellular1/refresh/resp
Response Payload:
Success:
Failure:
Parameter description, reference General Information & Cellular Parameters.
3.3.6 Sysinfo Data¶
Publish a message to get system info on demand.
Request Topic:v1/{client_id}/sysinfo/refresh
Request Payload:
Response Topic: v1/{client_id}/sysinfo/refresh/resp
Response Payload:
Success:
Failure:
Parameter description, reference General Information & System Parameters.
3.3.8 User Data¶
Publish a message to get user data on demand.
Request Topic:v1/{client_id}/userdata/refresh
Request Payload:
Response Topic: v1/{client_id}/userdata/refresh/resp
Response Payload:
Success:
Failure:
Parameter description, reference General Information.
3.3.9 APP Settings¶
Publish a message to get APP data on demand.
Request Topic:v1/{client_id}/app/refresh
Request Payload:
Response Topic: v1/{client_id}/app/refresh/resp
Response Payload:
Success:
Failure:
Parameter description, reference General Information & APP Parameters.
Note:\ We can use the specified key to control the behavior of APP.
3.3.10 1-Wire Data¶
Publish a message to get 1-wire data on demand.
Request Topic:v1/{client_id}/1-wire/refresh
Request Payload:
Response Topic: v1/{client_id}/1-wire/refresh/resp
Response Payload:
Success:
Failure:
Parameter description, reference General Information & 1-Wire Parameters.
3.4 Control Service¶
3.4.1 IO Control¶
Publish a message to this topic to turn on/off the digital output.
Request Topic: v1/{client_id}/io/control
Request Payload:
Response Topic: v1/{client_id}/io/control/resp
Response Payload:
Success:
Failure:
Parameter description, see General Information & IO Parameters digital output part.
3.4.2 APP Control¶
Publish a message to this topic to notify APP to do something.
Request Topic: v1/{client_id}/app/control
Request Payload:
Response Topic: v1/{client_id}/app/control/resp
Response Payload:
Success:
Failure:
Parameter description, see General Information & APP Parameters digital output part.
3.4.3 Management Control¶
At the same time, only one of the following management control tasks can be executed.
3.4.3.1 General Parameters Description¶
| Parameter Name | Description | Type | Optional | Note |
|---|---|---|---|---|
| client_token | A unique string for users to match responses with the corresponding requests | string | ||
| operation | Task type | string | ||
| target | Operation object | string | ||
| params | Information needed by the task | object | Optional | |
| status | Task execution status | string | ||
| desc | Task failure reason | string | Optional |
Currently Supported Tasks are As Follows:
| Task | Operation | Target | Response | Reference | Note |
|---|---|---|---|---|---|
| Upgrade device firmware | upgrade | dev-fw | process | see Upgrade device firmware | |
| Device configuration get | cfg-get | dev-cfg | result | see Device configuration get | |
| Device configuration set | cfg-set | dev-cfg | result | see Device configuration set | |
| Aws provision certs refresh | certs-refresh | target | result | see Device certificates update (AWS provision) |
3.4.3.2 Upgrade Device Firmware¶
Publish a message to this topic to execute a firmware upgrade.
Request Topic: v1/{client_id}/mgmt/control
Request Payload:
Parameters description in params are described as follows:
| Parameter Name | Description | Type | Value | Units | Optional |
|---|---|---|---|---|---|
| len | Device firmware length | int | byte | ||
| url | Device firmware location to download | string | |||
| md5 | Device firmware md5 checksum | string |
Response Topic: v1/{client_id}/mgmt/control/resp
Response Payload:
If the task is accepted, the stage status information will be reported about every 3 seconds in response topic.
Downloading:
Upgrading:
Rebooting:
If any errors occur during the upgrade process, the following message will be reported.
Failure:
For detailed parameter description, see General parameters description.
3.4.3.3 Device configuration get¶
Note: VT series only
Publish a message to this topic to Obtain the current device configuration.
Request Topic: v1/{client_id}/mgmt/control
Request Payload:
Response Topic: v1/{client_id}/mgmt/control/resp
Response Payload:
3.4.3.4 Device configuration set¶
Note: VT series only
Publish a message to this topic to set device configuration.
Request Topic: v1/{client_id}/mgmt/control
Request Payload:
Response Topic: v1/{client_id}/mgmt/control/resp
Response Payload:
The device will restart in 10 seconds.
Failure:
3.4.3.5 Device certificates update (AWS provision)¶
Note: VT series only
When cloud platform set to aws iot, and enable device certificate, user can update the provision certificates in device by following method.
Request Topic: v1/{client_id}/mgmt/control
Request Payload:
Parameters description in params are described as follows:
| Parameter Name | Description | Type | Value | Units | Optional |
|---|---|---|---|---|---|
| certLen | cert length | int | byte | ||
| certType | cert type | string | 6 - public key 7 - private key 8 - CA |
||
| md5 | cert md5 checksum | string | |||
| certContent | cert |
Response Topic:v1/{client_id}/mgmt/control/resp
Response Payload:
If all certificates are received, the device will reboot and response certificates update result.
Certificates update success:
Certificates update failed, use old certificates to connect:
Failure:
3.4.4 Modbus write¶
Note: VT series only
Publish a message to do Modbus write.
Request Topic: v1/{client_id}/r2w/write
Request Payload:
The format of the w2r.rmt value is as follows,
[[slave address,function code,register address,data], [slave address,function code,register address,data], [slave address,function code,register address,data], ...,[slave address,function code,register address,data]]
Parameter description, See W2R Parameters.
Response Topic: v1/{client_id}/r2w/write/resp
Response Payload:
Success:
Failure:
3.4.5 CAN filter set¶
Note: VT series only
Publish message to set CAN filters to receive the CAN data care about for CAN1 and CAN2.
Request Topic: v1/{client_id}/CANFilter/set
Set a filter for CAN1 and CAN2 respectively Request Payload:
CAN1 sets two filters, CAN2 sets up three filters Request Payload:
Clear the filter configuration Request Payload:
Parameter explanation:
devnum: 1 represents the configuration of CAN1 and 2 represents the configuration of CAN2.
mode: Default set to 1.
id: CAN filter id configuration.
ide: 0 represents standard frame and 1 represents extended frame.
mask: CAN filter mask configuration.
rtr: Default set to 0.
Note: CAN1 and CAN2 can each be configured with up to 14 hardware filters. If need to set specific filtering requirements, need to calculate the specific filtering range by using the filed "id", "ide" and "mask".
Response Topic: v1/{client_id}/CANFilter/set/resp
Response Payload:
Success:
Others represent failed:
4. Advanced Usage¶
4.1 Custom Group Settings¶
4.1.1 Create/Update Custom Group¶
Use the following topics to define your interested groups and set their uploading intervals.
For interval and interest parameters, there are four use cases. See General settings.
Request Topic:v1/{client_id}/group/set
Request Payload:
Response Topic: v1/{client_id}/group/set/resp
Response Payload:
Success:
Failure:
Parameter description, see General Information & General settings.
4.1.2 Get Custom Group Settings¶
Use the following topics to get custom group settings.
Request Topic:v1/{client_id}/group/get
Request Payload:
Response Topic: v1/{client_id}/group/get/resp
Response Payload:
Success:
Failure:
Parameter description, see General Information & General settings.
4.1.3 Remove Custom Group¶
Use the following topics to remove group(Only for VG).
Request Topic:v1/{client_id}/group/set
Request Payload:
4.2 Timer Triggered Custom Group Data Get¶
Once you have subscribed to this topic, you will periodically receive the related data.
Topic:v1/{client_id}/{group_name}/info
Payload:
Parameter description, see General Information & FlexAPI supported Parameters.
4.3 On Demand Custom Group Data Get¶
Publish a message to get group_name data on demand.
Request Topic:v1/{client_id}/{group_name}/refresh
Request Payload:
Response Topic: v1/{client_id}/{group_name}/refresh/resp
Response Payload:
Success:
Failure:
Parameter description, see General Information & FlexAPI supported Parameters.
4.4 Custom Topic Settings¶
4.4.1 Create/Update Custom Topic¶
Use the following topics to setup your own mqtt topic for a custom group and set their uploading intervals.
For interval and interest parameters, there are four use cases. See General settings.
Request Topic:v1/{client_id}/group/set
Request Payload:
Response Topic: v1/{client_id}/group/set/resp
Response Payload:
Success:
Failure:
4.4.2 Timer Triggered Custom Topic Data Get¶
Once you have subscribed to this topic, you will periodically receive the related data.
Topic:v1/{topic_name}/info
Payload:
Parameter description, See General Information & FlexAPI supported Parameters.
Use General Settings to modify group setting(interval & interest).
4.4.3 On Demand Custom Topic Information Get¶
Publish a message to get topic_name data on demand.
Request Topic:v1/{topic_name}/refresh
Request Payload:
Response Topic: v1/{topic_name}/refresh/resp
Response Payload:
Success:
Failure:
Parameter description, see General Information & FlexAPI supported Parameters.
5. Event Service¶
5.1 Event Level¶
| Level Name | Value | Description |
|---|---|---|
| Emergency | 5 | System is unusable. |
| Alert | 4 | Action must be taken immediately. |
| Error | 3 | Error conditions. |
| Warning | 2 | Warning conditions. |
| General | 1 | Normal but significant condition. |
5.2 Event Types¶
5.2.1 General event Types¶
| Event Type | Description | Level | Note |
|---|---|---|---|
| IGON | The ignition input has transitioned from low to high. | 1 | Vehicel Tracker Only |
| IGOFF | The ignition input has transitioned from high to low. | 1 | Vehicel Tracker Only |
| SYS_SLEEP | The device entered deep sleep mode. | 1 | Vehicel Tracker Only |
| DI_CHG | The value of Digital Input pin is changed. | 1 | |
| OVERSPEED | The device detects the occurrence of a overspeed event. | 1 | Vehicel Tracker Only |
5.2.2 DTC event Types¶
| Event Type | Description | Level | Note |
|---|---|---|---|
| OBDII_DTC_{dtc} | OBDII diagnostic trouble code event. | 2 | dtc: diagnostic trouble code string. see OBD-II DTC Vehicel Tracker Only |
| J1939_DTC_{spn} | J1939 diagnostic trouble code event. | 2 | spn: see J1939 DTC Vehicel Tracker Only |
5.2.3 HARSH event Types¶
| Event Type | Description | Level | Note |
|---|---|---|---|
| COLLISION | The device detects the occurrence of a collision event. | 2 | see COLLISION event. Vehicel Tracker Only |
| HARSH_ACCELERATION | The device detects the occurrence of a acceleration event | 2 | see HARSH ACCELERATION event. Vehicel Tracker Only |
| HARSH_BRAKING | The device detects the occurrence of a braking event | 2 | see HARSH BRAKING event. Vehicel Tracker Only |
5.2.4 VEHICLE_MOVED event Types¶
| Event Type | Description | Level | Note |
|---|---|---|---|
| VEHICLE_MOVED | The device detects the occurrence of a moving event. | 2 | see VEHICLE_MOVED. Vehicel Tracker Only |
5.2.5 TURN event Types¶
| Event type | Description | Level | Note |
|---|---|---|---|
| TURN_LEFT | The device detects the occurrence of a turn left event. | 2 | see TURN_LEFT. Vehicel Tracker Only |
| TURN_RIGHT | The device detects the occurrence of a turn right event. | 2 | see TURN_RIGHT. Vehicel Tracker Only |
5.2.6 IDLE event Types¶
| Event type | Description | Level | Note |
|---|---|---|---|
| IDLE | The device detects that the vehicle changes from moving to stationary state. | 2 | see IDLE. Vehicel Tracker Only |
| IDLE_END | The device detects that the vehicle changes from stationary to moving state. | 2 | see IDLE_END. Vehicel Tracker Only |
5.3 Event parameters¶
| Parameter Name | Description | Type | Range | Units | Optional | Note |
|---|---|---|---|---|---|---|
| starts_at | Event start time | number | s | Optional | UNIX timestamp, in seconds since the epoch | |
| ends_at | Event end time | number | s | Optional | UNIX timestamp, in seconds since the epoch. When the event is cleared, it is added to the event message body | |
| status | Event status | string | raise/clear |
raise:event occur clear:event recovery | ||
| type | Event type | string | see Event Types | |||
| level | Event level | number | see Event Level | |||
| gnss.xxx | Additional location information(if any) | Optional | Location information associated with the event. see GNSS Parameters | |||
| motion.xxx | Additional motion information(if any) | Optional | Motion information associated with the event. see Motion Parameters | |||
| obd.xxx | Additional obd information(if any) | Optional | OBD information associated with the event. see OBD Parameters | |||
| io.xxx | Additional io information(if any) | Optional | IO information associated with the event. see IO Parameters |
5.4 Event examples¶
5.4.1 General event¶
Once you have subscribed to this topic, you will receive the related event information.
Topic:v1/{client_id}/event/notice
Payload:
Parameter description, See Event parameters & FlexAPI supported Parameters.
5.4.2 DTC event¶
Once you have subscribed to this topic, you will receive the related event information.
5.4.2.1 OBD-II DTC¶
Topic:v1/{client_id}/event/notice
Event occur:
Payload:
Event recovery:
Payload:
Parameter description:
| Parameter Name | Description | Type | Range | Units | Optional | Note |
|---|---|---|---|---|---|---|
| dtc | Diagnostic trouble code | string | ||||
| desc | Diagnostic trouble code description | string | optional |
More parameter description, See Event parameters & FlexAPI supported Parameters.
5.4.2.2 J1939 DTC¶
Topic:v1/{client_id}/event/notice
Event occur:
Payload:
Event recovery:
Payload:
Parameter description:
| Parameter Name | Description | Type | Range | Units | Optional | Note |
|---|---|---|---|---|---|---|
| src_addr | Source Address | int | ||||
| fmi | Failure Mode Indicator | int | ||||
| oc | Occurrence Count | int | ||||
| spn | Suspect Parameter Number | int |
More parameter description, See Event parameters & FlexAPI supported Parameters.
5.4.3 HARSH EVENT¶
5.4.3.1 COLLISION event¶
Topic:v1/{client_id}/event/notice
Event occur:
Payload:
5.4.3.2 HARSH_ACCELERATION event¶
Topic:v1/{client_id}/event/notice
Event occur:
Payload:
5.4.3.3 HARSH_BRAKING event¶
Topic:v1/{client_id}/event/notice
Event occur:
Payload:
Parameter description:
| Parameter Name | Description | Type | Range | Units | Optional | Note |
|---|---|---|---|---|---|---|
| CUR_ACC | The Acceleration when event occur. | double | ||||
| CUR_TM | Time of event occurrence | string | GMT+0 |
More parameter description, See Event parameters & FlexAPI supported Parameters.
5.4.4 VEHICLE_MOVED EVENT¶
5.4.4.1 VEHICLE_MOVED event¶
Topic:v1/{client_id}/event/notice
Event occur:
Payload:
5.4.5 TURN events¶
5.4.5.1 TURN LEFT event¶
Topic:v1/{client_id}/event/notice
Event occur:
Payload:
5.4.5.2 TURN RIGHT event¶
Topic:v1/{client_id}/event/notice
Event occur:
Payload:
Parameter description:
| Parameter Name | Description | Type | Range | Units | Optional | Note |
|---|---|---|---|---|---|---|
| cur_mdps | Angular velocity when cornering occurs. | float | ||||
| last_heading | GPS heading before turning. | float | ||||
| CUR_TM | Time of event occurrence | string | GMT+0 |
5.4.6 IDLE and IDLE_END events¶
5.4.6.1 IDLE event¶
Topic:v1/{client_id}/event/notice
Event occur:
Payload:
5.4.6.2 IDLE_END event¶
Topic:v1/{client_id}/event/notice
Event occur:
Payload:
Parameter description:
| Parameter Name | Description | Type | Range | Units | Optional | Note |
|---|---|---|---|---|---|---|
| duration | If this param in IDLE event, it indicates that the device varied from motion status to rest status, it's the motion status's duration. So, in IDLE_END event, it indicates that the device varied from rest status to motion status, it's the reset status's duration. | DWORD | 0~4294967295 | second | ||
| CUR_TM | Time of event occurrence | string |
Appendix A. FlexAPI Supported Parameters¶
A.1 Summary Parameters¶
Currently, the Summary group parameters include the relevant parameters in A2-A6.
A.2 GNSS Parameters¶
| Parameter Name | Description | Type | Range | Units | Optional | Note |
|---|---|---|---|---|---|---|
| gnss.ts | The last time the GNSS info was updated | int | s | UNIX timestamp, in seconds since the epoch | ||
| gnss.type | Type of GNSS constellation used | string | Beidou GPS+Beidou GPS+Glonass GPS+Galileo | Vehicle Gatewa Only | ||
| gnss.latitude | latitude | float | deg | mandatory | ||
| gnss.longitude | longitude | float | deg | mandatory | ||
| gnss.altitude | altitude | float | deg | mandatory | ||
| gnss.speed | speed | float | km/h | mandatory | ||
| gnss.heading | heading | float | [0.0,360.0] | ° | ||
| gnss.hacc | heading accuracy estimate | float | m | Vehicle Gatewa Only | ||
| gnss.hdop | Horizontal DOP | float | ||||
| gnss.pdop | Position DOP | float | Vehicle Gatewa Only | |||
| gnss.fix | GNSS fix status | int | 0: NoFix; 1: DR Only 2: 2D; 3: 3D 4: GNSS+DR; 5: Time Only | |||
| gnss.num_sv | number of satellites used | int | [0,12] | |||
| gnss.date | date | string | format: yy-mm-dd | Vehicle Gatewa Only | ||
| gnss.time | time | string | format: hh |
Vehicle Gatewa Only |
A.3 Motion Parameters¶
| Parameter Name | Description | Type | Range | Units | Optional | Note |
|---|---|---|---|---|---|---|
| motion.ts | The last time the Motion info was updated | int | s | UNIX timestamp, in seconds since the epoch | ||
| motion.ax | x-axis accelerometer | float | g | mandatory | accelerometer | |
| motion.ay | y-axis accelerometer | float | g | mandatory | accelerometer | |
| motion.az | z-axis accelerometer | float | g | mandatory | accelerometer | |
| motion.gx | x-axis gyroscope | float | deg/s | mandatory | gyroscope | |
| motion.gy | y-axis gyroscope | float | deg/s | mandatory | gyroscope | |
| motion.gz | z-axis gyroscope | float | deg/s | mandatory | gyroscope | |
| motion.roll | roll angle | float | deg | mandatory | Vehicle Gatewa Only | |
| motion.pitch | pitch angle | float | deg | mandatory | Vehicle Gatewa Only | |
| motion.yaw | yaw angle | float | deg | mandatory | Vehicle Gatewa Only |
A.4 IO Parameters¶
| Parameter Name | Description | Type | Range | Units | Optional | Note |
|---|---|---|---|---|---|---|
| io.ts | The last time the IO info was updated | int | s | UNIX timestamp, in seconds since the epoch | ||
| io.AI{n} | Analog Input n | float | [0,36.0] null:invalid | V | mandatory | n: [1,6] |
| io.DI{n} | Digital Input n | int | 0: low 1: high null:invalid | mandatory | n: [1,11] | |
| io.DI{n}_pullup | Digital Input pullup n | int | 0: down 1: up null:invalid | mandatory | n: [1,11] | |
| io.DO{n} | Digital Output n | int | 0: low 1: high null:invalid | mandatory | n: [1,7] | |
| io.DO{n}_pullup | Digital Output pullup n | int | 0: down 1: up null:invalid | mandatory | n:[1,7] Vehicle Gatewa Only |
|
| io.igt_status | Ignition signal | int | 0:off1:on | Ignition signal | int | |
| io.power_input | Supply voltage | float | [0,36.0] | V | ||
| io.battery_lvl | Battery capacity percentage | int | [0,100] | Vehicel Tracker Only |
A.5 OBD Parameters¶
| Parameter Name | Description | Type | J1939 PGN:SPN | J1979 SID: PID | J1708 MID:PID | Range | Units | Note |
|---|---|---|---|---|---|---|---|---|
| obd.ts | The last time the OBD info was updated | int | N/A | N/A | N/A | N/A | s | UNIX timestamp, in seconds since the epoch |
| obd.bitrate | OBD Interface bitrate | int | N/A | N/A | N/A | 250000/500000 | bps | |
| obd.iftype | OBD Interface type | string | N/A | N/A | N/A | CAN | ||
| obd.status | OBD connection status | string | N/A | N/A | N/A | Disconnected/Connecting/Connected | ||
| obd.protocol | OBD protocol type | string | N/A | N/A | J1939/OBD-II | |||
| obd.vin | Vehicle Identification Number | string | 65260:237 | 09h:02h | 128:237 | |||
| obd.e_load | Engine Load | double | 61443:92 | 01h:04h | 128:92 | [0,250.00] 0: stopped >0: started | % | |
| obd.c_temp | Engine Coolant Temp | int | 65262:110 | 01h:05h | 128:110 | [-40,215] | ℃ | |
| obd.rpm | Engine Speed | double | 61444:190 | 01h:0Ch | 128:190 | [0,16383.75] | RPM | |
| obd.speed | Vehicle Speed | int | 65265:84 | 01h:0Dh | 128:84 | [0,255] | km/h | |
| obd.f_lvl | Fuel Level | double | 65276:96 | 01h:2Fh | 140:96 | [0,100.00] | % | |
| obd.f_rate | Fuel Rate | double | 65266:183 | 01h:5Eh | 128:183 | [0,3276.75] | l/h | |
| obd.dtcs | DTC Count | int | 65230:1218 | 01h:01h | Not Supported | [0,250] | ||
| obd.mil | MIL Status | boolean | 65226:1213 | 01h:01h | Not Supported | 0:off 1:on | ||
| obd.b_volt | Battery Voltage | double | 65271:168 | 0x01:0x42 | 128:168 | [0,3212.75] | V | |
| obd.a_temp | Ambient Air Temp | int | 65269:171 | 01h:46h | 140:171 | [-273,1734] | ℃ | |
| obd.o_temp | Engine Oil Temp | int | 65262:175 | 01h:5Ch | 128:175 | [-273,1734] | ℃ | |
| obd.up_time | Engine Start Time | int | 64952:3301 | 01h:1Fh | Not Supported | [0,65535] | sec | |
| obd.m_dist | Distance traveled while MIL is Activated | int | 49408:3069 | 01h:21h | Not Supported | [0,65535] | km | |
| obd.d_dist | Distance traveled since DTCs cleared | int | 49408:3294 | 01h:31h | Not Supported | [0,65535] | km | |
| obd.m_time | Engine run time while MIL activated | int | 49408:3295 | Not Supported | Not Supported | [0,65535] | min | |
| obd.d_time | Engine run time since DTCs cleared | int | 49408:3296 | Not Supported | Not Supported | [0,65535] | min | |
| obd.f_press | Fuel Pressure | int | 64929:3480 | 01h:0Ah | 128:94 | [0,6425] | kPa | |
| obd.t_pos | Throttle Position | double | 65266:51 | 01h:11h | 128:51 | [0,100.00] | % | |
| obd.brake | Brake Switch Status | boolean | 65265:597 | Not Supported | 128:65 | 0:brake pedal released 1:brake pedal depressed | ||
| obd.parking | Parking Brake Switch Status | boolean | 65265:70 | Not Supported | 128:70 | 0:parking brake not set 1:parking brake set | ||
| obd.s_w_angle | Steering Wheel Angle | double | 61449:1807 | Not Supported | Not Supported | [-31.374,31.374] | rad | |
| obd.f_econ | Fuel Economy | double | 65266:185 | Not Supported | 128:185 | [0,125.50] | km/L | |
| obd.odo | Odometer | double | 65248:245 | 01h:a6h | 128:245 | [0,526385151.875] | km | PGN 65248 or 65217 for VG |
| obd.a_pos | Accelerator Pedal Position | double | 61443:91 | Not Supported | 128:91 | [0,100.00] | % | |
| obd.t_dist | trip distance | double | 65248:244 | 01h:21h | 128:244 | [0,526385151.875] | km | PGN 65248 or 65217 for VG |
| obd.i_temp | Intake Manifold Temp | int | 65270:105 | 01h:0Fh | 128:105 | [-40,215] | ℃ | |
| obd.i_press | Intake Manifold Pressure | int | 65270:102 | 01h:0Bh | Not Supported | [0,255] | kPa | |
| obd.b_press | Barometirc Pressure | int | 65269:108 | 01h:33h | 128:108 | [0,255] | kPa | |
| obd.f_r_press | Fuel Rail Pressure | int | 64765:5313 | 01h:23h | Not Supported | [0,65530] | kPa | |
| obd.r_torque | Engine reference Torque | int | 65251:544 | 01h:63h | Not Supported | [0,64255] | Nm | |
| obd.f_torque | Engine friction Torque | float | 65247:514 | 01h:8Eh | Not Supported | [-125.00,125.00] | % | |
| obd.max_avl_torque | Engine Maximum Available Torque | float | 61443:3357 | Not Supported | Not Supported | [0,100.00] | % | |
| obd.a_torque | Engine actual Torque | float | 61444:513 | 01h:62h | 128:93 | [-125.00,125.00] | % | |
| obd.e_p_d_torque | Engine Demand-Percent Torque | float | 61444:2432 | Not Supported | Not Supported | [-125.00,125.00] | % | Vehicel Tracker Only |
| obd.f_t_used_h_res | Engine Total Fuel Used (High Resolution) | float | 64777:2432 | Not Supported | Not Supported | [0,4,211,081.215] | l | Vehicel Tracker Only |
| obd.d_e_f_vol | Diesel Exhaust Fluid Volume | float | 65110:1761 | Not Supported | Not Supported | [0,100.00] | % | |
| obd.d1_id | Driver 1 identification | int | 65131:1625 | Not Supported | Not Supported | [0,255] | per byte | Vehicel Tracker Only |
| obd.d2_id | Driver 2 identification | int | 65131:1626 | Not Supported | Not Supported | [0,255] | per byte | Vehicel Tracker Only |
| obd.drv_state1 | Driver 1 working state | int | 65132:1612 | Not Supported | Not Supported | [0,7] | Vehicel Tracker Only | |
| obd.drv_state2 | Driver 2 working state | int | 65132:1613 | Not Supported | Not Supported | [0,7] | Vehicel Tracker Only | |
| obd.v_motion | Vehicle motion | int | 65132:1611 | Not Supported | Not Supported | [0,3] | Vehicel Tracker Only | |
| obd.t_r_state1 | Driver 1 Time Related States | int | 65132:1617 | Not Supported | Not Supported | [0,15] | Vehicel Tracker Only | |
| obd.d_card1 | Driver Card , Driver 1 | int | 65132:1615 | Not Supported | Not Supported | [0,3] | Vehicel Tracker Only | |
| obd.v_overspeed | Vehicle Oversspeed | int | 65132:1614 | Not Supported | Not Supported | [0,3] | Vehicel Tracker Only | |
| obd.t_r_state2 | Driver 2 Time Related States | int | 65132:1618 | Not Supported | Not Supported | [0,15] | Vehicel Tracker Only | |
| obd.d_card2 | Driver Card , Driver 2 | int | 65132:1616 | Not Supported | Not Supported | [0,3] | Vehicel Tracker Only | |
| obd.sys_evt | System event | int | 65132:1622 | Not Supported | Not Supported | [0,3] | Vehicel Tracker Only | |
| obd.h_info | Handing information | int | 65132:1621 | Not Supported | Not Supported | [0,3] | Vehicel Tracker Only | |
| obd.tco_perf | Tachograph performance | int | 65132:1620 | Not Supported | Not Supported | [0,3] | Vehicel Tracker Only | |
| obd.v_direction | Direction Indicator | int | 65132:1619 | Not Supported | Not Supported | [0,3] | Vehicel Tracker Only | |
| obd.tco_o_speed | Tachograph output shaft speed | float | 65132:1623 | Not Supported | Not Supported | [0,8,031.875] | Vehicel Tracker Only | |
| obd.tco_v_speed | Tachograph vehicle speed | float | 65132:1624 | Not Supported | Not Supported | [0,250.996] | Vehicel Tracker Only | |
| obd.h_t_dist | Trip Distance(High Resolution) | int | 65217:918 | Not Supported | Not Supported | [0,21,055,406,075] | m | Vehicel Tracker Only |
| obd.mf_mon | Misfire Monitor Status | int | 65230:1221 | 01h:01h | Not Supported | 0:not completed 1:completed | ||
| obd.f_s_mon | Fuel System Monitor Status | int | 65230:1221 | 01h:01h | Not Supported | 0:not completed 1:completed | ||
| obd.c_c_mon | Comprehensive Component Monitor Status | int | 65230:1221 | 01h:01h | Not Supported | 0:not completed 1:completed | ||
| obd.c_mon | Catalyst Monitor Status | int | 65230:1222 | 01h:01h | Not Supported | 0:not completed 1:completed | ||
| obd.h_c_mon | Heated Catalyst Monitor Status | int | 65230:1222 | 01h:01h | Not Supported | 0:not completed 1:completed | ||
| obd.e_s_mon | Evaporative System Monitor Status | int | 65230:1222 | 01h:01h | Not Supported | 0:not completed 1:completed | ||
| obd.s_a_s_mon | Secondary Air System Monitor Status | int | 65230:1222 | 01h:01h | Not Supported | 0:not completed 1:completed | ||
| obd.a_s_r_mon | A/C System Refrigerant Monitor Status | int | 65230:1222 | 01h:01h | Not Supported | 0:not completed 1:completed | ||
| obd.e_g_s_mon | Exhaust Gas Sensor Monitor Status | int | 65230:1222 | 01h:01h | Not Supported | 0:not completed 1:completed | ||
| obd.e_g_s_h_mon | Exhaust Gas Sensor heater Monitor Status | int | 65230:1222 | 01h:01h | Not Supported | 0:not completed 1:completed | ||
| obd.e_v_s_mon | EGR/VVT System Monitor Status | int | 65230:1222 | 01h:01h | Not Supported | 0:not completed 1:completed | ||
| obd.c_s_a_s_mon | Cold Start Aid System Monitor Status | int | 65230:1222 | Not Supported | Not Supported | 0:not completed 1:completed | ||
| obd.b_p_c_s_mon | Boost Pressure Control System Monitor Status | int | 65230:1222 | 01h:01h | Not Supported | 0:not completed 1:completed | ||
| obd.dpf_mon | DPF Monitor Status | int | 65230:1222 | Not Supported | Not Supported | 0:not completed 1:completed | ||
| obd.n_c_mon | NOx Catalyst Monitor Status | int | 65230:1222 | 01h:01h | Not Supported | 0:not completed 1:completed | ||
| obd.nmhc_mon | NMHC Catalyst Monitor Status | int | 65230:1222 | 01h:01h | Not Supported | 0:not completed 1:completed | ||
| obd.pf_mon | PF Monitor Status | int | 65230:1222 |
Not Supported | 0:not completed 1:completed | Vehicle Gatewa Only | ||
| obd.t_v_hours | Total Vehicle Hours | float | 65255:246 | Not Supported | Not Supported | [0,210,554,060.75] | h | Vehicel Tracker Only |
| obd.t_o_hours | Total Power Takeoff Hours | float | 65255:248 | Not Supported | Not Supported | [0,210,554,060.75] | h | Vehicel Tracker Only |
| obd.f_t_used | Engine Total Fuel Used | float | 65257:250 | Not Supported | Not Supported | [0,2,105,540,607.5] | I | obd.e_t_fuel for VG |
| obd.axle_loc | Axle location | int | 65258:928 | Not Supported | Not Supported | [0,255] | Vehicel Tracker Only | |
| obd.axle_weight | Axle Weight | float | 65258:582 | Not Supported | Not Supported | [0,32,127.5] | kg | Vehicel Tracker Only |
| obd.t_weight | Trailer Weight | int | 65258:180 | Not Supported | Not Supported | [0,128,510] | kg | Vehicel Tracker Only |
| obd.c_weight | Cargo Weight | int | 65258:181 | Not Supported | Not Supported | [0,128,510] | kg | Vehicel Tracker Only |
| obd.cruise_c_on | Cruise Control Active | int | 65265:595 | Not Supported | Not Supported | [0,3] | Vehicel Tracker Only | |
| obd.cruise_p_switch | Cruise Control Pause Switch | int | 65265:1633 | Not Supported | Not Supported | [0,3] | Vehicel Tracker Only | |
| obd.o_s_mon | Oxygen Sensor Monitor Status | int | Not Supported | 01h:01h | Not Supported | 0:not completed 1:completed | ||
| obd.o_s_h_mon | Oxygen Sensor heater Monitor Status | int | Not Supported | 01h:01h | Not Supported | 0:not completed 1:completed | ||
| obd.brake_prim_press | Brake Primary Pressure | float | Not Supported | Not Supported | 140:117 | kPa | Vehicel Tracker Only | |
| obd.brake_sec_press | Brake Secondary Pressure | float | Not Supported | Not Supported | 140:118 | kPa | Vehicel Tracker Only | |
| obd.e_hours | "Engine Total Hours of Operation | int | 65253:247 | Not Supported | Not Supported | h | obd.e_t_hours for VG | |
| obd.ab_level | Aftertreatment 1 Diesel Exhaust Fluid Tank Volume | float | 65110:1761 | Not Supported | Not Supported | % | Vehicel Tracker Only | |
| obd.e_o_level | Engine Oil Level | int | 65263:98 | Not Supported | [0 ,100] | % | Vehicle Gatewa Only | |
| obd.e_o_press |
Engine Oil Pressure 1 | int | 65263:100 | Not Supported | [0,1000] | kPa | Vehicle Gatewa Only | |
| obd.t_o_temp1 |
Transmission Oil Temperature 1 | float | 65272:177 | Not Supported | [-273,1734.96875] | ℃ | Vehicle Gatewa Only | |
| obd.h_b_r_charge | Hybrid Battery Pack Remaining Charge | float | 64695:5464 | 01:5Bh | [0,160.6375] | % | Vehicle Gatewa Only |
A.6 Cellular Parameters¶
| Parameter Name | Description | Type | Range | Units | Optional | Note |
|---|---|---|---|---|---|---|
| modem1.ts | The last time the modem1 info was updated | int | s | UNIX timestamp, in seconds since the epoch | ||
| modem1.active_sim | active SIM card | number | [1,2] | 1: SIM1, 2: SIM2 Vehicle Gatewa Only |
||
| modem1.imei | IMEI code | string | ||||
| modem1.imsi | IMSI code | string | ||||
| modem1.iccid | ICCID code | string | ||||
| modem1.phone_num | phone number | string | ||||
| modem1.signal_lvl | signal level | number | asu | |||
| modem1.reg_status | register status | number | [0,6] | 0: Not registered, ME is not currently searching an operator to register to 1: Registered, home network 2: Not registered, but ME is currently trying to attach or searching an operator to register to 3: Registration denied 4: Unknown, e.g. out of LTE coverage 5: Registered, roaming | ||
| modem1.operator | operator | string | ||||
| modem1.network | network type | number | [0,4] | 0: NA, 1: 2G, 2: 3G, 3: 4G, 4:5G | ||
| modem1.submode | network subtype | string | "SA"/"NSA" Vehicle Gatewa Only |
|||
| modem1.lac | LAC | string | hexadecimal | |||
| modem1.cell_id | Cell ID | string | hexadecimal | |||
| modem1.rssi | RSSI(Received Signal Strength Indication) | number | dBm | |||
| modem1.rsrp | RSRP(Reference Signal Receiving Power) | number | dBm | |||
| modem1.rsrq | RSRQ(Reference Signal Receiving Quality) | number | dB | |||
| modem1.sinr | SINR(Signal to Interference plus Noise Ratio) | number | dB | |||
| cellular1.ts | The last time the cellular1 network info was updated | int | s | UNIX timestamp, in seconds since the epoch Vehicle Gatewa Only |
||
| cellular1.status | cellular1 APN1 network status | number | [0,3] | Deprecated and will be replaced by cellular1.apn1_status | 0: destroy 1: create 2: down 3: up | |
| cellular1.ip | cellular1APN1 ip address | string | Deprecated and will be replaced by cellular1.apn1_ip | |||
| cellular1.netmask | cellular1 APN1 netmask | string | Deprecated and will be replaced by cellular1.apn1_netmask | |||
| cellular1.gateway | cellular1 APN1 gateway | string | Deprecated and will be replaced by cellular1.apn1_gateway | |||
| cellular1.dns1 | cellular1 APN1 dns1 | string | Deprecated and will be replaced by cellular1.apn1_dns1 | |||
| cellular1.dns2 | cellular1 APN1 dns2 | string | Deprecated and will be replaced by cellular1.apn1_dns2 | Vehicle Gatewa Only | ||
| cellular1.up_at | cellular1 APN1 connected timestamp | number | s | Deprecated and will be replaced by cellular1.apn1_up_at | UNIX timestamp, in seconds since the epoch | |
| cellular1.down_at | cellular1 APN1 disconnected timestamp | number | s | Deprecated and will be replaced by cellular1.apn1_down_at | UNIX timestamp, in seconds since the epoch | |
| cellular1.traffic_ts | duration of cellular1 APN1 connection | int | s | Deprecated and will be replaced by cellular1.apn1_traffic_ts | ||
| cellular1.tx_bytes | cellular1 APN1 TX bytes | int | byte | Deprecated and will be replaced by cellular1.apn1_tx_bytes | Vehicle Gatewa Only | |
| cellular1.rx_bytes | cellular1 APN1 RX bytes | int | byte | Deprecated and will be replaced by cellular1.apn1_rx_bytes | Vehicle Gatewa Only | |
| cellular1.apn1_ifname | cellular1 APN1 interface name | string | Vehicle Gatewa Only | |||
| cellular1.apn1_name | cellular1 APN1 name | string | Vehicle Gatewa Only | |||
| cellular1.apn2_status | cellular1 APN2 network status | number | [0,3] | 0: destroy 1: create 2: down 3: up Vehicle Gatewa Only |
||
| cellular1.apn2_ip | cellular1 APN2 ip address | string | Vehicle Gatewa Only | |||
| cellular1.apn2_netmask | cellular1 APN2 netmask | string | Vehicle Gatewa Only | |||
| cellular1.apn2_gateway | cellular1 APN2 gateway | string | Vehicle Gatewa Only | |||
| cellular1.apn2_dns1 | cellular1 APN2 dns1 | string | Vehicle Gatewa Only | |||
| cellular1.apn2_dns2 | cellular1 APN2 dns2 | string | Vehicle Gatewa Only | |||
| cellular1.apn2_up_at | cellular1 APN2 connected timestamp | number | s | UNIX timestamp, in seconds since the epoch. Vehicle Gatewa Only |
||
| cellular1.apn2_down_at | cellular1 APN2 disconnected timestamp | number | s | UNIX timestamp, in seconds since the epoch Vehicle Gatewa Only |
||
| cellular1.apn2_traffic_ts | duration of cellular1 APN2 connection | int | s | Vehicle Gatewa Only | ||
| cellular1.apn2_tx_bytes | cellular1 APN2 TX bytes | int | byte | Vehicle Gatewa Only | ||
| cellular1.apn2_rx_bytes | cellular1 APN2 RX bytes | int | byte | Vehicle Gatewa Only | ||
| cellular1.apn2_ifname | cellular1 APN2 name | string | Vehicle Gatewa Only | |||
| cellular1.apn2_name | cellular1 APN2 name | string | Vehicle Gatewa Only |
A.7 Sysinfo Parameters¶
| Parameter Name | Description | Type | Range | Units | Optional | Note |
|---|---|---|---|---|---|---|
| sysinfo.ts | The last time the modem1 info was updated | int | s | UNIX timestamp, in seconds since the epoch | ||
| sysinfo.language | language | string | Chinese/English Only for VG. |
|||
| sysinfo.hostname | hostname | string | Only for VG. | |||
| sysinfo.timezone | timezone | string | Only for VG. | |||
| sysinfo.model_name | model name | string | ||||
| sysinfo.oem_name | OEM name | string | ||||
| sysinfo.serial_number | serial number | string | ||||
| sysinfo.firmware_version | firmware version | string | ||||
| sysinfo.bootloader_version | bootloader version | string | Vehicle Gateway Only | |||
| sysinfo.product_number | product number | string | ||||
| sysinfo.description | description | string | ||||
| sysinfo.lan_mac | MAC address of bridge1, is the same with device label | string | Vehicle Gateway Only | |||
| sysinfo.wlan_mac | MAC address of 2G WiFi | string | Vehicle Gateway Only | |||
| sysinfo.wlan_5g_mac | MAC address of 5G WiFi | string | Vehicle Gateway Only | |||
| sysinfo.power_management_version | Firmware version for power manage board | string | Vehicle Gateway Only |
A.8 Sensor Parameters¶
| Parameter Name | Description | Type | Range | Units | Optional | Note |
|---|---|---|---|---|---|---|
| sensor.ts | The last time the sensor info was updated | int | s | UNIX timestamp, in seconds since the epoch | ||
| sensor.data | sensor data | string | ||||
| type | sensor type | string | 1W_TP:temperature sensor | |||
| id | sensor id | string | ||||
| value | sensor value | string | ℃ | This parameter is sent only when the sensor type is temperature sensor |
A.9 W2R Paramters¶
| Parameter Name | Description | Type | Range | Units | Optional | Note |
|---|---|---|---|---|---|---|
| w2r.ts | The last time the w2r info was updated | int | s | UNIX timestamp, in seconds since the epoch | ||
| w2r.if | interface name | string | ||||
| w2r.proto | protocol type | string | Only modbus-rtu(RS485) is supported. | |||
| w2r.rmt | data from interface. | Only modbus-rtu(RS485) is supported. |
A.10 APP Parameters¶
| Parameter Name | Description | Type | Range | Units | Optional | Note |
|---|---|---|---|---|---|---|
| app.wifi_mode_2g | Notify WIFIControl APP to change 2.4G Wi-Fi mode | int | 0:AP1:STA-1:N/A(status only) | |||
| app.wifi_mode_5g | Notify WIFIControl APP to change 5G Wi-Fi mode | int | 0:AP1:STA-1:N/A(status only) |
A.11 Forward Parameters¶
| Parameter Name | Description | Type | Range | Units | Note |
|---|---|---|---|---|---|
| forward.payload | Content is customized by the customer, usually written by the APP | string | DB file: forward.db | ||
| forward.payload_bt | Content is customized by the customer, usually written by the APP(BT information) | string | DB file: forward_bt.db | ||
| forward.payload_can | Content is customized by the customer, usually written by the APP(CAN information) | string | DB file: forward_can.db | ||
| forward.payload_obdcan |
A.12 1-Wire Parameters¶
| Parameter Name | Description | Type | Range | Units | Optional | Note |
|---|---|---|---|---|---|---|
| 1-wire.status | The connection state of 1-wire bus | string | "Connected""Disconnected" | |||
| 1-wire.type | The type of device on 1-wire bus | string | "Temperature""ROM Code""Temperature & ROM Code" | |||
| 1-wire.temp_num | The number of temperature sensor devices on 1-wire bus | int | [1, 4] | |||
| 1-wire.rom_num | The number of electronic registration code devices on 1-wire bus | int | [1, 4] | |||
| 1-wire.tempN_data | The temperature value of one of the temperature sensors on 1-wire bus | float | °C | |||
| 1-wire.tempN_id | The ID of one of the temperature sensors on 1-wire bus | string | ||||
| 1-wire.tempN_name | The custom name of one of the temperature sensors on 1-wire bus | string | Optional | |||
| 1-wire.rom_codeN | The value of one of the electronic registration codes on 1-wire bus | string |
Note: The letter N in a parameter like "1-wire.tempN_data" and "1-wire.rom_codeN" represents the number of sensors on 1-wire, on a scale of 1 to 4.