Skip to content

IOOOTASrl/java-app-lib

 
 

Repository files navigation

The Things Network Java Client Build Status MAVEN

This is the Java client for The Things Network to receive activations and messages from IoT devices via The Things Network and send messages as well.

Maven MAVEN

Depend on the artifact via Maven:

<dependency>
  <groupId>org.thethingsnetwork</groupId>
  <artifactId>java-app-lib</artifactId>
  <version>0.2.0</version>
</dependency>

Documentation

A Quick Start and full API Reference can be found in The Things Network Documentation.

Smaple & Test Build Status

A sample app is included. To run:

  1. Install OpenJDK or Java.

  2. Download and Instal Maven.

  3. Download or clone the repository.

  4. Build and cache the artifact:

    mvn clean package install
  5. export your region, Application ID and Access Key as environment variables.

    export region="eu"
    export appId="my-app-id"
    export accessKey="my-access-key"
  6. Build and run the Test class:

    cd sample
    mvn clean compile exec:java -Dexec.mainClass="org.thethingsnetwork.java.app.sample.Test"

About

Java Library for TTN Applications

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Java 100.0%