Skip to content

hbkworld/java-scan

Repository files navigation

A Java implementation of the HBM device discovery protocol.

Build Status Coverity Coverage Status codebeat badge Download Maven Central

Stories in Backlog Stories in Ready Stories in progress

Open Hub

About

This library implements the HBM device discovery protocol in Java. The library is 100 % pure Java and fully compatible with Android.

Both scan and configuration are implemented.

License

Copyright (c) 2014 Hottinger Baldwin Messtechnik GmbH. See the LICENSE file for license rights and limitations (MIT).

Build

The preferred method to build the library is gradle. Just run the gradle wrapper

./gradlew build

and you will find the generated devscan.jar file in the folder /tmp/devscan/devscan/libs.

The gradlew script has now the ability to deploy jar files and pom files to bintray and Maven Central. Run

./gradlew uploadArchives -Prelease -P<repository> -Pgpg_id=<gpg-id> -Pgpg_secring=<path/to/secring.gpg> -Pgpg_passphrase=<gpg-passphrase> -PrepositoryUsername=<name> -PrepositoryPassword=<passwd

with either "mavencentral" or "bintray" for <repository>.

Documentation

The generated javadoc documentation can be found here.