Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Diff: mbed-connector-interface/DynamicResource.h
- Revision:
- 15:c11dbe4d354c
- Parent:
- 13:9edad7677211
--- a/mbed-connector-interface/DynamicResource.h Thu Jun 09 19:05:18 2016 +0000
+++ b/mbed-connector-interface/DynamicResource.h Fri Jun 10 17:09:56 2016 +0000
@@ -180,6 +180,11 @@
Determine if we are connected or not
*/
bool isConnected();
+
+ /**
+ Determine if we are registered or not
+ */
+ bool isRegistered();
protected:
int notify(uint8_t *data,int data_length);
@@ -191,14 +196,14 @@
string m_res_type;
uint8_t m_res_mask;
uint8_t m_obs_number;
- DataWrapper *m_data_wrapper;
+ DataWrapper *m_data_wrapper;
void *m_observer;
- uint8_t m_maxage;
- uint8_t m_content_format;
- M2MObject *m_object;
- M2MObjectInstance *m_obj_instance;
- M2MResource *m_res;
- void *m_op_processor;
+ uint8_t m_maxage;
+ uint8_t m_content_format;
+ M2MObject *m_object;
+ M2MObjectInstance *m_obj_instance;
+ M2MResource *m_res;
+ void *m_op_processor;
// convenience method to create a string from the NSDL CoAP data buffers...
string coapDataToString(uint8_t *coap_data_ptr,int coap_data_ptr_length);