Changes

2,948 bytes added ,  10:33, 21 December 2021
Added advanced mode description
Line 1: Line 1: −
__TOC__
  −
   
==Beacon List Settings before FW ver. 3.27.07.Rev.00==  
 
==Beacon List Settings before FW ver. 3.27.07.Rev.00==  
 
This page is dedicated for explanation of Bluetooth settings and also Beacon parameters in [[Teltonika_Configurator_versions#For_FMB_series|'''FMB device configurator''']]. A more extensive guide can be found [[How to start with FMB devices and Beacons?|'''How to start with FMB devices and Beacons?''']].<br>
 
This page is dedicated for explanation of Bluetooth settings and also Beacon parameters in [[Teltonika_Configurator_versions#For_FMB_series|'''FMB device configurator''']]. A more extensive guide can be found [[How to start with FMB devices and Beacons?|'''How to start with FMB devices and Beacons?''']].<br>
Line 40: Line 38:  
There is also possible to select Beacons Detection as the Configured, in this case, the beacons will only be detected and send if they were added to the Beacons List.
 
There is also possible to select Beacons Detection as the Configured, in this case, the beacons will only be detected and send if they were added to the Beacons List.
   −
==Beacon List Settings after FW ver. 3.27.07.Rev.00==  
+
==Beacon List Settings after FW ver. 3.27.07.Rev.00==
This page is dedicated for explanation of Bluetooth settings and also Beacon parameters in [[Teltonika_Configurator_versions#For_FMB_series|'''FMB device configurator''']]. A more extensive guide can be found [[How to start with FMB devices and Beacons?|'''How to start with FMB devices and Beacons?''']].<br>
+
This page is dedicated for explanation of Bluetooth settings and also Beacon parameters in [[Teltonika_Configurator_versions#For_FMB_series|'''FMB device configurator''']]. A more extensive guide can be found [[How to start with FMB devices and Beacons?|'''How to start with FMB devices and Beacons?''']].
 
===Beacon Settings===
 
===Beacon Settings===
 +
[[File:NewBeaconSettings.png]]
    +
'''Beacon Detection'''
 +
* '''''Disabled''''' – Beacon detection is disabled.
 +
* '''''All''''' – All visible beacons are detected (Max. 100).
 +
* '''''Configured''''' – device will only capture beacons by given data in Beacon list.
   −
'''Beacon Detection'''<br>
+
'''Beacon Mode'''
* '''''Disabled''''' – Functionality disabled.<br>
+
* '''''Simple''''' – When simple mode is selected beacon parsing is done automatically (Eddystone and iBeacon protocols are supported) ('''AVL ID 385''').
* '''''All''''' – All visible beacons are detected (Max. 100).<br>
+
* '''''Advanced''''' – When advanced beacon mode is selected, beacon data capturing can be configured manually ('''AVL ID 548''').
* '''''Configured''''' – Only beacons from the list are sent to server<br>
     −
'''Beacon Mode'''<br>
+
'''Beacon Record'''
* '''''Simple''''' – When simple mode is selected beacon parsing is done automatically (Eddystone and iBeacon protocols are supported) ('''AVL ID 385''').<br>
+
* '''''On Change''''' – device will not create Beacon record after every scan procedure is completed unless scanned Beacon list will change.
* '''''Advanced''''' – When advanced beacon mode is selected, beacon data capturing can be configured manually ('''AVL ID 548''').<br>
+
* '''''Periodic''''' – All beacons are sent to the server. (Record will be saved according to configured period).
 
  −
'''Beacon Record'''<br>
  −
* '''''On Change''''' – On change mode - device will not create Beacon record after every scan procedure is completed unless scanned Beacon list will change.<br>
  −
* '''''Periodic''''' – All beacons are sent to the server. (Record will be saved according to configured period).<br>
      
'''Beacon Record Priority''' - Beacon record saving period:
 
'''Beacon Record Priority''' - Beacon record saving period:
*'''''None''''' - No records will be generated <br>
+
*'''''None''''' - No records will be generated  
*'''''Low''''' - Beacon record will be generated and sent once link with the server is established<br>
+
*'''''Low''''' - Beacon record will be generated and sent once link with the server is established
*'''''High''''' - Beacon record will be generated and sent immediately<br>
+
*'''''High''''' - Beacon record will be generated and sent immediately
   −
[[File:NewBeaconSettings.png]]
+
=== Advanced Beacon Capturing Configuration ===
 +
Prior to capturing specific Beacon data it is mandatory to have Beacons communication protocol - advertising packet structure. Without knowing packet structure - it is impossible to configure device properly to capture important data.  
   −
While selecting the '''Beacons Detection''' as '''All''', the device will detect all beacons which are located around the device.
+
Functionality allows to capture advertising packet of any kind of Beacon which broadcasts its information automatically. Beacon Capturing Configuration list also can be called as the set of rules to capture and transfer Beacon data. Advanced mode main purpose is to capture additional or only specific data (''by Manufacturers ID'') according to configured Offsets and Data sizes.
Select '''Beacons Detection''' as the '''Configured''', in this case, the beacons will only be detected and send if they were added to the Beacons List.
     −
===Advanced Beacon Mode (Universal Beacons)===
+
==== Configurable parameters in Beacons Capturing Configuration table (Advanced Mode) ====
 
[[File:BeaconMode.gif|right]]
 
[[File:BeaconMode.gif|right]]
 
In advanced mode device can detect any Beacon type, the device can be configured to capture data from Universal beacons as seen in the configured in table (The fields in the Beacons Capturing Configuration will be empty), for example this configuration is set to detect iBeacon and EddyStone Beacons, also with additional data(in this case whole packet).
 
In advanced mode device can detect any Beacon type, the device can be configured to capture data from Universal beacons as seen in the configured in table (The fields in the Beacons Capturing Configuration will be empty), for example this configuration is set to detect iBeacon and EddyStone Beacons, also with additional data(in this case whole packet).
<br>
+
[[File:Beaconsss.png|thumb|1154x1154px]]
<br>
+
* '''Name''' - particular parameter does not affect Beacon capturing at all. You can name particular beacon capturing line as you wish. Note that if "dot" symbol is placed prior to the name - whole line in the table is disabled and beacons will not be captured;
[[Image:Universal Beacons.png]]
+
* '''Manufacturer ID''' - most crucial and important part of the configuration. Device will look for provided ID and capture beacons if ID matches. Manufacturer ID consists of 4 Bytes (8bits) and it is required to write in the table full ID of 4 Bytes. Of course, in some cases Manufacturer ID of some Beacons may be shorter - in such case shorter ID can be configured but do not forget to add zeroes after the ID inside configuration – otherwise configuration will not be valid. Actually any numbers could be written because ID size in found Beacon advertising packet can be configured with further parameters;
 +
* '''Manufacturer ID Offset''' - when device finds advertising packet from a beacon, device will check for the Manufacturer ID in specific part of the packet. Particular parameter commands device from which byte in the advertised packet to look for the ID;
 +
* '''Manufacturer ID Size''' - maximum size is 4 Bytes (''same as maximum configurable parameter in Manufacturer ID''). This parameter indicates how many bytes in found advertising packet after offsetting to check. These bytes must match ID configured in Manufacturer ID section. If bytes match - Beacon advertisement packet is captured, if bytes do not match - packet is neglected;
 +
* '''Beacon ID Offset''' - parameter works the same way as Manufacturer ID Offset but main purpose is to capture e.g. UUID of the beacon because Manufacturer ID never changes on the same provider Beacons;
 +
* '''Beacon ID Size''' - parameter works the same way as Manufacturer ID Size but purpose is to capture specific part or whole e.g. UUID (major, minor);
 +
* '''Additional Data Offset''' and '''Additional Data Size''' - allows to capture specific data of the Beacons advertised packet e.g. battery voltage or status. These additional parameters depend on Beacon type and advertisement packet. In order to capture full packet of the Beacon - Offset can be left at 0 and Size matched by actual length of the advertised packet.
 +
* '''Beacon ID Source'''- Beacon ID source can be selected. When Beacon ID is used, source is used as configured in Beacon ID offset and Beacon ID size columns. When Beacon MAC address is selected, Beacon ID will be replaced with MAC address. IO structure remains the same, but Beacon ID size will always be reported as 0x06.
 +
 
 +
===Beacon List===
 +
List of authorized beacons, Eddystone and iBeacon protocols are ''supported*.'' Example of the configured beacons detection in the List:<br>
 +
[[File:BeaconCongif.mp4|1750px]]
 +
 
 +
''*Beacon Ids can be entered the following way: Namspace:CompanyID, UUID:Major:Minor. Any of the ID parts''
 +
can be omitted ex., Namespace:. UUID::, UUID::Minor, etc
 +
 
 +
The Beacons settings are configured as showed. The iBeacon or Eddystone is added to the list with the following structure:
 +
*'''''iBeacon''''' – 20 Bytes ('''UUDI''' (16-bytes : '''Major'''(2-bytes) : '''Minor''' (2-bytes))
 +
*'''''Eddystone''''' – 16 Bytes ('''Namespace''' (10-bytes) : '''Instance ID'''(6-bytes))
 +
 
 +
There is a possibility to detect the devices just by UUID or Namespace (see the 2 and 6 elements in the list).
 +
Or by the Major/Minor for iBeacons and Namespace for Eddystone. (see the 3 and 7 elements in the list).<br />
 +
There is also possible to select Beacons Detection as the Configured, in this case, the beacons will only be detected and send if they were added to the Beacons List.
 +
 
 +
From '''3.27.07.Rev.00'''  Beacon list is expanded to support 50 beacons IDs.
 +
 
 +
When Advanced Beacon mode is selected - Beacon list acquires new option too. No longer it is required to insert full UUID, major or minor. In advanced mode it is possible to mask / ignore specific parts of UUID or major, or minor. Symbol " * " is used for masking. This allows to write shorter or only partial UUIDs in the Beacon list. Note: it is not possible to use " * " symbol to mask Manufacturer ID in the Advanced list.
 +
 
 +
===Beacon On Change/Periodic===
 +
[[File:BeaconRecords.png|right]]New functionality Beacon On Change has been implemented from '''03.27.07.Rev.00''' firmware version. The purpose of it is to create Beacon records only when  there are changes in Beacon List. The parameter Beacon Record '''(Parameter ID: 136)''' has  two possible settings: On Change  (0) and Periodic (1). When On Change is selected, Beacon records are generated only when there are changes in the Beacon list. When Periodic is selected records will be saved according to configured period:
 +
[[File:Beanconperiod.png|frame|left]]<br><br><br><br>
 +
 
 +
 
 +
 
 +
==== Beacon On Change Scenarios: ====
 +
'''Example 1.'''
 +
 
 +
''Non-Stop Scan'' is Disabled. Scan starts. Beacon is detected and added to the list. Scan ends and Beacon records are created. <br>
 +
*The second scan starts. The same Beacon is still present. Scan ends and the Beacon record is not created because the list has not changed.
 +
*The third scan starts. The same Beacon is still present but disappeared during that scan. Scan ends and Beacon record is not created because it is still considered that this Beacon is valid thus Beacon List hasn’t updated.
 +
*The fourth scan starts. The same Beacon is not present from the start of the scan. Scan ends and Beacon is removed from Beacon list. Record is created since Beacon List has changed.
 +
 
 +
'''Example 2.'''
 +
 
 +
''Non-Stop Scan'' is Disabled. Scan starts. Beacon is detected and added to the list. Scan ends and Beacon records are created.
 +
*The second scan starts. The same Beacon is still present but is lost during that scan. Scan ends and the Beacon record is not created because the list has not changed.
 +
*The third scan starts. At the start of the scan, Beacon was not present but during that scanning period, it has been detected again. At the end of the scan, the Beacon record is not created since Beacon List has not changed.
   −
Beacon are sent to server in a new variable length Beacon IO (AVL ID 548) '''(Different from Simple mode!)'''.
+
'''Example 3.'''
   −
Beacon ID source can be selected.
+
''Non-Stop Scan'' is Enabled. Beacon Timeout is set to 10s. Beacon is detected and added to the list. Beacon record is created immediately after it is detected. The scan continues and during that time Beacon is lost. After 10s if Beacon has not been detected anymore Beacon record will be created. If that Beacon reappears after the set Beacon Timeout (in this case 10s) period has passed for that particular Beacon, a new Beacon record will be created. If That Beacon reappears before set Beacon Timeout (in this case 10s) period has passed. Beacon record will not be created.
*When Beacon ID is used, source is used as configured in Beacon ID offset and Beacon ID size columns. When Beacon MAC address is selected.
  −
*Beacon ID will be replaced with MAC address. IO structure remains the same, but Beacon ID size will always be reported as 0x06.
     −
====Parsing Advanced Beacon data from record (AVL ID 548)====
+
===Parsing Advanced Beacon data from record (AVL ID 548)===
 
<br>
 
<br>
 
{| class="nd-othertables_2" style="width:100%;"
 
{| class="nd-othertables_2" style="width:100%;"
Line 245: Line 286:  
|-
 
|-
 
|}
 
|}
  −
  −
===Beacon List===
  −
List of authorized beacons, Eddystone and iBeacon protocols are ''supported*.'' Example of the configured beacons detection in the List:<br>
  −
[[File:BeaconCongif.mp4|1750px]]
  −
  −
''*Beacon Ids can be entered the following way: Namspace:CompanyID, UUID:Major:Minor. Any of the ID parts
  −
can be omitted ex., Namespace:. UUID::, UUID::Minor, etc''
  −
  −
The Beacons settings are configured as showed. The iBeacon or Eddystone is added to the list with the following structure:
  −
* '''''iBeacon''''' – 20 Bytes ('''UUDI''' (16-bytes : '''Major'''(2-bytes) : '''Minor''' (2-bytes))
  −
* '''''Eddystone''''' – 16 Bytes ('''Namespace''' (10-bytes) : '''Instance ID'''(6-bytes))
  −
  −
There is a possibility to detect the devices just by UUID or Namespace (see the 2 and 6 elements in the list).
  −
Or by the Major/Minor for iBeacons and Namespace for Eddystone. (see the 3 and 7 elements in the list).<br/>
  −
There is also possible to select Beacons Detection as the Configured, in this case, the beacons will only be detected and send if they were added to the Beacons List.
  −
  −
From '''3.27.07.Rev.00'''  Beacon list is expanded to support 50 beacons IDs.
  −
  −
  −
===Beacon On Change===
  −
[[File:BeaconRecords.png|right]]New functionality Beacon On Change has been implemented from '''03.27.07.Rev.00''' firmware version. The purpose of it is to create Beacon records only when  there are changes in Beacon List. The parameter Beacon Record '''(Parameter ID: 136)''' has  two possible settings: On Change  (0) and Periodic (1). When On Change is selected, Beacon records are generated only when there are changes in the Beacon list. When Periodic is selected records will be saved according to configured period:
  −
[[File:Beanconperiod.png|frame|left]]<br><br><br><br>
  −
  −
 
  −
'''Beacon On Change Scenarios:'''<br>
  −
  −
'''Example 1.'''
  −
  −
''Non-Stop Scan'' is Disabled. Scan starts. Beacon is detected and added to the list. Scan ends and Beacon records are created. <br>
  −
*The second scan starts. The same Beacon is still present. Scan ends and the Beacon record is not created because the list has not changed.
  −
*The third scan starts. The same Beacon is still present but disappeared during that scan. Scan ends and Beacon record is not created because it is still considered that this Beacon is valid thus Beacon List hasn’t updated.
  −
*The fourth scan starts. The same Beacon is not present from the start of the scan. Scan ends and Beacon is removed from Beacon list. Record is created since Beacon List has changed.
  −
  −
'''Example 2.'''
  −
  −
''Non-Stop Scan'' is Disabled. Scan starts. Beacon is detected and added to the list. Scan ends and Beacon records are created.
  −
*The second scan starts. The same Beacon is still present but is lost during that scan. Scan ends and the Beacon record is not created because the list has not changed.
  −
*The third scan starts. At the start of the scan, Beacon was not present but during that scanning period, it has been detected again. At the end of the scan, the Beacon record is not created since Beacon List has not changed.
  −
  −
'''Example 3.'''
  −
  −
''Non-Stop Scan'' is Enabled. Beacon Timeout is set to 10s. Beacon is detected and added to the list. Beacon record is created immediately after it is detected.
  −
The scan continues and during that time Beacon is lost. After 10s if Beacon has not been detected anymore Beacon record will be created.
  −
If that Beacon reappears after the set Beacon Timeout (in this case 10s) period has passed for that particular Beacon, a new Beacon record will be created.
  −
If That Beacon reappears before set Beacon Timeout (in this case 10s) period has passed. Beacon record will not be created.
 

Navigation menu