Difference between revisions of "SAS XYZ Bluetooth 4.0 settings"
m (Sterbavicius.jo moved page SAS XYZ Bluetooth 4.0 settings to SAS XYZ Bluetooth® 4.0 settings: Text replacement - "Bluetooth" to "Bluetooth®") Tags: Mobile edit Mobile web edit |
m (Text replacement - "Bluetooth(?!®)" to "Bluetooth®") |
||
(One intermediate revision by one other user not shown) | |||
Line 1: | Line 1: | ||
__TOC__ | __TOC__ | ||
<br> | <br> | ||
− | {{{model|X}}} offers | + | {{{model|X}}} offers Bluetooth® 4.0 (Bluetooth® Low Energy, also referred as BLE) functionality. |
==Common settings== | ==Common settings== | ||
{| style="width: 100%" | {| style="width: 100%" | ||
− | |[[Image: | + | |[[Image:Bluetooth® 4.0 common settings.png|right]] |
* <b>Non Stop Scan</b> - Enabled Non Stop Scan feature, the device will try to scan for the sensors all the time if any of them are configured. | * <b>Non Stop Scan</b> - Enabled Non Stop Scan feature, the device will try to scan for the sensors all the time if any of them are configured. | ||
* <b>BLE Scan Start Period</b> - This parameter determines when the next BLE scan will start for Beacons and TZ sensors. | * <b>BLE Scan Start Period</b> - This parameter determines when the next BLE scan will start for Beacons and TZ sensors. | ||
Line 25: | Line 25: | ||
===Configuration modes=== | ===Configuration modes=== | ||
{| style="width: 100%" | {| style="width: 100%" | ||
− | [[Image: | + | [[Image:Bluetooth® 4.0 common settings non stop scan.png|right]] |
* If the Non Stop Scan is <b>Enabled</b>, the Non Stop sensor scans until any error will be hidden. Although BLE scan duration will still be active because it is important for btgetlist SMS command. | * If the Non Stop Scan is <b>Enabled</b>, the Non Stop sensor scans until any error will be hidden. Although BLE scan duration will still be active because it is important for btgetlist SMS command. | ||
|} | |} | ||
{| style="width: 100%" | {| style="width: 100%" | ||
− | |[[Image: | + | |[[Image:Bluetooth® 4.0 common settings.png|right]] |
* If Non Stop Scan <b>Disabled</b>, Scan period is selected manually.<br><br> | * If Non Stop Scan <b>Disabled</b>, Scan period is selected manually.<br><br> | ||
The Scan time period will be selected from two sources: | The Scan time period will be selected from two sources: | ||
Line 80: | Line 80: | ||
*<b>Offset</b> – value to be added to output data. Used only with Save action. | *<b>Offset</b> – value to be added to output data. Used only with Save action. | ||
− | How to correctly configure the <b> | + | How to correctly configure the <b>Bluetooth® LE solutions</b>, can be found here: |
*[[How to read data from TZ-BT04/05/05B sensor with TMT250 device | How to read data from TZ-BT04/05/05B sensor with Teltonika device]] | *[[How to read data from TZ-BT04/05/05B sensor with TMT250 device | How to read data from TZ-BT04/05/05B sensor with Teltonika device]] | ||
*[[How to read data from BLE Sensors]] | *[[How to read data from BLE Sensors]] |
Latest revision as of 15:29, 28 December 2023
Pages with broken file links > SAS XYZ Bluetooth 4.0 settings
X offers Bluetooth® 4.0 (Bluetooth® Low Energy, also referred as BLE) functionality.
Common settings
|
Configuration modes
- If the Non Stop Scan is Enabled, the Non Stop sensor scans until any error will be hidden. Although BLE scan duration will still be active because it is important for btgetlist SMS command.
The Scan time period will be selected from two sources:
For example, if Update frequency - 120 seconds and BLE Scan Duration - 60 Seconds, the device will start the first scan after 120 seconds and will scan nearby BLE devices for 60 seconds to update configured sensor data. The sensor data will be updated every 120 seconds. Update Frequency is counted even while a scan is performed. Update frequency period passes. 120 seconds -> 0 seconds, a 60 second scan is initiated. Update Frequency countdown is restarted (countdown from configured value to 0) while the scan (according to the BLE Scan duration parameter) is performed. |
BLE Serial Encryption
If BLE Encryption Key is set, then device will communicate over BLE SPP (Serial Port Profile) with AES cipher mechanism. All incoming and outgoing data will be crypted with AES128 algorithm with entered key. Connected to the other side device must have similar encryption method and algorithm BLE Encryption Key is a 16 byte hex coded string, like 00112233445566778899AABBCCDDEEFF
Keep BLE Encryption Key blank to non crypted communications.
This Simple BLE Terminal is for AES128 functionality testing as it has an Encryption Key option. Set correct key in app settings.
Detailed instructions on how to test AES128 BLE Encryption Functionality can be found in the following link.
BLE connectionless functionalities
Currently to the X device up to 4 sensors can be connected. |
When Advanced mode is selected a table with configurable parameters will appear.
- 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 Size – size of the 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.
- IO – tells which IO element's data will be saved to.
- 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.
- 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.
How to correctly configure the Bluetooth® LE solutions, can be found here: