Line 1: |
Line 1: |
| | | |
− | ==='''2. Parsing example:'''=== | + | ==Actual Raw Data== |
| + | |
| {| 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 119: |
Line 120: |
| | 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 |
| + | |- |
| + | |} |
| + | |
| + | ===Parsing AVL ID 264 data=== |
| + | |
| + | Example: </br> |
| + | |
| + | Hex Data received from ID 264: 31 32 33 30 31 36 30 30 30 30 37 30 39 39 |
| + | |
| + | ::Eliminating 3 from the header would make the data look likes this: |
| + | |
| + | ::Actual Data: 12301600007099 |