Line 409: |
Line 409: |
| ===GATT Characteristics=== | | ===GATT Characteristics=== |
| {| class="wikitable" style="width: 100%; background-color: white; border-bottom: 2px solid #0054A6;" | | {| class="wikitable" style="width: 100%; background-color: white; border-bottom: 2px solid #0054A6;" |
| + | |
| |- | | |- |
− | ! 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: 20px;" | Name |
− | ! 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; width: 280px;" | Service UUID |
− | ! 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: 280px;" | Characteristic UUID |
− | ! 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 | + | ! 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||- | + | |
| + | | Device Name || e61c0000-7df2-4d4e-8e6d-c611745b92e9 || e61c0016-7df2-4d4e-8e6d-c611745b92e9 || ASCII || 0 || 12 || Unique for each device || - |
| + | |
| |- | | |- |
− | |Tx Power Lever||1804||00002a07-0000-1000-8000-00805f9b34fb||SINT8||-14||8||2||Possible values: -14, -11, -8, -5, -2, 2, 4, 8 | + | |
| + | | 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||e61c0001-7df2-4d4e-8e6d-c611745b92e9||UINT8||0||4||1 for EYE_Beacon, | + | |
− | 4 for EYE_Sensor | + | | Protocol Type|| e61c0000-7df2-4d4e-8e6d-c611745b92e9 || e61c0001-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 - Eddystone + EYE Sensor |
− | |0 - iBeacon | + | |
− | 1 - EddyStone | |
− | 2 - EYE Sensor | |
− | 3 - iBeacon + EYE Sensor | |
− | 4 - Eddsytone + EYE Sensor | |
| |- | | |- |
− | |Advertising Interval||e61c0000-7df2-4d4e-8e6d-c611745b92e9||e61c0002-7df2-4d4e-8e6d-c611745b92e9||UINT16||20||10000||1000||miliseconds | + | |
| + | | Advertising Interval|| e61c0000-7df2-4d4e-8e6d-c611745b92e9 || e61c0002-7df2-4d4e-8e6d-c611745b92e9 || UINT16 || 1000 || 10000 || 5000 || miliseconds |
| + | |
| |- | | |- |
− | |Sub Advertising Interval||e61c0000-7df2-4d4e-8e6d-c611745b92e9||e61c0003-7df2-4d4e-8e6d-c611745b92e9||UINT16||20||1000||100||Used by repeats, miliseconds | + | |
| + | | Sub Advertising Interval || e61c0000-7df2-4d4e-8e6d-c611745b92e9 || e61c0003-7df2-4d4e-8e6d-c611745b92e9 || UINT16 || 20 || 1000 || 100 || Used by repeats, miliseconds |
| + | |
| |- | | |- |
− | |Advertising Repeats||e61c0000-7df2-4d4e-8e6d-c611745b92e9||e61c0004-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 | + | |
| + | | Advertising Repeats || e61c0000-7df2-4d4e-8e6d-c611745b92e9 || e61c0004-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||e61c0005-7df2-4d4e-8e6d-c611745b92e9||BYTE ARRAY||20 bytes||20 bytes||Unique for each device||16 B - UUID | + | |
− | 2 B - major | + | | iBeacon ID || e61c0000-7df2-4d4e-8e6d-c611745b92e9 || e61c0005-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 |
− | 2 B - minor | + | |
| |- | | |- |
− | |Eddystone ID||e61c0000-7df2-4d4e-8e6d-c611745b92e9||e61c0006-7df2-4d4e-8e6d-c611745b92e9||BYTE ARRAY||16 bytes||16 bytes||Unique for each device||10 B - Namespace | + | |
− | 6 B - Instance | + | | Eddystone ID || e61c0000-7df2-4d4e-8e6d-c611745b92e9 || e61c0006-7df2-4d4e-8e6d-c611745b92e9 || BYTE ARRAY || 16 bytes || 16 bytes || Unique for each device || 10 B - Namespace<br>6 B - Instance |
| |- | | |- |
| |Command | | |Command |
| |e61c0000-7df2-4d4e-8e6d-c611745b92e9 | | |e61c0000-7df2-4d4e-8e6d-c611745b92e9 |
| |e61c0007-7df2-4d4e-8e6d-c611745b92e9 | | |e61c0007-7df2-4d4e-8e6d-c611745b92e9 |
− | | colspan="5" |[[EYE BEACON / BTSID1#Command characteristic|Command characteristic]] | + | | colspan="5" |[[EYE SENSOR / BTSMP1#Command characteristic|Command characteristic]] |
| |- | | |- |
− | |Password||e61c0000-7df2-4d4e-8e6d-c611745b92e9||e61c0008-7df2-4d4e-8e6d-c611745b92e9||BYTE ARRAY|| 4 bytes|| 4 bytes||123456||Always 6 Digits | + | |
| + | |Password||e61c0000-7df2-4d4e-8e6d-c611745b92e9|| e61c0008-7df2-4d4e-8e6d-c611745b92e9 ||BYTE ARRAY|| 6 bytes||6 bytes||123456||Always 6 Digits |
| + | |
| |- | | |- |
− | |Sensor Interval | + | |
− | |e61c0000-7df2-4d4e-8e6d-c611745b92e9 | + | |Sensor Interval||e61c0000-7df2-4d4e-8e6d-c611745b92e9|| e61c0009-7df2-4d4e-8e6d-c611745b92e9||UINT16||0||10000||1000||miliseconds |
− | |e61c0009-7df2-4d4e-8e6d-c611745b92e9 | + | |
− | |UINT16 | |
− | |0 | |
− | |10000 | |
− | |1000 | |
− | |miliseconds | |
| |- | | |- |
− | |Event Interval | + | |
− | |e61c0000-7df2-4d4e-8e6d-c611745b92e9 | + | |Event Interval||e61c0000-7df2-4d4e-8e6d-c611745b92e9|| e61c000a-7df2-4d4e-8e6d-c611745b92e9||UINT16||0||10000||1000 || miliseconds |
− | |e61c000a-7df2-4d4e-8e6d-c611745b92e9 | + | |
− | |UINT16 | |
− | |0 | |
− | |10000 | |
− | |1000 | |
− | |miliseconds | |
| |- | | |- |
− | |Event Duration | + | |
− | |e61c0000-7df2-4d4e-8e6d-c611745b92e9 | + | |Event Duration||e61c0000-7df2-4d4e-8e6d-c611745b92e9||e61c000b-7df2-4d4e-8e6d-c611745b92e9||UINT8||0||30 ||30||seconds |
− | |e61c000b-7df2-4d4e-8e6d-c611745b92e9 | + | |
− | |UINT8 | |
− | |0 | |
− | |30 | |
− | |30 | |
− | |seconds | |
| |- | | |- |
− | |Temperature Event
| |
− | |e61c0000-7df2-4d4e-8e6d-c611745b92e9
| |
− | |e61c000c-7df2-4d4e-8e6d-c611745b92e9
| |
− | |UINT8
| |
− | |0
| |
− | |2
| |
− | |2
| |
− | | 0 - on entrance
| |
− | 1 - on exit
| |
| | | |
− | 2 - no event | + | | Temperature Event||e61c0000-7df2-4d4e-8e6d-c611745b92e9||e61c000c-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 | + | |Temperature Low||e61c0000-7df2-4d4e-8e6d-c611745b92e9 ||e61c000d-7df2-4d4e-8e6d-c611745b92e9||INT8||-40|| 85||-20||celsius |
− | |e61c000d-7df2-4d4e-8e6d-c611745b92e9 | + | |
− | |INT8 | |
− | | -40 | |
− | |85 | |
− | | -20 | |
− | |celsius | |
| |- | | |- |
− | |Temperature High | + | |
− | |e61c0000-7df2-4d4e-8e6d-c611745b92e9 | + | |Temperature High|| e61c0000-7df2-4d4e-8e6d-c611745b92e9||e61c000e-7df2-4d4e-8e6d-c611745b92e9||INT8||-40||85 ||50||celsius |
− | |e61c000e-7df2-4d4e-8e6d-c611745b92e9 | + | |
− | |INT8 | |
− | | -40 | |
− | |85 | |
− | |50 | |
− | |celsius | |
| |- | | |- |
− | |Humidity Event
| |
− | |e61c0000-7df2-4d4e-8e6d-c611745b92e9
| |
− | |e61c000f-7df2-4d4e-8e6d-c611745b92e9
| |
− | |UINT8
| |
− | |0
| |
− | |2
| |
− | |2
| |
− | | 0 - on entrance
| |
− | 1 - on exit
| |
| | | |
− | 2 - no event | + | | Humidity Event||e61c0000-7df2-4d4e-8e6d-c611745b92e9||e61c000f-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 | + | |Humidity Low||e61c0000-7df2-4d4e-8e6d-c611745b92e9||e61c0010-7df2-4d4e-8e6d-c611745b92e9 || UINT8||0||100||15||% |
− | |e61c0010-7df2-4d4e-8e6d-c611745b92e9 | + | |
− | |UINT8 | |
− | |0 | |
− | |100 | |
− | |15 | |
− | |% | |
| |- | | |- |
− | |Humidity High | + | |
− | |e61c0000-7df2-4d4e-8e6d-c611745b92e9 | + | |Humidity High ||e61c0000-7df2-4d4e-8e6d-c611745b92e9||e61c0011-7df2-4d4e-8e6d-c611745b92e9||UINT8||0||100||50||% |
− | |e61c0011-7df2-4d4e-8e6d-c611745b92e9 | + | |
− | |UINT8 | |
− | |0 | |
− | |100 | |
− | |50 | |
− | |% | |
| |- | | |- |
− | |Movement Event
| |
− | |e61c0000-7df2-4d4e-8e6d-c611745b92e9
| |
− | |e61c0012-7df2-4d4e-8e6d-c611745b92e9
| |
− | |UINT8
| |
− | |0
| |
− | |2
| |
− | |2
| |
− | | 0 - on entrance
| |
− | 1 - on exit
| |
| | | |
− | 2 - no event | + | |Movement Event||e61c0000-7df2-4d4e-8e6d-c611745b92e9 || e61c0012-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 | + | |Movement Start ||e61c0000-7df2-4d4e-8e6d-c611745b92e9||e61c0013-7df2-4d4e-8e6d-c611745b92e9|| UINT16||0||300||5||seconds |
− | |e61c0013-7df2-4d4e-8e6d-c611745b92e9 | + | |
− | |UINT16 | |
− | |0 | |
− | |300 | |
− | |5 | |
− | |seconds | |
| |- | | |- |
− | |Movement Stop | + | |
− | |e61c0000-7df2-4d4e-8e6d-c611745b92e9 | + | |Movement Stop||e61c0000-7df2-4d4e-8e6d-c611745b92e9||e61c0014-7df2-4d4e-8e6d-c611745b92e9|| UINT16||0||300||5 ||seconds |
− | |e61c0014-7df2-4d4e-8e6d-c611745b92e9 | + | |
− | |UINT16 | |
− | |0 | |
− | |300 | |
− | |5 | |
− | |seconds | |
| |- | | |- |
− | |Magnetic Event
| |
− | |e61c0000-7df2-4d4e-8e6d-c611745b92e9
| |
− | |e61c0015-7df2-4d4e-8e6d-c611745b92e9
| |
− | |UINT8
| |
− | |0
| |
− | |2
| |
− | |2
| |
− | | 0 - on entrance
| |
− | 1 - on exit
| |
| | | |
− | 2 - no event | + | |Magnetic Event||e61c0000-7df2-4d4e-8e6d-c611745b92e9||e61c0015-7df2-4d4e-8e6d-c611745b92e9||UINT8||0||2|| 2||0 - on entrance <br> 1 - on exit <br> 2 - no event |
| |- | | |- |
− | |Password Counter | + | | Password Counter |
| |e61c0000-7df2-4d4e-8e6d-c611745b92e9 | | |e61c0000-7df2-4d4e-8e6d-c611745b92e9 |
− | |e61c0019-7df2-4d4e-8e6d-c611745b92e9 | + | | e61c0019-7df2-4d4e-8e6d-c611745b92e9 |
| |UINT8 | | |UINT8 |
− | | 0 (counter) | + | |0 (counter) |
| |10 (counter) | | |10 (counter) |
− | |0 | + | | 0 |
| |Byte 0 – counter, | | |Byte 0 – counter, |
| + | |
| Byte 1 and 2 - timeout | | Byte 1 and 2 - timeout |
| |- | | |- |
Line 593: |
Line 534: |
| |e61c0000-7df2-4d4e-8e6d-c611745b92e9 | | |e61c0000-7df2-4d4e-8e6d-c611745b92e9 |
| |e61c0020-7df2-4d4e-8e6d-c611745b92e9 | | |e61c0020-7df2-4d4e-8e6d-c611745b92e9 |
− | |UINT8 | + | | UINT8 |
− | | 8 bytes | + | |8 bytes |
− | | 8 bytes | + | |8 bytes |
| |MAC address dependency | | |MAC address dependency |
| |Byte array | | |Byte array |
Line 606: |
Line 547: |
| |1 | | |1 |
| |1 | | |1 |
− | | 0 – sleep disabled, | + | |0 – sleep disabled, |
| + | |
| 1 – sleep enabled | | 1 – sleep enabled |
| |- | | |- |
Line 615: |
Line 557: |
| |0 | | |0 |
| |15 | | |15 |
| + | |
| (0b1111) | | (0b1111) |
| |15 | | |15 |
| + | |
| (0b1111) | | (0b1111) |
| |(LSb) bit 0 – Temperature | | |(LSb) bit 0 – Temperature |
| + | |
| Bit 1 – Humidity | | Bit 1 – Humidity |
| | | |
Line 632: |
Line 577: |
| |300 | | |300 |
| |30 | | |30 |
− | |WakeUp Advertising | + | |WakeUp Advertising |
| + | |
| Spam Duration in seconds | | Spam Duration in seconds |
| |- | | |- |
Line 639: |
Line 585: |
| |e61c0023-7df2-4d4e-8e6d-c611745b92e9 | | |e61c0023-7df2-4d4e-8e6d-c611745b92e9 |
| |INT8 | | |INT8 |
− | | -100 | + | |<nowiki>-100</nowiki> |
| |127 | | |127 |
− | |127 | + | | 127 |
− | |RSSI value in dBm | + | |RSSI value in dBm |
| + | |
| 127 – Use default calib. table | | 127 – Use default calib. table |
| |- | | |- |
− | |Manufacturer||180A||2A29||BYTE ARRAY||-||-||Not Configurable||Read Only. Ex. "Teltonika" | + | |
| + | |Manufacturer||180A||2A29||BYTE ARRAY||-||-||Not Configurable ||Read Only. Ex. "Teltonika" |
| + | |
| |- | | |- |
− | |Model||180A||2A24||BYTE ARRAY||-||-||Not Configurable||Read Only. Ex. "BTSID1" | + | |
| + | | Model|| 180A||2A24|| BYTE ARRAY|| -||-|| Not Configurable||Read Only. Ex. "BTSID1" |
| + | |
| |- | | |- |
− | |Serial||180A||2A25||BYTE ARRAY||-||-||Not Configurable||Not used | + | |
| + | |Serial||180A||2A25 ||BYTE ARRAY||-||-||Not Configurable ||Not used |
| + | |
| |- | | |- |
− | |Hardware||180A||2A27||BYTE ARRAY||-||-||Not Configurable||Read Only. Ex. "Table:1 Volt:325 | + | |
| + | | 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" | + | |
| + | |Firmware|| 180A ||2A26||BYTE ARRAY||-||-||Not Configurable||Read Only. Ex. "1.1.0-beta" |
| + | |
| |- | | |- |
− | |System ID||180A||2A23||BYTE ARRAY||-||-||Not Configurable||Not used | + | |
| + | | System ID ||180A||2A23||BYTE ARRAY||-||-|| Not Configurable||Not used |
| + | |
| |- | | |- |
− | |MAC||180A||652143dc-dec6-4fb1-bd46-3e919d2410a6||BYTE ARRAY||6||6||Not Configurable||Read Only. ex. 112233445566 -> 11:22:33:44:55:66 | + | |
| + | |MAC||180A||652143dc-dec6-4fb1-bd46-3e919d2410a6 || 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:GATT_Beacon.png|800px|frameless|center]] | + | |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]] |
| | | |
| ===Command characteristic=== | | ===Command characteristic=== |