mqtt specific components for the impact mbed endpoint library
Dependents: mbed_mqtt_endpoint_ublox_ethernet mbed_mqtt_endpoint_ublox_cellular mbed_mqtt_endpoint_nxp
Diff: EmulatedResourceFactory.cpp
- Revision:
- 50:38cd1b5f1cde
- Parent:
- 11:9ae0fe4517c1
- Child:
- 56:789a1a8c5ebe
--- a/EmulatedResourceFactory.cpp Tue Jul 01 22:01:09 2014 +0000 +++ b/EmulatedResourceFactory.cpp Fri Jul 25 21:21:40 2014 +0000 @@ -56,6 +56,10 @@ this->logger()->log("Invoking Action..."); cb(); } + + // additionally update the IOC with a REST call to update its record of us (assuming 1 personality/endpoint!!) + MBEDEndpoint *endpoint = (MBEDEndpoint *)this->getEndpoint(); + endpoint->updatePersonality(0); } return success; } \ No newline at end of file