![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
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
configs/eth_v6.json@62:077cbce2bd10, 2017-02-02 (annotated)
- Committer:
- mbed_official
- Date:
- Thu Feb 02 08:30:11 2017 +0000
- Revision:
- 62:077cbce2bd10
- Parent:
- 45:b150e0aa009c
- Child:
- 63:c73f78fd7982
UBLOX_EVK_ODIN_W2 ethernet support
You can get the ethernet working on the UBLOX, if you modify the
mbed_app.json - eth configs changed to match the need (you need
to drop the "EMAC" in case of UBLOX).
cp configs/eth_v4.json mbed_app.json
cp configs/eth-wifi-mbedignore .mbedignore
mbed compile -m UBLOX_EVK_ODIN_W2
yields a working ethernet binary for UBLOX.
.
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": "ETHERNET" |
mbed_official | 45:b150e0aa009c | 6 | } |
mbed_official | 45:b150e0aa009c | 7 | }, |
mbed_official | 45:b150e0aa009c | 8 | "macros": ["MBEDTLS_USER_CONFIG_FILE=\"mbedtls_mbed_client_config.h\""], |
mbed_official | 45:b150e0aa009c | 9 | "target_overrides": { |
mbed_official | 45:b150e0aa009c | 10 | "*": { |
mbed_official | 45:b150e0aa009c | 11 | "target.features_add": ["LWIP", "COMMON_PAL"], |
mbed_official | 45:b150e0aa009c | 12 | "lwip.ipv4-enabled": false, |
mbed_official | 45:b150e0aa009c | 13 | "lwip.ipv6-enabled": true, |
mbed_official | 45:b150e0aa009c | 14 | "mbed-trace.enable": 0 |
mbed_official | 62:077cbce2bd10 | 15 | }, |
mbed_official | 62:077cbce2bd10 | 16 | "UBLOX_EVK_ODIN_W2": { |
mbed_official | 62:077cbce2bd10 | 17 | "target.device_has_remove": ["EMAC"] |
mbed_official | 45:b150e0aa009c | 18 | } |
mbed_official | 45:b150e0aa009c | 19 | } |
mbed_official | 45:b150e0aa009c | 20 | } |