H02
Status: Works today.
| Kind | Version | Publisher | Licence |
|---|---|---|---|
| Device codec | 1.0.1 | ZAITRACK | Apache-2.0 |
What it does
H02 h02-v1 profile with text reports and fixed 32-byte binary TCP records. UDP supports the declared binary profiles. Model-specific compatibility and physical device acceptance are recorded separately.
- Devices:
vehicle_tracker - Transport:
tcp,udp - Commands:
config-update,engine-cut,engine-restore - Capabilities:
telemetry.position
How to use it
In Adapter Studio, an organisation's owner or admin opens Installations → Install an adapter and gives h02 and its settings. It runs once installed.
Configuration
| Setting | Type | Required | Allowed values and default |
|---|---|---|---|
profile | — | no | default "h02-v1" |
host_time_utc | string | no | Trusted invocation timestamp; decoder replaces it with WIT received-at. Command-bus must supply this per attempt. |
acknowledge_reports | boolean | no | default false |
alternative_interval | boolean | no | default false |
binary_length | enum | no | one of 32, 42, 45, 46, 48 |
Credentials
None.
Limits
It runs in codec-runtime's WASM sandbox, within these limits (the platform's own ceilings bound them too):
- Memory: 32 MB
- Time per call: 50 ms
- Instructions per call (fuel): 50,000,000
- Largest message: 8,192 bytes
- Calls per second: 2,000
- Network: no network access
Troubleshooting
- The device does not connect. Check the host and port its Connect page gives for your region, that the SIM has data and the APN is set, and that the device sends to that host (some send to the last server they were given).
- It connects but no position arrives. The device must be registered with this protocol and the IMEI or serial it reports: a device the platform does not know, or a retired one, is refused when it connects. Trackers shows it as Check (never reported) until its first position.
- Positions arrive with the wrong time. The protocol's timestamps are UTC; a device set to local time reports hours off. Set it to UTC.
- A command does not reach the device. Only the commands listed under Commands are sent; the device must be online, and some models need the command enabled in their own configuration.
Source
adapters/codecs/h02