March 2018
Beginner to intermediate
410 pages
10h 40m
English
Since directionality in CoAP is not as stringent as in HTTP, the same class is used for both clients and servers, both named endpoints to make things simpler. We add a CoapEndpoint field (defined in the Waher.Networking.CoAP namespace) for our endpoint:
private CoapEndpoint coapEndpoint = null;
To start using CoAP, we begin by creating an unencrypted CoAP endpoint using the default port number (5683):
this.coapEndpoint = new CoapEndpoint();
Read now
Unlock full access