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/DynamicResource.cpp
- Revision:
- 20:abfbaf524192
- Parent:
- 5:a929d65eb385
- Child:
- 21:8487990a3baa
--- a/api/DynamicResource.cpp Tue Feb 24 02:05:06 2015 +0000 +++ b/api/DynamicResource.cpp Thu Mar 05 18:23:28 2015 +0000 @@ -76,7 +76,7 @@ const string *key = new string(this->getName()); ipt_helper_add_instance_pointer(key,this); nsdl_create_dynamic_resource(resource_ptr,name_length,(uint8_t *)name,res_type_length,(uint8_t *)res_type,is_observable,&ipt_helper_nsdl_callback_stub,this->m_res_mask); - this->logger()->log("DynamicResource: [%s] type: [%s] bound",name,res_type); + this->logger()->log("DynamicResource: [%s] type: [%s] bound (observable: %d)",name,res_type,is_observable); } else { this->logger()->log("DynamicResource: NULL parameter in bind()"); }