formatting of eclipse import tutorial authored by Björn Butzin's avatar Björn Butzin
......@@ -141,7 +141,7 @@ You can find the required files in our repository at [https://gitlab.amd.e-techn
5. Print the CoapResponse on the console (already done in our example)
#### 1. Establish a connection to the Server using the ChannelManager (Client.java, FIXME 5-6):
* A client must implement CoapClient interface
* A client must implement CoapClient interface
```java
public class Client implements CoapClient {...}
```
......@@ -152,12 +152,12 @@ 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):
* 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
Boolean reliable = false;
CoapRequestCode reqCode = CoapRequestCode.GET;
CoapRequest request = clientChannel.createRequest(reliable,reqCode);
request.setUriPath("/temperature");
Boolean reliable = false;
CoapRequestCode reqCode = CoapRequestCode.GET;
CoapRequest request = clientChannel.createRequest(reliable,reqCode);
request.setUriPath("/temperature");
```
#### 3. Send the CoapRequest (Client.java, FIXME 7-9):
......
......