Skip to content

Commit

Permalink
fixed README
Browse files Browse the repository at this point in the history
  • Loading branch information
Cyber1000 authored and rgerganov committed May 19, 2020
1 parent b37b2d7 commit abfdc90
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -79,12 +79,17 @@ Active carbon filter: replace in 1565 hours
HEPA filter: replace in 3965 hours
```

Switching the communication protocol
Switching the version of the communication protocol
---
Use --protocol to switch between communication protocols.
The following command will try to retrieve the current status using the CoAP protocol:
Use --version to switch between communication protocols.
The following command will try to retrieve the current status on devices with version 0.2.1 up to 1.0.7 (not included):
```
$ airctrl --ipaddr 192.168.0.17 --protocol coap
$ airctrl --ipaddr 192.168.0.17 --version 0.2.1
```

The following command will try to retrieve the current status on devices with version 1.0.7 and higher:
```
$ airctrl --ipaddr 192.168.0.17 --version 1.0.7
```

Usage via cloud services
Expand Down

0 comments on commit abfdc90

Please sign in to comment.