formatting of eclipse import tutorial authored by Björn Butzin's avatar Björn Butzin
...@@ -154,10 +154,10 @@ You can find the required files in our repository at [https://gitlab.amd.e-techn ...@@ -154,10 +154,10 @@ You can find the required files in our repository at [https://gitlab.amd.e-techn
#### 2. Create a CoapRequest & add some Options (Client.java, FIXME 7-9): #### 2. Create a CoapRequest & add some Options (Client.java, FIXME 7-9):
* A channel represents a single connection and is used to create and send requests * A channel represents a single connection and is used to create and send requests
```java ```java
Boolean reliable = false; Boolean reliable = false;
CoapRequestCode reqCode = CoapRequestCode.GET; CoapRequestCode reqCode = CoapRequestCode.GET;
CoapRequest request = clientChannel.createRequest(reliable,reqCode); CoapRequest request = clientChannel.createRequest(reliable,reqCode);
request.setUriPath("/temperature"); request.setUriPath("/temperature");
``` ```
#### 3. Send the CoapRequest (Client.java, FIXME 7-9): #### 3. Send the CoapRequest (Client.java, FIXME 7-9):
... ...
......