Skip to content
This repository has been archived by the owner on Mar 27, 2024. It is now read-only.

Update of README.md #115

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 19 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -135,10 +135,15 @@ Maven build dependencies:
Gradle build dependencies:

```
dependencies
{
compile 'org.bubblecloud.zigbee:zigbee-dongle-cc2531:3.x.x'
compile 'org.bubblecloud.zigbee:zigbee-serial-javase:3.x.x'
repositories {
maven {
url "https://dl.bintray.com/tlaukkan/bubblecloud"
}
}

dependencies {
implementation 'org.bubblecloud.zigbee4java:zigbee-dongle-cc2531:3.x.x'
implementation 'org.bubblecloud.zigbee4java:zigbee-serial-javase:3.x.x'
}
```

Expand All @@ -152,7 +157,7 @@ final ZigBeeApiDongleImpl api = new ZigBeeApiDongleImpl(dongle, false);

api.startup();

final ZigBeeDevice device = api.getZigBeeDevices().get(3);
final ZigBeeDevice device = api.getDevices().get(3);

api.on(device);
Thread.sleep(1000);
Expand Down Expand Up @@ -192,9 +197,14 @@ Maven build dependencies:
Gradle build dependencies:

```
dependencies
{
compile 'org.bubblecloud.zigbee:zigbee-gateway-client:3.x.x'
repositories {
maven {
url "https://dl.bintray.com/tlaukkan/bubblecloud"
}
}

dependencies {
implementation 'org.bubblecloud.zigbee4java:zigbee-gateway-client:3.x.x'
}
```

Expand All @@ -212,7 +222,7 @@ api.addCommandListener(new CommandListener() {
}
});

final ZigBeeDevice device = api.getZigBeeDevices().get(3);
final ZigBeeDevice device = api.getDevices().get(3);

api.on(device);
Thread.sleep(1000);
Expand Down