Changes
Page history
formatting of eclipse import tutorial
authored
May 30, 2017
by
Björn Butzin
Show whitespace changes
Inline
Side-by-side
home.markdown
View page @
911c2c3d
...
@@ -223,10 +223,10 @@ You can find the required files in our repository at [https://gitlab.amd.e-techn
...
@@ -223,10 +223,10 @@ You can find the required files in our repository at [https://gitlab.amd.e-techn
request
.
setContentType
(
CoapMediaType
.
text_plain
);
request
.
setContentType
(
CoapMediaType
.
text_plain
);
```
```
Depending on the received temperature, set the payload to high, medium, low or off
Depending on the received temperature, set the payload to high, medium, low or off
|
high
|
28 <= Temperature
|
high
28
<=
Temperature
|
medium
|
25 <= Temperature < 28
|
medium
25
<=
Temperature
< 28
|
low
|
21 <= Temperature < 25
|
low
21
<=
Temperature
< 25
|
off
|
Temperature < 21
|
off
Temperature
< 21
```
java
```
java
request
.
setPayload
(
“
medium
”
.
getBytes
());
request
.
setPayload
(
“
medium
”
.
getBytes
());
clientChannel
.
sendMessage
(
request
);
clientChannel
.
sendMessage
(
request
);
...
...
...
...