Make NTU Hackathon
/
Program4_mbedClient
a simple mbed client example
Fork of mbed-os-example-client by
configs/wifi_v4.json@45:b150e0aa009c, 2016-12-13 (annotated)
- Committer:
- mbed_official
- Date:
- Tue Dec 13 13:45:11 2016 +0000
- Revision:
- 45:b150e0aa009c
configs/*.json based configurations (#140)
* configs/*.json based configurations
Per Marcelo Salazar's proposal add configuration examples to a configs-folder.
By default the repo does not anymore have an mbed_app.json at all, but one should
copy one of the example configs, potentially modify it and use it.
Add mbedignore files to avoid the compilation problems.
Reference:
https://github.com/ARMmbed/mbed-os-example-client/issues/137
* Clarify connection types per bearer
Mesh-networking ONLY supports UDP, others support both. Table to
illustrate UPD/TCP modes per network bearer.
.
Commit copied from https://github.com/ARMmbed/mbed-os-example-client
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
mbed_official | 45:b150e0aa009c | 1 | { |
mbed_official | 45:b150e0aa009c | 2 | "config": { |
mbed_official | 45:b150e0aa009c | 3 | "network-interface":{ |
mbed_official | 45:b150e0aa009c | 4 | "help": "options are ETHERNET,WIFI,MESH_LOWPAN_ND,MESH_THREAD", |
mbed_official | 45:b150e0aa009c | 5 | "value": "WIFI" |
mbed_official | 45:b150e0aa009c | 6 | }, |
mbed_official | 45:b150e0aa009c | 7 | "wifi-ssid": { |
mbed_official | 45:b150e0aa009c | 8 | "help": "WiFi SSID", |
mbed_official | 45:b150e0aa009c | 9 | "value": "\"SSID\"" |
mbed_official | 45:b150e0aa009c | 10 | }, |
mbed_official | 45:b150e0aa009c | 11 | "wifi-password": { |
mbed_official | 45:b150e0aa009c | 12 | "help": "WiFi Password", |
mbed_official | 45:b150e0aa009c | 13 | "value": "\"Password\"" |
mbed_official | 45:b150e0aa009c | 14 | }, |
mbed_official | 45:b150e0aa009c | 15 | "wifi-tx": { |
mbed_official | 45:b150e0aa009c | 16 | "help": "TX pin for serial connection to external device", |
mbed_official | 45:b150e0aa009c | 17 | "value": "D1" |
mbed_official | 45:b150e0aa009c | 18 | }, |
mbed_official | 45:b150e0aa009c | 19 | "wifi-rx": { |
mbed_official | 45:b150e0aa009c | 20 | "help": "RX pin for serial connection to external device", |
mbed_official | 45:b150e0aa009c | 21 | "value": "D0" |
mbed_official | 45:b150e0aa009c | 22 | } |
mbed_official | 45:b150e0aa009c | 23 | }, |
mbed_official | 45:b150e0aa009c | 24 | "macros": ["MBEDTLS_USER_CONFIG_FILE=\"mbedtls_mbed_client_config.h\""], |
mbed_official | 45:b150e0aa009c | 25 | "target_overrides": { |
mbed_official | 45:b150e0aa009c | 26 | "*": { |
mbed_official | 45:b150e0aa009c | 27 | "target.features_add": ["LWIP", "COMMON_PAL"], |
mbed_official | 45:b150e0aa009c | 28 | "lwip.ipv4-enabled": true, |
mbed_official | 45:b150e0aa009c | 29 | "lwip.ipv6-enabled": false, |
mbed_official | 45:b150e0aa009c | 30 | "mbed-trace.enable": 0 |
mbed_official | 45:b150e0aa009c | 31 | }, |
mbed_official | 45:b150e0aa009c | 32 | "NUCLEO_F401RE": { |
mbed_official | 45:b150e0aa009c | 33 | "wifi-tx": "PA_11", |
mbed_official | 45:b150e0aa009c | 34 | "wifi-rx": "PA_12" |
mbed_official | 45:b150e0aa009c | 35 | }, |
mbed_official | 45:b150e0aa009c | 36 | "NUCLEO_F411RE": { |
mbed_official | 45:b150e0aa009c | 37 | "wifi-tx": "PA_11", |
mbed_official | 45:b150e0aa009c | 38 | "wifi-rx": "PA_12" |
mbed_official | 45:b150e0aa009c | 39 | } |
mbed_official | 45:b150e0aa009c | 40 | } |
mbed_official | 45:b150e0aa009c | 41 | } |