This is a simple mbed client example demonstrating, registration of a device with mbed Device Connector and reading and writing values as well as deregistering on different Network Interfaces including Ethernet, WiFi, 6LoWPAN ND and Thread respectively.

Fork of mbed-os-example-client by mbed-os-examples

mbed_app.json

Committer:
davyu
Date:
2017-10-20
Revision:
110:bed4b048cfd9
Parent:
108:fd0b2638cf1d

File content as of revision 110:bed4b048cfd9:

{
    "config": {
        "network-interface":{
            "help": "Options are ETHERNET, WIFI_ESP8266, WIFI_ODIN, MESH_LOWPAN_ND, MESH_THREAD, CELLULAR_ONBOARD",
            "value": "WIFI_ESP8266"
        },
        "mesh_radio_type": {
            "help": "options are ATMEL, MCR20, SPIRIT1, EFR32",
            "value": "ATMEL"
        },
        "wifi-ssid": {
            "help": "WiFi SSID",
            "value": "\"Famliy2\""
        },
        "wifi-password": {
            "help": "WiFi Password",
            "value": "\"0933262883\""
        },
        "wifi-tx": {
            "help": "TX pin for serial connection to external device",
            "value": "D1"
        },
        "wifi-rx": {
            "help": "RX pin for serial connection to external device",
            "value": "D0"
        }
    },
    "macros": ["MBEDTLS_USER_CONFIG_FILE=\"mbedtls_mbed_client_config.h\""],
    "target_overrides": {
        "*": {
            "target.features_add": ["NANOSTACK", "LOWPAN_ROUTER", "COMMON_PAL"],
            "platform.stdio-baud-rate": 115200,
            "platform.stdio-convert-newlines": true,
            "mbed-mesh-api.6lowpan-nd-channel-page": 0,
            "mbed-mesh-api.6lowpan-nd-channel": 12,
            "mbed-trace.enable": 0
        },
        "NUCLEO_F401RE": {
            "wifi-tx": "PA_11",
            "wifi-rx": "PA_12"
        },
        "NUCLEO_F411RE": {
            "wifi-tx": "PA_11",
            "wifi-rx": "PA_12"
        },
        "UBLOX_EVK_ODIN_W2": {
            "target.device_has_remove": ["EMAC"]
        },
        "UBLOX_C030_U201": {
            "lwip.ppp-enabled": true,
            "ppp-cell-iface.apn-lookup": true
        }
    }
}