This component allows communication with another Bluetooth-enabled device.
bt:<operation|profile>[?options]
or
bt://<operation|profile>[?options]
from("bt://opp").to("file://files");
import javax.bluetooth.RemoteDevice;
RemoteDevice[] devices = camelContext.createProducerTemplate().requestBody("bt://scan", null, RemoteDevice[].class);
...
scan
opp
(Object Push Profile)
Using Maven:
<!-- pom.xml -->
<project ...>
...
<dependencies>
<dependency>
<groupId>com.github.yihtserns</groupId>
<artifactId>camel-bluetooth</artifactId>
<version>0.0.1-SNAPSHOT</version>
<exclusions>
<exclusion>
<groupId>net.sf.bluecove</groupId>
<artifactId>bluecove</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>org.ow2.chameleon.commons.bluecove</groupId>
<artifactId>bluecove</artifactId>
<version>2.1.1-63</version>
<exclusions>
<exclusion>
<groupId>net.sf.bluecove</groupId>
<artifactId>bluecove</artifactId>
</exclusion>
</exclusions>
</dependency>
...
</dependencies>
...
</project>