Difference between revisions of "Inateck BCST-70 Communication Protocol"

From Wiki Knowledge Base | Teltonika GPS
m (Protected "Inateck BCST-70 Communication Protocol" ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite)))
(Created page with " ==='''2. Parsing example:'''=== {| class="nd-othertables_2" style="width:100%;" ! rowspan="1" style="width:100%; vertical-align: middle; text-align: center;" |Unparsed receiv...")
(6 intermediate revisions by the same user not shown)
Line 1: Line 1:
__TOC__
 
 
==Raw Data==
 
  
 +
==='''2. Parsing example:'''===
 
{| class="nd-othertables_2" style="width:100%;"
 
{| class="nd-othertables_2" style="width:100%;"
 
! rowspan="1" style="width:100%; vertical-align: middle; text-align: center;" |Unparsed received data in hexadecimal stream
 
! rowspan="1" style="width:100%; vertical-align: middle; text-align: center;" |Unparsed received data in hexadecimal stream
Line 110: Line 108:
 
|-
 
|-
 
| style="vertical-align: middle; text-align: center;" |1’st IO ID
 
| style="vertical-align: middle; text-align: center;" |1’st IO ID
| style="vertical-align: middle; text-align: center;" |<span style="background:#91b9d4">01 08</span> (AVL ID: 264, Name: Barcode ID)
+
| style="vertical-align: middle; text-align: center;" |<span style="background:#91b9d4">0108</span> (AVL ID: 264, Name: Barcode ID)
 
|-
 
|-
 
| style="vertical-align: middle; text-align: center;" |1’st IO Value
 
| style="vertical-align: middle; text-align: center;" |1’st IO Value
Line 121: Line 119:
 
| style="vertical-align: middle; text-align: center;" |00 00 E2 5B
 
| style="vertical-align: middle; text-align: center;" |00 00 E2 5B
 
|}
 
|}
 
==Parsing Information==
 
 
Sensor information comes from the AVL IDs mentioned below.
 
 
{| class="nd-othertables_2" style="width:100%;"
 
|+
 
! rowspan="2" style="width:8%; vertical-align: middle; text-align: left;" |Property ID in AVL packet
 
! rowspan="2" style="width:15%; vertical-align: middle; text-align: center;" |Property Name
 
! rowspan="2" style="width:5%; vertical-align: middle; text-align: center;" |Bytes
 
! rowspan="2" style="width:5%; vertical-align: middle; text-align: center;" |Type
 
! colspan="2" style="width:10%; vertical-align: middle; text-align: center;" |Value range
 
! rowspan="2" style="width:5%; vertical-align: middle; text-align: center;" |Multiplier
 
! rowspan="2" style="width:5%; vertical-align: middle; text-align: center;" |Units
 
! rowspan="2" style="width:32%; vertical-align: middle; text-align: center;" |Description
 
! rowspan="2" style="width:5%; vertical-align: middle; text-align: center;" |HW Support
 
! rowspan="2" style="width:10%; vertical-align: middle; text-align: center;" |Parameter Group
 
|-
 
! style="width:5%; vertical-align: middle; text-align: center;" |Min
 
! style="width:5%; vertical-align: middle; text-align: center;" |Max
 
|-
 
| style="vertical-align: middle; text-align: center;" |263
 
| style="vertical-align: middle; text-align: center;" |BT Status
 
| style="vertical-align: middle; text-align: center;" |1
 
| style="vertical-align: middle; text-align: center;" |Unsigned
 
| style="vertical-align: middle; text-align: center;" |0
 
| style="vertical-align: middle; text-align: center;" |4
 
| style="vertical-align: middle; text-align: center;" | -
 
| style="vertical-align: middle; text-align: center;" | -
 
| style="vertical-align: middle;" |0 - BT is disabled </br>1 - BT Enabled, not device connected </br>2 - Device connected, BTv3 Only </br>3 - Device connected, BLE only </br>4 - Device connected, BLE + BT
 
| style="vertical-align: middle; text-align: center;" |
 
<div class="mw-customtoggle-" style="margin:0 auto; vertical-align: middle; text-align: center; overflow:auto;">
 
FMBXXX
 
<span class="mw-collapsible mw-collapsed">{{Template:HW_list_with_BT_Status}}</span>
 
</div>
 
| style="vertical-align: middle; text-align: center;" |Permanent I/O elements
 
|-
 
| style="vertical-align: middle; text-align: center;" |264
 
| style="vertical-align: middle; text-align: center;" |Barcode ID
 
| style="vertical-align: middle; text-align: center;" |Variable
 
| style="vertical-align: middle; text-align: center;" |ASCII
 
| style="vertical-align: middle; text-align: center;" |0
 
| style="vertical-align: middle; text-align: center;" |32
 
| style="vertical-align: middle; text-align: center;" | -
 
| style="vertical-align: middle; text-align: center;" | -
 
| style="vertical-align: middle;" |Barcode ID
 
| style="vertical-align: middle; text-align: center;" |
 
<div class="mw-customtoggle-" style="margin:0 auto; vertical-align: middle; text-align: center; overflow:auto;">
 
FMBXXX
 
<span class="mw-collapsible mw-collapsed">{{Template:HW_list_with_Barcode_ID}}</span>
 
</div>
 
| style="vertical-align: middle; text-align: center;" |Permanent I/O elements
 
|-
 
|}
 
</br>
 
===Parsing AVL ID 264 data===
 
</br>
 
 
Example:
 
</br>
 
</br>
 
Hex Data from ID 264: '''31 32 33 30 31 36 30 30 30 30 37 30 39 39'''
 
</br>
 
</br>
 
Eliminate <span style="color:#FF0000">'''3'''</span> from the header would make the data look likes this
 
</br>
 
</br>
 
Barcode ID: <span style="color:#000080">'''12301600007099'''</span>
 
 
 
 
'''Actual Barcode Scanned'''</br></br>[[File:Barcode_Scanned.png|325px]]</br></br>
 
 
==Demonstration in Flespi Platform==
 
 
<br />Flespi: Open Flespi application → Select Telematics Hub→ Select Devices → Select the FM device → Select Barcode.id → to access all the information.
 
<br />
 
<br />
 
[[File:Flespi_Data2.png|center|500px]]
 
 
[[Category:Inateck BCST-70 Barcode Scanner]]
 

Revision as of 11:00, 27 April 2023

Main Page > Accessories > Inateck BCST-70 Barcode Scanner > Inateck BCST-70 Communication Protocol

2. Parsing example:

Unparsed received data in hexadecimal stream

00000000000000A28E0100000181A39E2F700000000000000000000000000000000001080007000200EF01010702000400B5000000B6000000423DD900430E010000000000010108000E 3132333031363030303037303939010000E25B

AVL Data Packet Part HEX Code Part
Zero Bytes 00 00 00 00
Data Field Length 00 00 00 A2
Codec ID 8E (Codec 8 Extended)
Number of Data 1 (Number of Total Records) 01
Timestamp 00 00 01 81 A3 9E 2F 70 (Monday, June 27, 2022 4:30:46 PM GMT+00:00)
Priority 00
Longitude 0F 0E 53 AE
Latitude 20 9A B8 6A
Altitude 00 7F
Angle 00 11
Satellites 0D
Speed 00 00
Event IO ID 01 08 (Barcode ID)
N of Total ID 00 07
N1 of One Byte IO 00 02
1’st IO ID 00 EF (AVL ID: 239, Name: Ignition)
1’st IO Value 01
2’nd IO ID 01 07 (AVL ID: 263, Name: BT Status)
2’nd IO Value 02
N2 of Two Byte IO 00 04
1’st IO ID 00 B5 (AVL ID: 181, Name: GNSS PDOP)
1’st IO Value 00 0A
2’nd IO ID 00 B6 (AVL ID: 182, Name: GNSS HDOP)
2’nd IO Value 00 06
3’rd IO ID 42 (AVL ID: 66, Name: External Voltage)
3’rd IO Value 3F C9
4'th IO ID 43 (AVL ID: 67, Battery Voltage)
4'th IO Value 0E 01
N4 of Four Byte IO 00 00
N8 of Eight Byte IO 00 00
NX of X Byte IO 00 01
1’st IO ID 0108 (AVL ID: 264, Name: Barcode ID)
1’st IO Value 31 32 33 30 31 36 30 30 30 30 37 30 39 39
Number of Data 2 (Number of Total Records) 01
CRC-16 00 00 E2 5B