Skip to content

eclipse-kura/kura-bluetooth

Repository files navigation

Eclipse Kura-Bluetooth

Eclipse Kura™ Bluetooth addon

Kura™ logo

Install

Eclipse Kura-Bluetooth™ is compatible with Java 17.

Target Installer

Eclipse Kura-Bluetooth™ provides an Eclipse Kura™ addon for managing Bluetooth communication.

Documentation

Eclipse Kura-Bluetooth™ Documentation can be found at:

Build

Prerequisites

In order to be able to build Eclipse Kura™ Bluetooth on your development machine, you need to have the following programs installed in your system:

  • JDK 17
  • Maven 3.9.x

Installing Prerequisites in Mac OS

To install Java 17, download the JDK tar archive from the Adoptium Project Repository.

Once downloaded, copy the tar archive in /Library/Java/JavaVirtualMachines/ and cd into it. Unpack the archive with the following command:

sudo tar -xzf <archive-name>.tar.gz

The tar archive can be deleted afterwards.

Depending on which terminal you are using, edit the profiles (.zshrc, .profile, .bash_profile) to contain:

export JAVA_HOME=/Library/Java/JavaVirtualMachines/<archive-name>/Contents/Home

Reload the terminal and run java -version to make sure it is installed correctly.

Using Brew you can easily install Maven from the command line:

brew install maven@3.9

Run mvn -version to ensure that Maven has been added to the PATH. If Maven cannot be found, try running brew link maven@3.9 --force or manually add it to your path with:

export PATH="/usr/local/opt/maven@3.9/bin:$PATH"

Installing Prerequisites in Linux

For Java

sudo apt install openjdk-17-jdk

For Maven

You can follow the tutorial from the official Maven site. Remember that you need to install the 3.9.x version.

Build Eclipse Kura-Bluetooth™

Change to the new directory and clone the Eclipse Kura™ repo:

git clone https://github.com/eclipse-kura/kura-bluetooth.git

Move inside the newly created directory and build the project:

mvn clean install

Tip

You can skip tests by adding -Dmaven.test.skip=true in the command above.

About

Eclipse Kura™ Bluetooth

Resources

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 5

Languages