MBED MQTT Lighting Endpoint for NXP Ublox (cellular enabled)

Dependencies:   C027_Support C12832 StatusReporter LM75B MQTT-ansond c027_radios endpoint_core endpoint_mqtt mbed-rtos mbed

Revision:
151:75b96c3419ae
Parent:
146:41c900c6edad
Child:
152:e031802d24ad
--- a/Definitions.h	Thu Mar 20 01:47:12 2014 +0000
+++ b/Definitions.h	Thu Mar 20 02:24:57 2014 +0000
@@ -59,6 +59,11 @@
 #define PL_ENABLE                   false                           // true - enable for endpoint light, false - disable
 #define PL_LIGHT_ID                 PL_LIGHT_ID_BILL                // Default light for Philips Light
 
+// unless we are using Philips lighting, disable the network mutex
+#ifndef PL_ENABLE
+#undef NETWORK_MUTEX
+#endif
+
 // External LED Light Configuration
 #define EXT_LED_ENABLE              true                            // true - enable external LED endpoint light, false - disable
 #define EXT_LED_PIN                 p21                             // pin to use for external LED cathode