HW4

Dependencies:   C12832 MQTT

Fork of HelloMQTT by MQTT

Committer:
Dongho
Date:
Fri Jan 05 06:36:32 2018 +0000
Revision:
23:e2ab0669caeb
Parent:
21:a68bd76740f9
HW4;

Who changed what in which revision?

UserRevisionLine numberNew contents of line
Jan Jongboom 20:49c9daf2b0ff 1 {
Jan Jongboom 20:49c9daf2b0ff 2 "config": {
Jan Jongboom 20:49c9daf2b0ff 3 "network-interface":{
Dongho 23:e2ab0669caeb 4 "help": "options are ETHERNET, WIFI_ESP8266, WIFI_ODIN, MESH_LOWPAN_ND, MESH_THREAD",
Dongho 23:e2ab0669caeb 5 "value": "WIFI_ESP8266"
Jan Jongboom 20:49c9daf2b0ff 6 },
Jan Jongboom 20:49c9daf2b0ff 7 "mesh_radio_type": {
Jan Jongboom 20:49c9daf2b0ff 8 "help": "options are ATMEL, MCR20",
Jan Jongboom 20:49c9daf2b0ff 9 "value": "ATMEL"
Jan Jongboom 20:49c9daf2b0ff 10 },
Jan Jongboom 20:49c9daf2b0ff 11 "esp8266-tx": {
Jan Jongboom 20:49c9daf2b0ff 12 "help": "Pin used as TX (connects to ESP8266 RX)",
Dongho 23:e2ab0669caeb 13 "value": "D8"
Jan Jongboom 20:49c9daf2b0ff 14 },
Jan Jongboom 20:49c9daf2b0ff 15 "esp8266-rx": {
Jan Jongboom 20:49c9daf2b0ff 16 "help": "Pin used as RX (connects to ESP8266 TX)",
Dongho 23:e2ab0669caeb 17 "value": "D2"
Jan Jongboom 20:49c9daf2b0ff 18 },
Jan Jongboom 20:49c9daf2b0ff 19 "esp8266-debug": {
Dongho 23:e2ab0669caeb 20 "value": false
Jan Jongboom 20:49c9daf2b0ff 21 },
Dongho 23:e2ab0669caeb 22 "wifi-ssid": {
Dongho 23:e2ab0669caeb 23 "value": "\"netlab1\""
Jan Jongboom 20:49c9daf2b0ff 24 },
Dongho 23:e2ab0669caeb 25 "wifi-password": {
Dongho 23:e2ab0669caeb 26 "value": "\"netlab1@414\""
Jan Jongboom 20:49c9daf2b0ff 27 },
Dongho 23:e2ab0669caeb 28 "button": {
Dongho 23:e2ab0669caeb 29 "help": "Pin which you'll use as button (can be overriden per target below)",
Dongho 23:e2ab0669caeb 30 "value": "BUTTON1"
Jan Jongboom 20:49c9daf2b0ff 31 },
Dongho 23:e2ab0669caeb 32 "builtin_led_on": {
Dongho 23:e2ab0669caeb 33 "help": "Value to write to built-in LEDs to turn them on",
Dongho 23:e2ab0669caeb 34 "value": 1,
Dongho 23:e2ab0669caeb 35 "macro_name": "BUILTIN_LED_ON"
Jan Jongboom 20:49c9daf2b0ff 36 },
Dongho 23:e2ab0669caeb 37 "builtin_led_off": {
Dongho 23:e2ab0669caeb 38 "help": "Value to write to built-in LEDs to turn them off",
Dongho 23:e2ab0669caeb 39 "value": 0,
Dongho 23:e2ab0669caeb 40 "macro_name": "BUILTIN_LED_OFF"
Jan Jongboom 20:49c9daf2b0ff 41 }
Jan Jongboom 20:49c9daf2b0ff 42 },
Jan Jongboom 20:49c9daf2b0ff 43 "target_overrides": {
Jan Jongboom 20:49c9daf2b0ff 44 "*": {
Jan Jongboom 20:49c9daf2b0ff 45 "target.features_add": ["NANOSTACK", "LOWPAN_ROUTER", "COMMON_PAL"],
Dongho 23:e2ab0669caeb 46 "platform.stdio-baud-rate": 115200,
Dongho 23:e2ab0669caeb 47 "platform.stdio-convert-newlines": true,
Jan Jongboom 20:49c9daf2b0ff 48 "mbed-mesh-api.6lowpan-nd-channel-page": 0,
Jan Jongboom 20:49c9daf2b0ff 49 "mbed-mesh-api.6lowpan-nd-channel": 12,
Jan Jongboom 20:49c9daf2b0ff 50 "mbed-trace.enable": 0
Jan Jongboom 20:49c9daf2b0ff 51 },
Dongho 23:e2ab0669caeb 52 "K64F": {
Dongho 23:e2ab0669caeb 53 "button": "SW2",
Dongho 23:e2ab0669caeb 54 "builtin_led_on": 0,
Dongho 23:e2ab0669caeb 55 "builtin_led_off": 1
Dongho 23:e2ab0669caeb 56 },
Jan Jongboom 20:49c9daf2b0ff 57 "HEXIWEAR": {
Dongho 23:e2ab0669caeb 58 "button": "PTA12",
Jan Jongboom 20:49c9daf2b0ff 59 "esp8266-tx": "PTD3",
Jan Jongboom 20:49c9daf2b0ff 60 "esp8266-rx": "PTD2"
Jan Jongboom 20:49c9daf2b0ff 61 },
Jan Jongboom 20:49c9daf2b0ff 62 "NUCLEO_F401RE": {
Dongho 23:e2ab0669caeb 63 "button": "USER_BUTTON",
Jan Jongboom 20:49c9daf2b0ff 64 "esp8266-tx": "D8",
Jan Jongboom 20:49c9daf2b0ff 65 "esp8266-rx": "D2"
Jan Jongboom 20:49c9daf2b0ff 66 },
Jan Jongboom 20:49c9daf2b0ff 67 "NUCLEO_F411RE": {
Dongho 23:e2ab0669caeb 68 "button": "USER_BUTTON",
Jan Jongboom 20:49c9daf2b0ff 69 "esp8266-tx": "D8",
Jan Jongboom 20:49c9daf2b0ff 70 "esp8266-rx": "D2"
Dongho 23:e2ab0669caeb 71 },
Dongho 23:e2ab0669caeb 72 "NUMAKER_PFM_NUC472": {
Dongho 23:e2ab0669caeb 73 "button": "SW1",
Dongho 23:e2ab0669caeb 74 "builtin_led_on": 0,
Dongho 23:e2ab0669caeb 75 "builtin_led_off": 1
Jan Jongboom 20:49c9daf2b0ff 76 }
Jan Jongboom 20:49c9daf2b0ff 77 }
Jan Jongboom 20:49c9daf2b0ff 78 }