Skip to content
GitLab
Explore
Sign in
Admin message
Gitlab Update from 17.11.1 to 17.11.2 runs on 2025-05-14
Changes
Page history
formatting of eclipse import tutorial
authored
May 30, 2017
by
Björn Butzin
Hide whitespace changes
Inline
Side-by-side
home.markdown
View page @
c3668b1c
...
@@ -201,11 +201,12 @@ You can find the required files in our repository at [https://gitlab.amd.e-techn
...
@@ -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
## 6. Task 2: Implementation of a AC control by using the CoAP-observe mechanism

1.
Use the eventing mechanism CoAP-Observe
1.
Use the eventing mechanism CoAP-Observe
2.
Let the server notify clients every 5 seconds about a changed TemperatureResource
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`
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):
### 1. Use the eventing mechanism CoAP-Observe (Server.java, TODO 10):
*
Mark the TemperatureResource as observable
*
Mark the TemperatureResource as observable
...
...