Skip to content
This repository has been archived by the owner on Jun 21, 2023. It is now read-only.

Commit

Permalink
Preparing for 1.0.0 release
Browse files Browse the repository at this point in the history
  • Loading branch information
Galarzaa90 committed Apr 17, 2018
1 parent 8dbcbe7 commit 8946dd9
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 6 deletions.
9 changes: 5 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
# Android Things RC522 [![Bintray](https://api.bintray.com/packages/galarzaa90/maven/android-things-rc522/images/download.svg)](https://bintray.com/galarzaa90/maven/android-things-rc522/_latestVersion) [![license](https://img.shields.io/github/license/Galarzaa90/android-things-rc522.svg)](https://github.com/Galarzaa90/android-things-rc522/blob/master/LICENSE.md) [![Android Things](https://img.shields.io/badge/android--things-0.2--devpreview-red.svg)](https://developer.android.com/things/preview/releases.html#developer_preview_2)

# Android Things RC522
An Android Things libray to control RFID readers based on the RC522 reader.

Based on [pi-rc522](https://github.com/ondryaso/pi-rc522) by user **ondryaso**

[![Bintray](https://api.bintray.com/packages/galarzaa90/maven/android-things-rc522/images/download.svg)](https://bintray.com/galarzaa90/maven/android-things-rc522/_latestVersion)
[![license](https://img.shields.io/github/license/Galarzaa90/android-things-rc522.svg)](https://github.com/Galarzaa90/android-things-rc522/blob/master/LICENSE.md)
[![Android Things](https://img.shields.io/badge/android--things-0.7--preview-red.svg)](https://developer.android.com/things/preview/releases.html#preview-7)
### Features
* Detect MIFARE 1k tags (not tested in other tags)
* Authenticate, read and write to tags
Expand Down Expand Up @@ -38,7 +40,7 @@ The connections vary based on the [board](https://developer.android.com/things/h
This library is available at jCenter. To install add this to your module's build.gradle
```groovy
dependencies {
compile 'com.galarzaa.android-things:rc522:0.3.0'
compile 'com.galarzaa.android-things:rc522:1.0.0'
```

## Usage
Expand Down Expand Up @@ -69,7 +71,6 @@ public class MainActivty extends AppCompatActivity{
/* Names based on NXP Pico i.MX7D I/O */
SpiDevice spiDevice = pioService.openSpiDevice("SPI3.0");
Gpio resetPin = pioService.openGpio("GPIO5_IO00");
/**;
mRc522 = new Rc522(this, spiDevice, resetPin);
} catch (IOException e) {
e.printStackTrace();
Expand Down
2 changes: 1 addition & 1 deletion bintray.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ properties.load(project.rootProject.file('local.properties').newDataInputStream(
bintray {
user = properties.getProperty("bintray.user")
key = properties.getProperty("bintray.apikey")
override = true
override = false

configurations = ['archives']
pkg {
Expand Down
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ ext.versions = [
compileSdk : 26,
targetSdk : 26,
buildTools : '27.0.3',
publishVersion : '0.3.0',
publishVersion : '1.0.0',
publishVersionCode: 7,

thingsLib : '0.7-devpreview',
Expand Down

0 comments on commit 8946dd9

Please sign in to comment.