Skip to content

Commit

Permalink
release 1.7.0
Browse files Browse the repository at this point in the history
  • Loading branch information
ohmae committed Mar 25, 2018
1 parent 1f9ca95 commit f1e4660
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
10 changes: 8 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@ Therefore, this library restricts the use of such statement.
There is no way to make Device. If you need it, please select another library.
- Some functions that are not widely used are not implemented.
- Multicast eventing
- IPv6

## Example of use
Android App
Expand All @@ -56,7 +55,7 @@ repositories {
}
dependencies {
compile 'net.mm2d:mmupnp:1.6.0'
compile 'net.mm2d:mmupnp:1.7.0'
}
```

Expand All @@ -79,6 +78,13 @@ NetworkInterface ni = NetworkInterface.getByName("eth0");
ControlPoint cp = new ControlPoint(ni);
```

By default ControlPoint will work with dual stack of IPv4 and IPv6.
If you want to operate with IPv4 only, specify the protocol as follows.

```java
ControlPoint cp = new ControlPoint(Protocol.IP_V4_ONLY);
```

### M-SEARCH
Call ControlPoint#search() or ControlPoint#search(String).

Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
@@ -1 +1 @@
versionName=1.6.0
versionName=1.7.0

0 comments on commit f1e4660

Please sign in to comment.