Line 11: |
Line 11: |
| *'''''TZ-BT04/05/05B Update frequency''''' – changes sensor's temperature/humidity/battery voltage data update frequency. <br /> Minimum value: 120 s, maximum value: 65535 s, default value: 120. | | *'''''TZ-BT04/05/05B Update frequency''''' – changes sensor's temperature/humidity/battery voltage data update frequency. <br /> Minimum value: 120 s, maximum value: 65535 s, default value: 120. |
| *'''''Working mode''''' – Bluetooth connection mode. '''Disabled''': Bluetooth 4.0 connection will not be used. '''TZ-BT04/05/05B sensor''': this Bluetooth connection will be used to communicate with TZ-BT04/05/05B sensor. '''''Advanced''' -'' It allows to gather data from BLE device‘s broadcast packets regardless of what data packing protocol is used''.'' <br> <br> <br> <br> <br> <br> <br> <br> <br> <br> <br> <br> <br> <br> <br> <br> <br> <br> <br> <br>When Advanced mode is selected a table with configurable parameters will appear: | | *'''''Working mode''''' – Bluetooth connection mode. '''Disabled''': Bluetooth 4.0 connection will not be used. '''TZ-BT04/05/05B sensor''': this Bluetooth connection will be used to communicate with TZ-BT04/05/05B sensor. '''''Advanced''' -'' It allows to gather data from BLE device‘s broadcast packets regardless of what data packing protocol is used''.'' <br> <br> <br> <br> <br> <br> <br> <br> <br> <br> <br> <br> <br> <br> <br> <br> <br> <br> <br> <br>When Advanced mode is selected a table with configurable parameters will appear: |
| + | * |
| *[[File:BLE advanced window.png|none|thumb|795x795px]]<br /> | | *[[File:BLE advanced window.png|none|thumb|795x795px]]<br /> |
| *The table has 9 types of parameters: | | *The table has 9 types of parameters: |
− | *# Type – EIR data type. This parameter will indicate which type to look for and work with. Note: We have also added type with value 0xFE which will indicate to work with a whole data packet and not just a single data type. | + | *#Type – EIR data type. This parameter will indicate which type to look for and work with. Note: We have also added type with value 0xFE which will indicate to work with a whole data packet and not just a single data type. |
− | *# Data Offset – start index of data we are interested in. | + | *#Data Offset – start index of data we are interested in. |
− | *# Data Size – size of data we are interested in. | + | *#Data Size – size of data we are interested in. |
− | *# Action – two actions are possible: Match and Save. Match means that we want to perform a validation of certain data. Save means that we want to get certain data and later save it to an AVL record. | + | *#Action – two actions are possible: Match and Save. Match means that we want to perform a validation of certain data. Save means that we want to get certain data and later save it to an AVL record. |
− | *# IO – tells which IO elements data will be saved to. Possible choices for IO elements will be described later in the chapter. '''Used only with Save action.''' | + | *#IO – tells which IO elements data will be saved to. Possible choices for IO elements will be described later in the chapter. '''Used only with Save action.''' |
− | *# Match – hex string to be matched with BLE sensor data. '''Used only with Match action.''' | + | *#Match – hex string to be matched with BLE sensor data. '''Used only with Match action.''' |
− | *# Endianness – endianness of data: little endian (ex. 0x1122) or big endian (ex. 0x2211). '''Used only with Save action.''' | + | *#Endianness – endianness of data: little endian (ex. 0x1122) or big endian (ex. 0x2211). '''Used only with Save action.''' |
− | *# Multiplier – value to be used to multiply output data. '''Used only with Save action.''' | + | *#Multiplier – value to be used to multiply output data. '''Used only with Save action.''' |
− | *# Offset – value to be added to output data. '''Used only with Save action.''' <br /> | + | *#Offset – value to be added to output data. '''Used only with Save action.''' <br /> |
| | | |
− | == IO elements choices == | + | ==IO elements choices== |
| {| class="wikitable" | | {| class="wikitable" |
| |Name | | |Name |