sensorweaver:bluetooth-feeder
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | |||
sensorweaver:bluetooth-feeder [2017-09-26 07:54] – michele | sensorweaver:bluetooth-feeder [2017-09-26 08:01] (current) – michele | ||
---|---|---|---|
Line 1: | Line 1: | ||
===== Bluetooth Feeder ===== | ===== Bluetooth Feeder ===== | ||
- | The Bluetooth Feeder is an OSGi bundle designed to log BLE beacon messages. Specifically, | + | The Bluetooth Feeder is an OSGi bundle designed to log BLE beacon messages. Specifically, |
- | * iBeacon | + | * Detect |
- | * EddyStone | + | * Publish the beacon messages on the middleware |
- | * EddyStone TLM | + | * (optionally to test) write the beacon messages on a DB |
+ | * log on a file the beacon messages | ||
+ | * enable the USB dongle to send beacon messages | ||
- | The bundle requires to interact with a BLE USB dongle (detected via RXTX serial lib) through which the Bluetooth Feeder can listen for BLE messages. The Bluetooth Feeder interacts with the USB dongle by means of the bglib protocol[[https:// | + | The bundle requires to interact with a BLE USB dongle (detected via RXTX serial lib) through which the Bluetooth Feeder can listen for BLE messages. The Bluetooth Feeder interacts with the USB dongle by means of the bglib protocol[[https:// |
The topic used for publishing the messages is: | The topic used for publishing the messages is: | ||
Line 11: | Line 13: | ||
dataFeed/ | dataFeed/ | ||
</ | </ | ||
- | Where X is the ID of the receiving device (see below). | + | Where X is the ID of the receiving device (see below). |
The data feed describing the messages is: | The data feed describing the messages is: | ||
Line 22: | Line 24: | ||
==== Installation ==== | ==== Installation ==== | ||
- | You need an BLE USB dongle plugged on the instance you are provisioning with the Bluetooth Feeder. | + | You need a BLE USB dongle plugged on the instance you are provisioning with the Bluetooth Feeder. |
* On windows OS: the USB dongle is usually recognized as COM port (ex: COM3) | * On windows OS: the USB dongle is usually recognized as COM port (ex: COM3) | ||
* On Unix OS: the USB dongle is added to the /dev dir (ex / | * On Unix OS: the USB dongle is added to the /dev dir (ex / | ||
- | Add the following feature URL: | + | Be sure the following MVN repositories are added on your karaf instnace |
+ | <code console> | ||
+ | http:// | ||
+ | http:// | ||
+ | http:// | ||
+ | http:// | ||
+ | |||
+ | </ | ||
+ | |||
+ | |||
+ | Add the following feature URL on the Karaf console: | ||
<code console> | <code console> | ||
feature: | feature: | ||
</ | </ | ||
+ | |||
<code console> | <code console> |
sensorweaver/bluetooth-feeder.1506412483.txt.gz · Last modified: 2017-09-26 07:54 by michele