|
|
# Tutorial for jCoAP Hands-on
|
|
|
|
|
|
In this tutorial we will explain how to develop a simple message exchange between devices using jCoAP.
|
|
|
In this tutorial we will explain how to develop a simple message exchange between devices using jCoAP.
|
|
|
Furthermore, we will introduce the observe mechanism.
|
|
|
|
|
|
The following points will be covered by this tutorial:
|
... | ... | @@ -230,4 +230,5 @@ Depending on the received temperature, set the payload to high, medium, low or o |
|
|
```java
|
|
|
request.setPayload(“medium”.getBytes());
|
|
|
clientChannel.sendMessage(request);
|
|
|
``` |
|
|
\ No newline at end of file |
|
|
```
|
|
|
|