User Tools

Site Tools


sensorweaver:bluetooth-feeder

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
sensorweaver:bluetooth-feeder [2017-09-26 07:54] michelesensorweaver: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 Bluetoot Feeder detects: +The Bluetooth Feeder is an OSGi bundle designed to log BLE beacon messages. Specifically, the Bluetoot Feeder provides the following functionalities 
-  * iBeacon +  * Detect iBeacon, EddyStone, EddyStone TLM 
-  * 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://github.com/SINTEF-9012/bglib/tree/master/bglib-protocol-1.0.3-43]] (provided by SINTEF). As soon as new message is received, the Bluetooth Feeder parses publishes it through the middleware API.+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://github.com/SINTEF-9012/bglib/tree/master/bglib-protocol-1.0.3-43]] (provided by SINTEF). As soon as new message is received, the Bluetooth Feeder parses and publishes it through the middleware API.
 The topic used for publishing the messages is: The topic used for publishing the messages is:
  
Line 11: Line 13:
 dataFeed/context/beaconX dataFeed/context/beaconX
 </code> </code>
-Where X is the ID of the receiving device (see below). Message sent to the middleware has +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 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 /dev/ttyACM0)   * On Unix OS: the USB dongle is added to the /dev dir (ex /dev/ttyACM0)
  
-Add the following feature URL:+Be sure the following MVN repositories are added on your karaf instnace 
 +<code console> 
 +    http://repository.springsource.com/maven/bundles/external@id=spring-ebr-repository@snapshots@noreleases,
 +    http://ala.isti.cnr.it:8081/nexus/content/repositories/wnlab-releases@id=wnlab-releases,
 +    http://ala.isti.cnr.it:8081/nexus/content/repositories/wnlab-snapshots@id=wnlab-snapshots@snapshots,
 +    http://maven.thingml.org/thingml-release/ 
 + 
 +</code> 
 + 
 + 
 +Add the following feature URL on the Karaf console:
 <code console> <code console>
 feature:repo-add mvn:it.cnr.isti.sensorweaver.bluetooth/bluetooth-features/1.0.0-SNAPSHOT/xml/features feature:repo-add mvn:it.cnr.isti.sensorweaver.bluetooth/bluetooth-features/1.0.0-SNAPSHOT/xml/features
 </code> </code>
 +
  
 <code console> <code console>
sensorweaver/bluetooth-feeder.1506412483.txt.gz · Last modified: 2017-09-26 07:54 by michele

Donate Powered by PHP Valid HTML5 Valid CSS Run on Debian Driven by DokuWiki