Core Base Classes for the Light Endpoints

Dependencies:   BufferedSerial

Dependents:   mbed_mqtt_endpoint_ublox_ethernet mbed_mqtt_endpoint_ublox_cellular mbed_nsp_endpoint_ublox_cellular mbed_nsp_endpoint_ublox_ethernet ... more

Revision:
104:7a96a9a7cafb
Parent:
97:d631edbc157b
Child:
135:7f3f963cd159
--- a/PhilipsLight.cpp	Sat Mar 15 05:57:21 2014 +0000
+++ b/PhilipsLight.cpp	Sun Mar 16 03:09:02 2014 +0000
@@ -71,7 +71,7 @@
      if (transport != NULL) success = transport->httpPut(this->m_url,this->m_payload,strlen(this->m_payload),this->m_response,PL_RESPONSE_BUFFER_LEN);
      
      // DEBUG
-     //if (success) this->logger()->log("Philips Light: %d updated successfully",this->m_id);
+     if (success) this->logger()->log("Philips Light: %d updated successfully",this->m_id);
      //else this->logger()->log("Philips Light: %d update FAILED.",this->m_id);
      //this->logger()->log("Philips Light: Response: %s",this->m_response);
  }