Skip to content

Commit

Permalink
Added documentation about maven repository
Browse files Browse the repository at this point in the history
closes 2
  • Loading branch information
JStumpp committed Mar 15, 2015
1 parent 38d5407 commit ddfd8bd
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
SmartGattLib
============
<a href="https://jitpack.io/#movisens/SmartGattLib/"><img src="https://img.shields.io/github/tag/movisens/SmartGattLib.svg?label=Maven on JitPack" /></a>

SmartGattLib is a Java library that simplifies the work with **Bluetooth SMART** devices (a.k.a. **Bluetooth Low Energy** in Bluetooth 4.0). It provides all UUIDs of the adopted [GATT specification](http:https://developer.bluetooth.org/gatt/Pages/default.aspx) and an convenient way to interpret the characteristics (e.g. Heart Rate, BatteryLevel).

Expand Down Expand Up @@ -31,7 +32,17 @@ Working with Bluetooth SMART devices is usually done in the following way:

### Set up ###

1. Download the latest .jar file from the [releases](https://github.com/movisens/SmartGattLib/releases) page and place it in your Android app’s libs/ folder.
1. Add the JitPack repository and the dependency to your build file:

```gradle
repositories {
maven { url "https://jitpack.io" }
}
dependencies {
compile 'com.github.movisens:SmartGattLib:1.7'
}
```
or download the latest .jar file from the [releases](https://github.com/movisens/SmartGattLib/releases) page and place it in your Android app’s libs/ folder.
2. Use the example below to identifiy services and characteristics and interpret their data

### Example Usage ###
Expand Down

0 comments on commit ddfd8bd

Please sign in to comment.