Skip to content

Commit 428ea3d

Browse files
committed
update CHANGES.md and README.md
1 parent fc078d1 commit 428ea3d

File tree

2 files changed

+11
-1
lines changed

2 files changed

+11
-1
lines changed

CHANGES.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,13 @@
1+
# HAP-Java 2.0.0
2+
* major refactoring to support optional characteristics
3+
* structure and names are adapted to HAP spec structure and naming.
4+
* structure is following
5+
* `accessory` package include basis accessory as the listed in HAP spec, plus interfaces for optional characteristics. clients should extend the accessory classes. e.g. `WindowCoveringAccessory` or `AccessoryWithBrightness`
6+
* `characteristics` package consists of all characteristics, optional and mandatory. e.g. `TargetHorizontalTiltAngleCharacteristic`. The naming is done in accordance to HAP spec.
7+
* `services` package consists of services, which grouping characteristics. e.g. `WindowCoveringService` defines mandatory and optional characteristics for a window covering service as it is defined in HAP spec.
8+
* `server` package consists classes to run homekit server and handle communication
9+
* the process is following: client, e.g. Openhab bindings, extends accessory classes, e.g. `WindowCoveringAccessory` and implements all required methods. WindowCoveringAccessory is linked already to WindowCoveringService, that in turn is link to single characteristics.
10+
111
# HAP-Java 1.1.5
212

313
## Fixes

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ Include HAP-Java in your project using maven:
1515
<dependency>
1616
<groupId>io.github.hap-java</groupId>
1717
<artifactId>hap</artifactId>
18-
<version>1.2.0-SNAPSHOT</version>
18+
<version>2.0.0-SNAPSHOT</version>
1919
</dependency>
2020
```
2121

0 commit comments

Comments
 (0)