Sample MQTT program - simple send and receive

Dependencies:   C12832 MQTT

Fork of HelloMQTT by MQTT

mbed_app.json

Committer:
icraggs
Date:
20 months ago
Revision:
23:85b0a1df7d75
Parent:
21:a68bd76740f9

File content as of revision 23:85b0a1df7d75:

{
    "config": {
        "network-interface":{
            "help": "options are ETHERNET, WIFI_ESP8266, WIFI_ODIN, WIFI_RTW, MESH_LOWPAN_ND, MESH_THREAD, CELLULAR_ONBOARD",
            "value": "ETHERNET"
        },
        "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": "\"SSID\""
        },
        "esp8266-password": {
            "value": "\"Password\""
        },
        "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"
        }
    }
}