Line 1,091: |
Line 1,091: |
| BTSMP1 uses Advertising Indication to send beacon data which can be configured to select between iBeacon and Eddystone protocols or to be disabled at all. In that case, data which is shown as Scan Response in protocol overview will be sent as Advertising Indication without Scan Response following it. | | BTSMP1 uses Advertising Indication to send beacon data which can be configured to select between iBeacon and Eddystone protocols or to be disabled at all. In that case, data which is shown as Scan Response in protocol overview will be sent as Advertising Indication without Scan Response following it. |
| <br><br> | | <br><br> |
− | Scan Response is used to send device name and manufacturer specific data. Manufacturer specific data includes Teltonika Company ID (0x089A) and protocol version (0x01). It is followed by Flag Encoded Data (Table 1) and Extended Data (Table 2). Later on, protocol will be highly configurable in and will allow to disable/enable sending of device name or any sensor value allowing to reduce size of the packet being sent. | + | Scan Response is used to send device name and manufacturer specific data. Manufacturer specific data includes Teltonika Company ID (0x089A) and protocol version (0x01). It is followed by Flag Encoded Data (Table 1). |
| <br><br> | | <br><br> |
| Device Name has the following default value for Beacon – ID1_XXXXXXX | | Device Name has the following default value for Beacon – ID1_XXXXXXX |
Line 1,110: |
Line 1,110: |
| <br>6 – Low Battery indication (if set to 1 low battery voltage detected) | | <br>6 – Low Battery indication (if set to 1 low battery voltage detected) |
| <br>7 – Battery voltage value presence | | <br>7 – Battery voltage value presence |
− | |-
| |
− | |Value 0||2||Temperature
| |
− | <br>Value in Celsius * 100
| |
− | <br>NOTE: present only if bit 0 is set, otherwise is not being sent
| |
− | |-
| |
− | |Value 1 ||1||Humidity
| |
− | <br>Value in percent
| |
− | <br>NOTE: present only if bit 1 is set, otherwise is not being sent
| |
− | |-
| |
− | |Value 2||2||Movement Sensor counter
| |
− | <br>Most significant bit indicates movement state and 15 least significant bits represent count of movement events.
| |
− | <br>NOTE: present only if bit 4 is set, otherwise is not being sent
| |
− | |-
| |
− | |Value 3 ||3||Movement sensor angle
| |
− | <br>Most significant byte – pitch (-90/+90)
| |
− | <br>Two least significant bytes – roll (-180/+180)
| |
− | <br>NOTE: present only if bit 5 is set, otherwise is not being sent
| |
| |- | | |- |
| |Value 4||1|| Battery Voltage | | |Value 4||1|| Battery Voltage |
Line 1,133: |
Line 1,116: |
| |} | | |} |
| </div> | | </div> |
− | <div style="display:inline-table"> | + | <div style="display:inline-table"></div> |
− | {| class="nd-othertables_2" style="text-align: center;"
| |
− | |+'''Table 2. Extended Data'''
| |
− | |-
| |
− | !Type!!Description
| |
− | |-
| |
− | | colspan="2" |'''1 byte types'''
| |
− | |-
| |
− | |0||For future use
| |
− | |-
| |
− | |...||For future use
| |
− | |-
| |
− | |49||For future use
| |
− | |-
| |
− | | colspan="2" |'''2 bytes types'''
| |
− | |-
| |
− | |50||For future use
| |
− | |-
| |
− | |...||For future use
| |
− | |-
| |
− | |99 ||For future use
| |
− | |-
| |
− | | colspan="2" |'''4 bytes types'''
| |
− | |-
| |
− | |100||For future use
| |
− | |-
| |
− | |...||For future use
| |
− | |-
| |
− | |149||For future use
| |
− | |-
| |
− | | colspan="2" |'''8 bytes types'''
| |
− | |-
| |
− | |150||For future use
| |
− | |-
| |
− | |...||For future use
| |
− | |-
| |
− | | 199|| For future use
| |
− | |-
| |
− | | colspan="2" |'''Variable size types'''
| |
− | |-
| |
− | |200||For future use
| |
− | |-
| |
− | |...||For future use
| |
− | |-
| |
− | |255 ||For future use
| |
− | |-
| |
− | |}
| |
− | </div> | |
| <br> | | <br> |
| ===<p style="font-size:24px><span style="color:#0054A6">EYE Sensor Bluetooth frame parsing example</span>=== | | ===<p style="font-size:24px><span style="color:#0054A6">EYE Sensor Bluetooth frame parsing example</span>=== |