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

Committer:
mbed_official
Date:
Mon Mar 13 13:00:12 2017 +0000
Revision:
71:ec259c9b02ea
Parent:
63:c73f78fd7982
Add STM32 Nucleo & Spirit1 RF

Add STM32 Nucleo & Spirit1 RF support
- Adapt `README.md`
- Integrate Spirit1 with `easy-connect`
- Update `easy-connect.lib`
- Simplify Spirit1 Mac address specification

.
Commit copied from https://github.com/ARMmbed/mbed-os-example-client

Who changed what in which revision?

UserRevisionLine numberNew contents of line
mbed_official 45:b150e0aa009c 1 #!/bin/bash
mbed_official 45:b150e0aa009c 2 #
mbed_official 45:b150e0aa009c 3 set -e
mbed_official 45:b150e0aa009c 4 TOOL=GCC_ARM
mbed_official 45:b150e0aa009c 5
mbed_official 45:b150e0aa009c 6 echo Compiling with $TOOL
mbed_official 63:c73f78fd7982 7 echo Ethernet v4
mbed_official 45:b150e0aa009c 8 cp configs/eth_v4.json ./mbed_app.json
mbed_official 45:b150e0aa009c 9 cp configs/eth-wifi-mbedignore ./.mbedignore
mbed_official 45:b150e0aa009c 10 mbed compile -m K64F -t $TOOL
mbed_official 63:c73f78fd7982 11 cp BUILD/K64F/$TOOL/mbed-os-example-client.bin k64f-$TOOL-eth-v4.bin
mbed_official 71:ec259c9b02ea 12 mbed compile -m NUCLEO_F429ZI -t $TOOL
mbed_official 71:ec259c9b02ea 13 cp ./BUILD/NUCLEO_F429ZI/$TOOL/mbed-os-example-client.bin f429zi-$TOOL-eth-v4.bin
mbed_official 63:c73f78fd7982 14 mbed compile -m UBLOX_EVK_ODIN_W2 -t $TOOL
mbed_official 63:c73f78fd7982 15 cp ./BUILD/UBLOX_EVK_ODIN_W2/$TOOL/mbed-os-example-client.bin ublox-odin-$TOOL-eth-v4.bin
mbed_official 45:b150e0aa009c 16
mbed_official 63:c73f78fd7982 17 echo Ethernet v6
mbed_official 45:b150e0aa009c 18 cp configs/eth_v6.json ./mbed_app.json
mbed_official 45:b150e0aa009c 19 cp configs/eth-wifi-mbedignore ./.mbedignore
mbed_official 45:b150e0aa009c 20 mbed compile -m K64F -t $TOOL
mbed_official 63:c73f78fd7982 21 cp BUILD/K64F/$TOOL/mbed-os-example-client.bin k64f-$TOOL-eth-v6.bin
mbed_official 71:ec259c9b02ea 22 mbed compile -m NUCLEO_F429ZI -t $TOOL
mbed_official 71:ec259c9b02ea 23 cp ./BUILD/NUCLEO_F429ZI/$TOOL/mbed-os-example-client.bin f429zi-$TOOL-eth-v4.bin
mbed_official 63:c73f78fd7982 24 mbed compile -m UBLOX_EVK_ODIN_W2 -t $TOOL
mbed_official 63:c73f78fd7982 25 cp ./BUILD/UBLOX_EVK_ODIN_W2/$TOOL/mbed-os-example-client.bin ublox-odin-$TOOL-eth-v6.bin
mbed_official 45:b150e0aa009c 26
mbed_official 63:c73f78fd7982 27 echo WIFI - ESP8266
mbed_official 63:c73f78fd7982 28 cp configs/wifi_esp8266_v4.json ./mbed_app.json
mbed_official 45:b150e0aa009c 29 cp configs/eth-wifi-mbedignore ./.mbedignore
mbed_official 45:b150e0aa009c 30 mbed compile -m K64F -t $TOOL
mbed_official 63:c73f78fd7982 31 cp BUILD/K64F/$TOOL/mbed-os-example-client.bin k64f-$TOOL-esp-wifi-v4.bin
mbed_official 71:ec259c9b02ea 32 mbed compile -m NUCLEO_F429ZI -t $TOOL
mbed_official 71:ec259c9b02ea 33 cp ./BUILD/NUCLEO_F429ZI/$TOOL/mbed-os-example-client.bin f429zi-$TOOL-esp-wifi-v4.bin
mbed_official 63:c73f78fd7982 34
mbed_official 63:c73f78fd7982 35 echo WIFI - ODIN for UBLOX_EVK_ODIN_W2
mbed_official 63:c73f78fd7982 36 cp configs/wifi_odin_v4.json ./mbed_app.json
mbed_official 63:c73f78fd7982 37 cp configs/eth-wifi-mbedignore ./.mbedignore
mbed_official 45:b150e0aa009c 38 mbed compile -m UBLOX_EVK_ODIN_W2 -t $TOOL
mbed_official 63:c73f78fd7982 39 cp ./BUILD/UBLOX_EVK_ODIN_W2/$TOOL/mbed-os-example-client.bin ublox-odin-$TOOL-wifi-v4.bin
mbed_official 45:b150e0aa009c 40
mbed_official 63:c73f78fd7982 41 echo 6-Lowpan builds
mbed_official 45:b150e0aa009c 42 cp configs/mesh_6lowpan.json ./mbed_app.json
mbed_official 45:b150e0aa009c 43 cp configs/mesh-mbedignore ./.mbedignore
mbed_official 45:b150e0aa009c 44 mbed compile -m K64F -t $TOOL
mbed_official 63:c73f78fd7982 45 cp BUILD/K64F/$TOOL/mbed-os-example-client.bin k64f-$TOOL-6lowpan.bin
mbed_official 71:ec259c9b02ea 46 mbed compile -m NUCLEO_F429ZI -t $TOOL
mbed_official 71:ec259c9b02ea 47 cp ./BUILD/NUCLEO_F429ZI/$TOOL/mbed-os-example-client.bin f429zi-$TOOL-6lowpan.bin
mbed_official 71:ec259c9b02ea 48
mbed_official 71:ec259c9b02ea 49 echo 6-Lowpan Sub-1 GHz builds
mbed_official 71:ec259c9b02ea 50 cp configs/mesh_6lowpan_subg.json ./mbed_app.json
mbed_official 71:ec259c9b02ea 51 cp configs/mesh-mbedignore ./.mbedignore
mbed_official 71:ec259c9b02ea 52 mbed compile -m NUCLEO_F429ZI -t $TOOL
mbed_official 71:ec259c9b02ea 53 cp ./BUILD/NUCLEO_F429ZI/$TOOL/mbed-os-example-client.bin f429zi-$TOOL-6lowpan-subg.bin
mbed_official 45:b150e0aa009c 54
mbed_official 63:c73f78fd7982 55 echo Thread builds
mbed_official 45:b150e0aa009c 56 cp configs/mesh_thread.json ./mbed_app.json
mbed_official 45:b150e0aa009c 57 cp configs/mesh-mbedignore ./.mbedignore
mbed_official 45:b150e0aa009c 58 mbed compile -m K64F -t $TOOL
mbed_official 63:c73f78fd7982 59 cp BUILD/K64F/$TOOL/mbed-os-example-client.bin k64f-$TOOL-Thread.bin
mbed_official 71:ec259c9b02ea 60 mbed compile -m NUCLEO_F429ZI -t $TOOL
mbed_official 71:ec259c9b02ea 61 cp ./BUILD/NUCLEO_F429ZI/$TOOL/mbed-os-example-client.bin f429zi-$TOOL-Thread.bin