Line 191: |
Line 191: |
| |} | | |} |
| <br> | | <br> |
− | <div style="display:inline-table">
| |
− | {| class="nd-othertables_2" style="width:125%;" ;
| |
− | |+'''Table 1. Flag Encoded Date'''
| |
− | |-
| |
− | !Data!! Size (Bytes)!!Description
| |
− | |-
| |
− | |Flags||1||Each set bit (0-7) means the presence of value (0-7). Bits:
| |
− | <br>0 – Temperature value presence
| |
− | <br>1 – Humidity value presence
| |
− | <br>2 – Magnetic sensor presence
| |
− | <br>3 – Magnetic sensor state (1 magnetic field is detected/0 magnetic field is not detected) Valid value is present only if bit 2 flag is set.
| |
− | <br>4 – Movement sensor counter
| |
− | <br>5 – Movement sensor angle
| |
− | <br>'''6 – Low Battery indication (if set to 1 low battery voltage detected)
| |
− | <br>'''7 – Battery voltage value presence'''
| |
− |
| |
− |
| |
− |
| |
− | '''Note:''' only bolded bits (6 and 7) can have value 1, on BTSID1
| |
− | |-
| |
− | |Value 7||1|| Battery Voltage
| |
− | <br>Battery voltage in mV = 2000 + VALUE * 10
| |
− | <br>NOTE: present only if bit 7 is set, otherwise is not being sent
| |
− | |}
| |
− | </div>
| |
− | <div style="display:inline-table"></div>
| |
| <br> | | <br> |
− | <br>
| |
− |
| |
| | | |
| ====iBeacon example with 2 beacons==== | | ====iBeacon example with 2 beacons==== |