... | ... | @@ -22,8 +22,9 @@ The following points will be covered by this tutorial: |
|
|
- Click on `add to Firefox` and Confirm Installation
|
|
|
- Restart Firefox
|
|
|
|
|
|
After the installation you can enter anything like `coap://host:port/resourcePath/?query=filter` in the address bar.
|
|
|
After the installation you can enter anything like `coap://host:port/resourcePath/?query=filter` in the address bar.
|
|
|
Copper will allow you to make any CoAP interaction.
|
|
|
|
|
|
![Copper Screenshot](https://gitlab.amd.e-technik.uni-rostock.de/ws4d/jcoap/raw/master/ws4d-jcoap-handsOn/img/CopperScreenshot.jpg)
|
|
|
|
|
|
## 3. Introduction of jCoAP
|
... | ... | @@ -34,21 +35,21 @@ Copper will allow you to make any CoAP interaction. |
|
|
#### Client Side
|
|
|
![Client Side UML Diagram](https://gitlab.amd.e-technik.uni-rostock.de/ws4d/jcoap/raw/master/ws4d-jcoap-handsOn/img/Client%20UML.jpg)
|
|
|
|
|
|
**CoapClient:** Interface that must be implemented by a client
|
|
|
**Client:** Customized implementation of a client application, implements `CoapClient`
|
|
|
**Channel:** A channel represents a connection between a Client and a Server
|
|
|
**ChannelManager:** Manages `Channels` (Timeouts, Matching Requests and Responses)
|
|
|
**CoapClient:** Interface that must be implemented by a client
|
|
|
**Client:** Customized implementation of a client application, implements `CoapClient`
|
|
|
**Channel:** A channel represents a connection between a Client and a Server
|
|
|
**ChannelManager:** Manages `Channels` (Timeouts, Matching Requests and Responses)
|
|
|
|
|
|
|
|
|
#### Server Side
|
|
|
![Server Side UML Diagram](https://gitlab.amd.e-technik.uni-rostock.de/ws4d/jcoap/raw/master/ws4d-jcoap-handsOn/img/ServerUML.jpg)
|
|
|
|
|
|
**CoapResource:** Interface that must be supported by each resource.
|
|
|
**BasicCoapResource:** Already implemented resource with basic functionality, implements `CoapResource`
|
|
|
**TemperatureResource:** Example of a customized resource, inherits from `BasicCoapResource`
|
|
|
**CoapServer:** Interface that must be supported by a resource server
|
|
|
**CoapResourceServer:** Manages a list of resources, enables access of these resources from outside, implements `CoapServer`
|
|
|
**Server:** Example of a customized implementation of a server application, creates `CoapResourceServer` and `CoapResources`
|
|
|
**CoapResource:** Interface that must be supported by each resource.
|
|
|
**BasicCoapResource:** Already implemented resource with basic functionality, implements `CoapResource`
|
|
|
**TemperatureResource:** Example of a customized resource, inherits from `BasicCoapResource`
|
|
|
**CoapServer:** Interface that must be supported by a resource server
|
|
|
**CoapResourceServer:** Manages a list of resources, enables access of these resources from outside, implements `CoapServer`
|
|
|
**Server:** Example of a customized implementation of a server application, creates `CoapResourceServer` and `CoapResources`
|
|
|
|
|
|
## 4. Import of prepared project into Eclipse
|
|
|
|
... | ... | |