... | ... | @@ -201,11 +201,12 @@ You can find the required files in our repository at [https://gitlab.amd.e-techn |
|
|
|
|
|
|
|
|
## 6. Task 2: Implementation of a AC control by using the CoAP-observe mechanism
|
|
|

|
|
|
1. Use the eventing mechanism CoAP-Observe
|
|
|
2. Let the server notify clients every 5 seconds about a changed TemperatureResource
|
|
|
3. Implement an Air Conditioner Resource with the path `/ACControl`, that can be set to `high`, `medium`, `low` or `off`
|
|
|
|
|
|

|
|
|
|
|
|
### 1. Use the eventing mechanism CoAP-Observe (Server.java, TODO 10):
|
|
|
* Mark the TemperatureResource as observable
|
|
|
|
... | ... | |