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.
Dependencies: C027 C12832 EthernetInterface StatusReporter LM75B MQTT-ansond endpoint_core endpoint_mqtt mbed-rtos mbed
Diff: MQTTTransport.cpp
- Revision:
- 30:5c670ec5d203
- Parent:
- 23:793b2898522e
- Child:
- 36:210f3956038c
--- a/MQTTTransport.cpp Fri Feb 28 05:20:00 2014 +0000
+++ b/MQTTTransport.cpp Fri Feb 28 18:08:11 2014 +0000
@@ -73,7 +73,7 @@
if (data.size() > 0) {
char *ep = (char *)data[data.size()-1].c_str();
if (ep != NULL) {
- if (strcmp(ep,"control") != 0) {
+ if (strcmp(ep,MQTT_IOC_ALL_ENDPOINT) != 0) {
// just insert the name and let the parser determine if its for us or not...
strncpy(this->m_endpoint_name,ep,strlen(ep));
}