added max-age and content-format

Fork of mbedConnectorInterface by Doug Anson

Revision:
48:4b9ee3e32f93
Parent:
42:20c375e74e8e
--- a/api/Options.h	Sun Apr 12 04:00:53 2015 +0000
+++ b/api/Options.h	Mon Apr 13 23:41:34 2015 +0000
@@ -159,6 +159,16 @@
     Get the 802.15.4 Radio channel
     */
     uint8_t getRadioChannel();
+    
+    /**
+    Enable/Disable Immediate Observationing
+    */
+    bool immedateObservationEnabled();
+    
+    /**
+    Enable/Disable Observation control via GET
+    */
+    bool enableGETObservationControl();
 
 protected:
     // mDS Resources
@@ -181,6 +191,10 @@
     uint8_t              m_mac_address[NODE_MAC_ADDRESS_LENGTH];
     uint8_t              m_channel;
     
+    // CoAP behavior adjustments
+    bool                 m_enable_immediate_observation;
+    bool                 m_enable_get_obs_control;
+    
     // Endpoint Resources
     StaticResourcesList   m_static_resources;
     DynamicResourcesList  m_dynamic_resources;