Device Info Packet: Difference between revisions
No edit summary |
No edit summary |
||
| (2 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
{| class="wikitable" | {| class="wikitable" | ||
|- | |||
! style="background-color:#680022; color:white;" | Field | ! style="background-color:#680022; color:white;" | Field | ||
! style="background-color:#680022; color:white;" | Size (bits) | ! style="background-color:#680022; color:white;" | Size (bits) | ||
| Line 171: | Line 172: | ||
<pre> | <pre> | ||
HEX : " | { HEX: "2406e0e21aeb7abfd58068abec441638393931343632313630353131303436363837465452414e545344344720332e20302e20202035202020203054532d443420332e20302e20202035323532313154532d445220332e20302e202020323235323131585858585858585858585043422d303236312d41412a44" "imei": 862942074896044, "packet_type": 0, "no_packets": 1, "dateTime": 1756097604, "timezone": 22, "dateTime_tz": "2025-08-25 10:23:24", "iccid": "8991462160511046687F", "vid": "TRAN", "cmfv_name": "TSD4G", "cmfv_version": " 3. 0. 5", "cmfv_build": " 0", "mcua_name": "TS-D4", "mcua_version": " 3. 0. 5", "mcua_build": "25211", "mcub_name": "TS-DR", "mcub_version": " 3. 0. 2", "mcub_build": "25211", "vn": "XXXXXXXXXX", "hwinfo_build": "PCB-0261-AA", "error_code": 0 } | ||
"packet_type": 0, "no_packets": 1, "dateTime": | |||
</pre> | </pre> | ||
Latest revision as of 05:21, 18 December 2025
| Field | Size (bits) | Bit Range | Description | Breakdown |
|---|---|---|---|---|
| Header (10 Bytes) | ||||
| Start byte | 8 | 0–7 | Starting character $ (ASCII value 36) | |
| Data length | 12 | 08–19 | 2-byte length of the data following the header | |
| Number of data packets | 5 | 20–24 | Number of packets (0–32) | 0–32 |
| IMEI | 50 | 25–74 | Unique device identifier | |
| Packet type | 5 | 75–79 | Type of packet | 00 - Device Info |
| Data (110 Bytes) | ||||
| Time | 32 | 80-111 | UTC Timestamp | UTC time in seconds |
| Time Zone | 8 | 112-119 | Timezone in quarter-hours (e.g., 22 = +5:30), quarter-hour increment means each unit represents 15 minutes. The value 22 represents 22 quarter hours. Ranges from -48 to 56, negative timezone to 2's complement representation | eg: 22 (+5:30) → 22×15=330 minutes → 330÷60=5.5 hours → 5 hours and 30 minutes |
| ICCID | 160 | 120-279 | 20 Bytes, Character string | 8991000903297069053F |
| VID | 32 | 280-311 | 4 Bytes, Character string | TRAN |
| CELLULAR_MODULE_FV NAME | 40 | 312-351 | 5 Bytes, Character string | TSPJT |
| CELLULAR_MODULE_FV VERSION | 80 | 352-431 | 10 Bytes, Character string | XX.YY.ZZZZ |
| CELLULAR_MODULE_FV BUILD NO | 40 | 432-471 | 5 Bytes, Character string | YYDDD |
| MCU_APP_MODULE_FV NAME | 40 | 472-511 | 5 Bytes, Character string | TSPJT |
| MCU_APP_MODULE_FV VERSION | 80 | 512-591 | 10 Bytes, Character string | XX.YY.ZZZZ |
| MCU_APP_MODULE_FV BUILD NO | 40 | 592-631 | 5 Bytes, Character string | YYDDD |
| MCU_BTL_MODULE_FV NAME | 40 | 632-671 | 5 Bytes, Character string | TSPJT |
| MCU_BTL_MODULE_FV VERSION | 80 | 672-751 | 10 Bytes, Character string | XX.YY.ZZZZ |
| MCU_BTL_MODULE_FV BUILD NO | 40 | 752-791 | 5 Bytes, Character string | YYDDD |
| VN | 80 | 792-871 | 10 Bytes, Character string | KL07CP8490 |
| HWINFO | 88 | 872-959 | 11 Bytes, Character string | PCB-0220-AB |
| Tail(2 Bytes) | ||||
| End Character | 8 | 0–7 | Starting character * (ASCII value 42) | |
| CRC | 8 | 8–15 | 8-bit XOR CRC of data starting from $ to * (excluding $ and *) | |
Sample Packet
{ HEX: "2406e0e21aeb7abfd58068abec441638393931343632313630353131303436363837465452414e545344344720332e20302e20202035202020203054532d443420332e20302e20202035323532313154532d445220332e20302e202020323235323131585858585858585858585043422d303236312d41412a44" "imei": 862942074896044, "packet_type": 0, "no_packets": 1, "dateTime": 1756097604, "timezone": 22, "dateTime_tz": "2025-08-25 10:23:24", "iccid": "8991462160511046687F", "vid": "TRAN", "cmfv_name": "TSD4G", "cmfv_version": " 3. 0. 5", "cmfv_build": " 0", "mcua_name": "TS-D4", "mcua_version": " 3. 0. 5", "mcua_build": "25211", "mcub_name": "TS-DR", "mcub_version": " 3. 0. 2", "mcub_build": "25211", "vn": "XXXXXXXXXX", "hwinfo_build": "PCB-0261-AA", "error_code": 0 }
Device Info Packet Parser
Parsed Output:
| Field | Value |
|---|