COAP mbed Beispiel
Dependencies: EthernetInterface mbed-rtos mbed nsdl_lib
Fork of IoTKit_CoAP by
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.
Diff: main.cpp
- Revision:
- 6:442775856f5f
- Parent:
- 4:15690450a797
- Child:
- 7:6b068978be9a
--- a/main.cpp Mon Oct 21 21:29:11 2013 +0000 +++ b/main.cpp Mon Oct 21 21:30:05 2013 +0000 @@ -26,7 +26,7 @@ // NSP configuration /* Change this IP address to that of your NanoService Platform installation */ -static const char* NSP_ADDRESS = "217.140.101.20"; /* internal NSP*/ +static const char* NSP_ADDRESS = "217.140.101.20"; /* demo NSP, web interface at http://nanoservice-demo.mbed.org*/ static const int NSP_PORT = 5683; char endpoint_name[16] = "mbed-demo-"; uint8_t ep_type[] = {"mbed_device"};