The Bluetooth radio integrated in Meshlium allows to scan Bluetooth devices in a range of action up to 200m depending on the line of sight conditions.
The idea is to search for Bluetooth devices in a defined interval which can be configured. Meshlium will get the MAC address and the ID of the devices along with a time stamp which identifies when the scan was performed. For this reason is important to set the correct time in the System before starting with the storage of the data. See the Time Synchronization in the System section.
We can set the name of the Bluetooth antenna which will be shown in case we also activate the Visible option. The Scan interval can also be configured.
We can perform three different storage options with the data captured.
Local File System
Steps:
1º- Give a name to create a new file where the Bluetooth Scans will be saved
2º- Select this file and press the "Select file" button
3º- Set the check box "Store frames in the selected file" and press the "Save" button
From now Meshlium will automatically perform Scans and will store the results in this file. This process will also continue after restarting Meshlium.
The file will be created in the folder /mnt/user/bluetooth_data and can be downloaded just selecting it and pressing the "Download" button.
At any time you can see the last "x" lines added to the file. Just set how many lines you want to see and press the "Show data" button.
Local Data Base
Meshlium has a MySQL data base up and running which is used to store locally the information captured. In the "Local Data Base" tab you can see the connection parameters.
Database: MeshliumDB
Table: bluetoothData
IP: localhost / 10.10.10.1 *Depending on the parameters set in
the Interfaces section
Port: 3306
User: root
Password: libelium2007 *You can change this password see the Users
Manager section
Steps:
1º- Set the check box "Store frames in the selected file" and press the "Save" button
From this time Meshlium will automatically perform Scans and will store the results in the Local Data Base. This process will also continue after restarting Meshlium.
At any time you can see the last "x" records stored. Just set how many insertions you want to see and press the "Show data" button.
External Data Base
Meshlium can also store the information captured in an External Data Base.
Steps:
1º- Pressing the "Show sql script" you will get the code needed to create the data base along with the table and the right privileges.
2º- Insert this code in your MySQL management application.
3º- Fill the Connection Data fields with the information about where the data base is located (IP, Port) and with the authentication options (Database, Table, User, Password).
4º- Now press the "Check Connection" button to see if the configuration is correct
5º- Set the check box "Store frames in the selected file" and press the "Save" button
From this time Meshlium will automatically perform Scans and will store the results in the Local Data Base. This process will also continue after restarting Meshlium.
At any time you can see the last "x" records stored. Just set how many insertions you want to see and press the "Show data" button.
Show me now!
In the "Show me now!" tab you can see in real time the Scans captured.
You can specify if you want the information to be updated periodically with the defined interval just checking the "Use the Defined Interval" button.