iot_water_monitor_v2

Dependencies:   easy-connect-v16 Watchdog FP MQTTPacket RecordType-v-16 watersenor_and_temp_code

Revision:
11:3802c82a5ae9
Parent:
0:24bec4d463a5
Child:
17:b89d884eb609
--- a/mbed_app.json	Sat Dec 02 04:59:59 2017 +0000
+++ b/mbed_app.json	Thu Dec 07 17:07:44 2017 +0000
@@ -1,69 +1,58 @@
-{
-    "config": {
-        "network-interface":{
-            "help": "options are ETHERNET, WIFI_ESP8266, WIFI_ODIN, WIFI_RTW, MESH_LOWPAN_ND, MESH_THREAD, CELLULAR_ONBOARD",
-            "value": "WIFI_ESP8266"
-        },
-        "mesh_radio_type": {
-            "help": "options are ATMEL, MCR20",
-            "value": "ATMEL"
-        },
-        "esp8266-tx": {
-            "help": "Pin used as TX (connects to ESP8266 RX)",
-            "value": "D1"
-        },
-        "esp8266-rx": {
-            "help": "Pin used as RX (connects to ESP8266 TX)",
-            "value": "D0"
-        },
-        "esp8266-ssid": {
-            "value": "\"GreenLantern\""
-        },
-        "esp8266-password": {
-            "value": "\"deAlembert\""
-        },
-        "esp8266-debug": {
-            "value": true
-        },
-        "lcd-mosi": {
-            "value": "D11",
-            "macro_name": "LCD_MOSI"
-        },
-        "lcd-sck": {
-            "value": "D13",
-            "macro_name": "LCD_SCK"
-        },
-        "lcd-miso": {
-            "value": "D12",
-            "macro_name": "LCD_MISO"
-        },
-        "lcd-a0": {
-            "value": "D7",
-            "macro_name": "LCD_A0"
-        },
-        "lcd-ncs": {
-            "value": "D10",
-            "macro_name": "LCD_NCS"
-        }
-    },
-    "target_overrides": {
-        "*": {
-            "target.features_add": ["NANOSTACK", "LOWPAN_ROUTER", "COMMON_PAL"],
-            "mbed-mesh-api.6lowpan-nd-channel-page": 0,
-            "mbed-mesh-api.6lowpan-nd-channel": 12,
-            "mbed-trace.enable": 0
-        },
-        "HEXIWEAR": {
-            "esp8266-tx": "PTD3",
-            "esp8266-rx": "PTD2"
-        },
-        "NUCLEO_F401RE": {
-            "esp8266-tx": "D8",
-            "esp8266-rx": "D2"
-        },
-        "NUCLEO_F411RE": {
-            "esp8266-tx": "D8",
-            "esp8266-rx": "D2"
-        }
-    }
-}
+{
+    "config": {
+        "network-interface":{
+            "help": "options are ETHERNET, WIFI_ESP8266, WIFI_IDW0XX1, WIFI_ODIN, WIFI_RTW, MESH_LOWPAN_ND, MESH_THREAD, CELLULAR_ONBOARD",
+            "value": "WIFI_ESP8266"                         
+        },
+        "mesh_radio_type": {
+            "help": "options are ATMEL, MCR20",
+            "value": "ATMEL"
+        },
+        "esp8266-tx": {
+            "help": "Pin used as TX (connects to ESP8266 RX)",
+            "value": "D1"
+        },
+        "esp8266-rx": {
+            "help": "Pin used as RX (connects to ESP8266 TX)",
+            "value": "D0"
+        },
+        "esp8266-ssid": {
+            "value": "\"GreenLantern\""
+        },
+        "esp8266-password": {
+            "value": "\"deAlembert\""
+        },
+        "esp8266-debug": {
+            "value": true
+        }
+    },
+    "macros": [ "MQTT_BROKER_URL=\".messaging.internetofthings.ibmcloud.com\"",
+                "MQTT_CLIENT_ID=\"d:a4nvkh:Nucleo_8266:PROEVN\"",
+                "MQTT_ORG_ID=\"a4nvkh\"",
+                "MQTT_USERNAME=\"use-token-auth\"",
+                "MQTT_DEVICE_PASSWORD=\"PROEVN2017\"",
+                "MQTT_EVENT_TOPIC=\"iot-2/evt/status/fmt/json\"",
+                "MQTT_DEVICE_ID=\"PROEVN\"",
+                "MQTT_DEVICE_TYPE=\"Nucleo_8266\"",                
+                "MQTT_KEEPALIVE  10",
+                "MQTT_PORT 1883",
+                "MQTT_TLS_PORT 8883"],
+    "target_overrides": {
+        "*": {
+            "target.features_add": ["NANOSTACK", "LOWPAN_ROUTER", "COMMON_PAL"],
+            "mbed-mesh-api.6lowpan-nd-channel-page": 0,
+            "mbed-mesh-api.6lowpan-nd-channel": 12
+        },    
+        "K64F": {
+        },
+        "NUCLEO_F401RE": {
+            "wifi-tx": "D8", 
+            "wifi-rx": "D2",         
+            "target.macros_add": ["IKS01A2"]
+        },
+        "DISCO_L475VG_IOT01A": {
+        },
+        "NUCLEO_L476RG": {
+        }       
+    }
+}