mbedConnectorInterface sample endpoint utilizing 3g cellular radio as the underlying connection transport.

Dependencies:   LM75B mbed mbedConnectorInterface mbedEndpointNetwork_Ublox

Files at this revision

API Documentation at this revision

Comitter:
ansond
Date:
Wed May 13 14:45:33 2015 +0000
Parent:
3:4f9f65a2463b
Child:
5:0dde8bab03ee
Commit message:
updates

Changed in this revision

main.cpp Show annotated file Show diff for this revision Revisions of this file
mbed.bld Show annotated file Show diff for this revision Revisions of this file
--- a/main.cpp	Tue Apr 28 20:01:29 2015 +0000
+++ b/main.cpp	Wed May 13 14:45:33 2015 +0000
@@ -71,8 +71,8 @@
 // My NSP Domain
 #define MY_NSP_DOMAIN                          "domain"                               
 
-// Customization Example: My custom NSP IPv6 address and NSP CoAP port 
-uint8_t my_nsp_address[NSP_IP_ADDRESS_LENGTH] = {10,1,0,26};
+// Customization Example: My custom NSP IPv4 address and NSP CoAP port 
+uint8_t my_nsp_address[NSP_IP_ADDRESS_LENGTH] = {70,37,91,233};       // azure
 int my_nsp_coap_port                          = 5683;
 
 // called from the Endpoint::start() below to create resources and the endpoint internals...
@@ -85,6 +85,12 @@
                  .setDomain(MY_NSP_DOMAIN)                                // custom NSP domain
                  .setNSPPortNumber(my_nsp_coap_port)                      // custom NSP CoAP port
                  
+                 // enable or disable(default) immediate observationing control
+                 .setImmedateObservationEnabled(true)
+                 
+                 // enable or disable(default) GET-based observation control
+                 .setEnableGETObservationControl(false)
+                 
                  // add the static resource representing this endpoint
                  .addResource(&mfg)
                  .addResource(&model)
--- a/mbed.bld	Tue Apr 28 20:01:29 2015 +0000
+++ b/mbed.bld	Wed May 13 14:45:33 2015 +0000
@@ -1,1 +1,1 @@
-http://mbed.org/users/mbed_official/code/mbed/builds/433970e64889
\ No newline at end of file
+http://mbed.org/users/mbed_official/code/mbed/builds/dbbf35b96557
\ No newline at end of file