CoAP Device Server Client

Dependencies:   EthernetInterface mbed-rtos mbed nsdl_lib

Fork of COAPmbed by th.iotkit2.ch

Constrained Application Protocol (Coap) ist ein Software-Protokoll welches für Internet der Dinge Geräte zugeschnitten ist.

COAP ist auf den meisten Geräten, die UDP Unterstützen, lauffähig.

Ein COAP fähiges Gerät publiziert seine Sensoren und Aktoren in einem Resource Directory oder stellt selber ein solches zur Verfügung.

Mittels Resource Discovery können die vorhandenen Sensoren und Aktoren mit ihren Attributen abgefragt werden.

Zeile 29: Node Name aendern und folgende Adresse aufrufen: http://nsp.cloudapp.net:8083/, User/PW = demo

Revision:
4:15690450a797
Parent:
3:52c1b649eb04
Child:
6:442775856f5f
--- a/main.cpp	Tue Oct 15 15:48:23 2013 +0000
+++ b/main.cpp	Tue Oct 15 15:59:51 2013 +0000
@@ -28,7 +28,7 @@
 /* Change this IP address to that of your NanoService Platform installation */
 static const char* NSP_ADDRESS = "217.140.101.20"; /* internal NSP*/
 static const int NSP_PORT = 5683;
-char endpoint_name[16] = "refactored";
+char endpoint_name[16] = "mbed-demo-";
 uint8_t ep_type[] = {"mbed_device"};
 uint8_t lifetime_ptr[] = {"1200"};