Changes

826 bytes added ,  10:39, 4 February 2022
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).
+
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.
 
<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
 
<br>
 
<br>
 
<div style="display:inline-table">
 
<div style="display:inline-table">
{| class="nd-othertables_2" style="width:100%;" ;
+
{| class="nd-othertables_2" style="width:125%;" ;
 
|+'''Table 1. Flag Encoded Date'''
 
|+'''Table 1. Flag Encoded Date'''
 
|-
 
|-
Line 1,111: Line 1,111:  
<br>7 – Battery voltage value presence
 
<br>7 – Battery voltage value presence
 
|-
 
|-
|Value 7||1|| Battery Voltage
+
|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
 
<br>Battery voltage in mV = 2000 + VALUE * 10
 
<br>Battery voltage in mV = 2000 + VALUE * 10
 
<br>NOTE: present only if bit 7 is set, otherwise is not being sent
 
<br>NOTE: present only if bit 7 is set, otherwise is not being sent
 
|}
 
|}
</div>  
+
</div>
<div style="display:inline-table"></div>
+
 
<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>===