mbed Connector Endpoint interface. This interface permits a mbed endpoint to easily setup MDS resources and emit those resources to an MDS server.
Dependents: IoT_LED_demo ServoTest uWater_Project hackathon ... more
Diff: api/Options.h
- Revision:
- 48:4b9ee3e32f93
- Parent:
- 42:20c375e74e8e
diff -r e75750ddc413 -r 4b9ee3e32f93 api/Options.h --- 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;