... | @@ -17,7 +17,6 @@ The following points will be covered by this tutorial: |
... | @@ -17,7 +17,6 @@ The following points will be covered by this tutorial: |
|
* Prepared JAVA project files for Hands-on
|
|
* Prepared JAVA project files for Hands-on
|
|
|
|
|
|
## 2. Installation of Copper Plugin for Mozilla Firefox
|
|
## 2. Installation of Copper Plugin for Mozilla Firefox
|
|

|
|
|
|
|
|
|
|
- https://addons.mozilla.org/de/firefox/addon/copper-270430/
|
|
- https://addons.mozilla.org/de/firefox/addon/copper-270430/
|
|
- Click on „add to Firefox“ & Confirm Installation
|
|
- Click on „add to Firefox“ & Confirm Installation
|
... | @@ -53,7 +52,6 @@ Client Side |
... | @@ -53,7 +52,6 @@ Client Side |
|
**CoapClient (interface):** describes interfaces that must be supported by a client
|
|
**CoapClient (interface):** describes interfaces that must be supported by a client
|
|
|
|
|
|
* ToDo on server side:
|
|
* ToDo on server side:
|
|

|
|
|
|
1. Create a new resource class TemperatureResource
|
|
1. Create a new resource class TemperatureResource
|
|
2. Instantiate a new ResourceServer
|
|
2. Instantiate a new ResourceServer
|
|
3. Instantiate a new TemperatureResource
|
|
3. Instantiate a new TemperatureResource
|
... | @@ -62,7 +60,6 @@ Client Side |
... | @@ -62,7 +60,6 @@ Client Side |
|
|
|
|
|
|
|
|
|
* ToDo on client side:
|
|
* ToDo on client side:
|
|

|
|
|
|
1. Establish a connection to the Server using the ChannelManager
|
|
1. Establish a connection to the Server using the ChannelManager
|
|
2. Create a CoapRequest & add some Options
|
|
2. Create a CoapRequest & add some Options
|
|
3. Send the CoapRequest
|
|
3. Send the CoapRequest
|
... | @@ -97,7 +94,6 @@ You can find the required files in our repository at https://gitlab.amd.e-techni |
... | @@ -97,7 +94,6 @@ You can find the required files in our repository at https://gitlab.amd.e-techni |
|
## 5. Task 1: Implementation of client/server and enable simple message exchange
|
|
## 5. Task 1: Implementation of client/server and enable simple message exchange
|
|
|
|
|
|
### Server
|
|
### Server
|
|

|
|
|
|
1. Create a new resource class TemperatureResource (already done in our example Server)
|
|
1. Create a new resource class TemperatureResource (already done in our example Server)
|
|
2. Instantiate a new ResourceServer
|
|
2. Instantiate a new ResourceServer
|
|
3. Instantiate a new TemperatureResource
|
|
3. Instantiate a new TemperatureResource
|
... | @@ -146,7 +142,6 @@ You can find the required files in our repository at https://gitlab.amd.e-techni |
... | @@ -146,7 +142,6 @@ You can find the required files in our repository at https://gitlab.amd.e-techni |
|
* Tip: make a copy of „TemperatureResource.java“
|
|
* Tip: make a copy of „TemperatureResource.java“
|
|
|
|
|
|
### Client
|
|
### Client
|
|

|
|
|
|
1. Establish a connection to the Server using the ChannelManager
|
|
1. Establish a connection to the Server using the ChannelManager
|
|
2. Create a CoapRequest & add some Options
|
|
2. Create a CoapRequest & add some Options
|
|
3. Send the CoapRequest
|
|
3. Send the CoapRequest
|
... | | ... | |