Changes

5,657 bytes added ,  07:52, 9 June 2022
Line 1,133: Line 1,133:  
|}
 
|}
 
</div>
 
</div>
 +
 +
===<p style="font-size:24px><span style="color:#0054A6">GATT Characteristics</span>===
 +
 +
{| class="wikitable" style="width: 100%;"
 +
 +
|-
 +
 +
! style="color: #0054A6; background-color: white; border-bottom: 2px solid #0054A6; width: 20px;" | Name
 +
 +
! style="color: #0054A6; background-color: white; border-bottom: 2px solid #0054A6; width: 280px;" | Service UUID
 +
 +
! style="color: #0054A6; background-color: white; border-bottom: 2px solid #0054A6; width: 280px;" | Characteristic UUID
 +
 +
! style="color: #0054A6; background-color: white; border-bottom: 2px solid #0054A6;" | Data Type
 +
 +
! style="color: #0054A6; background-color: white; border-bottom: 2px solid #0054A6;" | Min
 +
 +
! style="color: #0054A6; background-color: white; border-bottom: 2px solid #0054A6;" | Max
 +
 +
! style="color: #0054A6; background-color: white; border-bottom: 2px solid #0054A6; width: 120px" | Default Value
 +
 +
! style="color: #0054A6; background-color: white; border-bottom: 2px solid #0054A6;" | Notes
 +
 +
|-
 +
 +
| Device Name || e61c0000-7df2-4d4e-8e6d-c611745b92e9 || e61c0016-7df2-4d4e-8e6d-c611745b92e9  || ASCII || 0 || 11 || Unique for each device || -
 +
 +
|-
 +
 +
| Tx Power Lever || 1804 || 2a07 || SINT8 || -14 || 8 || 2 || Possible values: -14, -11, -8, -5, -2, 2, 4, 8
 +
 +
|-
 +
 +
| Protocol Type|| e61c0000-7df2-4d4e-8e6d-c611745b92e9 || e61c0016-7df2-4d4e-8e6d-c611745b92e9  || UINT8 || 0 || 4 || 1 for EYE_Beacon, <br> 4 for EYE_Sensor || 0 - iBeacon <br> 1 - EddyStone <br> 2 - EYE Sensor <br> 3 - iBeacon + EYE Sensor <br> 4 - Eddsytone + EYE Sensor
 +
 +
|-
 +
 +
| Advertising Interval|| e61c0000-7df2-4d4e-8e6d-c611745b92e9 || e61c0016-7df2-4d4e-8e6d-c611745b92e9  || UINT16 || 20 || 10000 || 1000 || miliseconds
 +
 +
|-
 +
 +
| Sub Advertising Interval || e61c0000-7df2-4d4e-8e6d-c611745b92e9 || e61c0016-7df2-4d4e-8e6d-c611745b92e9  || UINT16 || 20 || 1000 || 100 || Used by repeats, miliseconds
 +
 +
|-
 +
 +
| Advertising Repeats || e61c0000-7df2-4d4e-8e6d-c611745b92e9 || e61c0016-7df2-4d4e-8e6d-c611745b92e9  || UINT16 || 1 || 10 || 1 || Repeats work only if Advertising Interval is more than 2000 ms and Repeats set to more than 1
 +
 +
|-
 +
 +
| iBeacon ID ||  e61c0000-7df2-4d4e-8e6d-c611745b92e9 || e61c0016-7df2-4d4e-8e6d-c611745b92e9  || BYTE ARRAY || 20 bytes || 20 bytes || Unique for each device || 16 B - UUID<br>2 B - major<br>2 B - minor
 +
 +
|-
 +
 +
| Eddystone ID || e61c0000-7df2-4d4e-8e6d-c611745b92e9 || e61c0016-7df2-4d4e-8e6d-c611745b92e9  || BYTE ARRAY || 16 bytes || 16 bytes || Unique for each device || 10 B - Namespace<br>6 B - Instance
 +
 +
|-
 +
 +
| Password || e61c0000-7df2-4d4e-8e6d-c611745b92e9 || e61c0016-7df2-4d4e-8e6d-c611745b92e9  || BYTE ARRAY || 4 bytes ||4 bytes || 123456 || Always 6 Digits
 +
 +
|-
 +
 +
| Sensor Interval || e61c0000-7df2-4d4e-8e6d-c611745b92e9 || e61c0016-7df2-4d4e-8e6d-c611745b92e9  || UINT16 || 0 || 10000 || 1000 || miliseconds
 +
 +
|-
 +
 +
| Event Interval || e61c0000-7df2-4d4e-8e6d-c611745b92e9 || e61c0016-7df2-4d4e-8e6d-c611745b92e9 || UINT16 || 0 || 10000 || 1000 || miliseconds
 +
 +
|-
 +
 +
| Event Duration || e61c0000-7df2-4d4e-8e6d-c611745b92e9 || e61c0016-7df2-4d4e-8e6d-c611745b92e9  || UINT8 || 0 || 30 || 30 || seconds
 +
 +
|-
 +
 +
| Temperature Event || e61c0000-7df2-4d4e-8e6d-c611745b92e9 || e61c0016-7df2-4d4e-8e6d-c611745b92e9  || UINT8 || 0 || 2 || 2 || 0 - on entrance<br>1 - on exit<br>2 - no event
 +
 +
|-
 +
 +
| Temperature Low || e61c0000-7df2-4d4e-8e6d-c611745b92e9 || e61c0016-7df2-4d4e-8e6d-c611745b92e9  || INT8 || -40 || 85 || -20 || celsius
 +
 +
|-
 +
 +
| Temperature High || e61c0000-7df2-4d4e-8e6d-c611745b92e9 || e61c0016-7df2-4d4e-8e6d-c611745b92e9  || INT8 || -40 || 85 || 50 || celsius
 +
 +
|-
 +
 +
| Humidity Event || e61c0000-7df2-4d4e-8e6d-c611745b92e9 || e61c0016-7df2-4d4e-8e6d-c611745b92e9  || UINT8 || 0 || 2 || 2 || 0 - on entrance<br>1 - on exit<br>2 - no event
 +
 +
|-
 +
 +
| Humidity Low || e61c0000-7df2-4d4e-8e6d-c611745b92e9 || e61c0016-7df2-4d4e-8e6d-c611745b92e9  || UINT8 || 0 || 100 || 15 || %
 +
 +
|-
 +
 +
| Humidity High || e61c0000-7df2-4d4e-8e6d-c611745b92e9 || e61c0016-7df2-4d4e-8e6d-c611745b92e9  || UINT8 || 0 || 100 || 50 || %
 +
 +
|-
 +
 +
| Movement Event || e61c0000-7df2-4d4e-8e6d-c611745b92e9 || e61c0016-7df2-4d4e-8e6d-c611745b92e9 || UINT8 || 0 || 2 || 2 || 0 - on entrance<br>1 - on exit<br>2 - no event
 +
 +
|-
 +
 +
| Movement Start || e61c0000-7df2-4d4e-8e6d-c611745b92e9 || e61c0016-7df2-4d4e-8e6d-c611745b92e9  || UINT16 || 0 || 300 || 5 || seconds
 +
 +
|-
 +
 +
| Movement Stop || e61c0000-7df2-4d4e-8e6d-c611745b92e9 || e61c0016-7df2-4d4e-8e6d-c611745b92e9  || UINT16 || 0 || 300 || 5 || seconds
 +
 +
|-
 +
 +
| Magnetic Event || e61c0000-7df2-4d4e-8e6d-c611745b92e9 || e61c0016-7df2-4d4e-8e6d-c611745b92e9  || UINT8 || 0 || 2 || 2 || 0 - on entrance <br> 1 - on exit <br> 2 - no event
 +
 +
|-
 +
 +
| Manufacturer || 180A  || 2A29  || BYTE ARRAY || - || - || Not Configurable || Read Only. Ex. "Teltonika"
 +
 +
|-
 +
 +
| Model || 180A  || 2A24  || BYTE ARRAY || - || - || Not Configurable || Read Only. Ex. "BTSID1"
 +
 +
|-
 +
 +
| Serial || 180A  || 2A25  || BYTE ARRAY || - || - || Not Configurable || Not used
 +
 +
|-
 +
 +
| Hardware || 180A  || 2A27  || BYTE ARRAY || - || - || Not Configurable || Read Only. Ex. "Table:1 Volt:325
 +
 +
|-
 +
 +
| Firmware || 180A  || 2A26  || BYTE ARRAY || - || - || Not Configurable || Read Only. Ex. "1.1.0-beta"
 +
 +
|-
 +
 +
| System ID || 180A  || 2A23  || BYTE ARRAY || - || - || Not Configurable || Not used
 +
 +
|-
 +
 +
| MAC || 180A || Example  || BYTE ARRAY || 6 || 6 || Not Configurable || Read Only. ex. 112233445566 -> 11:22:33:44:55:66
 +
 +
|-
 +
 +
| Scan Response Data || e61c0000-7df3-4d4e-8e6d-c611745b92e9 || e61c0001-7df3-4d4e-8e6d-c611745b92e9  || BYTE ARRAY || 17 || 17 || Not Configurable || Scan Response Data, see picture for detail view of data structure
 +
 +
|}
 +
 +
[[File:Lentele0603.png|800px|frameless|center]]
 +
    
===<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>===