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: C12832_lcd EthernetInterface StatusReporter LM75B MQTT-ansond endpoint_core endpoint_mqtt mbed-rtos mbed
Diff: MQTTTransport.cpp
- Revision:
- 36:210f3956038c
- Parent:
- 30:5c670ec5d203
- Child:
- 48:d3663434128d
--- a/MQTTTransport.cpp Fri Feb 28 23:45:13 2014 +0000
+++ b/MQTTTransport.cpp Sat Mar 01 05:58:00 2014 +0000
@@ -214,7 +214,7 @@
bool sent = this->m_mqtt->publish(this->getTopic(),message,strlen(message));
if (sent) {
this->logger()->log("Result sent successfully");
- this->logger()->blinkMQTTTransportTxLED();
+ this->logger()->blinkTransportTxLED();
}
else {
this->logger()->log("Result send FAILED");
@@ -302,6 +302,6 @@
void MQTTTransport::checkAndProcess() {
if (this->m_mqtt != NULL && this->m_connected == true) {
this->m_mqtt->loop();
- this->logger()->blinkMQTTTransportRxLED();
+ this->logger()->blinkTransportRxLED();
}
}
\ No newline at end of file