Difference between revisions of "How to read data from Blue Puck/Coin/Slim ID Beacon with GH5200 device"

From Wiki Knowledge Base | Teltonika SAS
 
Line 6: Line 6:
 
|model=GH5200
 
|model=GH5200
 
}}
 
}}
 +
{{Template:iBeacon Data Structure
 +
}}
 +
 
[[Category:GH5200 Beacon List]]
 
[[Category:GH5200 Beacon List]]

Latest revision as of 15:20, 31 July 2020

Main Page > SAS Personal Trackers > GH5200 > GH5200 Configuration > GH5200 Beacon List > How to read data from Blue Puck/Coin/Slim ID Beacon with GH5200 device
Screen beacon.png

Configuring Blue Puck/Coin/Slim Beacon

Bluetooth LE Blue Puck, Blue Coin and Blue Slim beacons are disabled by default.
Configurations to these beacons are written through NFC.
To do this download Device Manager Mobile by Ela from Google Play Store to your Android-powered device.
Note! Android-powered device that is used for configuring Blue Puck/Coin sensors must support NFC read/write functionality.

Follow these instructions to easily configure Blue Puck/Coin/Slim Bluetooth LE Beacon:

  • Enable Bluetooth and NFC on your Android-powered device.
  • Launch Device Manager Mobile on your Android-powered device.
  • Select Configuration.
  • Place your Android-powered device on top of Blue Puck/Coin/Slim Beacon to scan it.
  • Click Enable to allow Blue Puck/Coin/Slim Beacon transmit advertising data.
  • We recommend to set Power to 4 to get the best possible distance.
  • Set TAG Format to iBeacon.
  • Set BLE Emit Period to 1 seconds to get best possible sensor detection.
  • Click Write button.
  • Place your Android-powered device on top of Blue Puck/Coin/Slim sensor to write configuration to it.

Once the configuration is written successfully, the Blue Puck/Coin/Slim Beacon will be enabled and use the settings configured in the APP.
Note! Make sure that Manufacturer data mode is Disabled, otherwise BLE Beacon will not be detected without additional changes in GH5200 configuration.


Configuring GH5200 device

These are instructions on how to easily configure ELA Blue Puck/Coin/Slim Beacon ID with Teltonika Configurator on GH5200 device.



First the GH5200 device Bluetooth settings need to be configured. These are the required steps:

GHbt.png
  • Press Bluetooth settings.
  • Turn on BT Radio by pressing Enable (hidden) or Enable (visible).


Beacon List.png
  • Press Beacons list settings.
  • Select All or Configured (for seeing only preferred beacons) in Beacon Detection options.


BT options.png
  • Press Bluetooth 4.0 settings.
  • Configure Update Frequency, BLE scan duration, Scan retries until error in Common settings according to your needs.
  • After all these steps press Save to device to save configuration.


Beacons list.png
  • Now you can see detected Beacons in Status -> Beacons List

iBeacon data packet structure


Example of data parsing which comes with AVL ID 385
Two detected Beacons:

11213102030405060708090A0B0C0D0E0F104545010ABC212102030405060708090A0B0C0D0E0F10020B010AAD
Data Part1 11
First Beacon:
iBeacon with RSSI flag2 21
UUID (Beacon #1) 3102030405060708090A0B0C0D0E0F10
Major 4545
Minor 010A
RSSI (Signal Strength: Signed 2's complement) BC
Second Beacon:
iBeacon with RSSI flag2 21
UUID (Beacon #2) 2102030405060708090A0B0C0D0E0F10
Major 020B
Minor 010A
RSSI (Signal Strength: Signed 2's complement) AD


1 Data part 11 - 1 Record out of 1 Beacon record. First half byte specifies current record, second half specifies how many there are in total. For example: 23 - second record out of three records (that means the server can expect 1 more records with Event I/O ID 385). If the data does not fit in a single data transfer, they are separated. Data Part is used to determine if more data will be coming from the device. Maximum value of the Data part is 33.

2 Flags:

Flags:
21 iBeacon with RSSI
23 iBeacon with RSSI, Battery Voltage
27 iBeacon with RSSI, Battery Voltage, Temperature
01 Eddystone with RSSI
03 Eddystone with RSSI, battery Voltage
07 Eddystone with RSSI, battery Voltage, Temperature