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
Diff: build_all.sh
- Revision:
- 63:c73f78fd7982
- Parent:
- 45:b150e0aa009c
- Child:
- 71:ec259c9b02ea
--- a/build_all.sh Thu Feb 02 08:30:11 2017 +0000 +++ b/build_all.sh Wed Feb 15 08:00:11 2017 +0000 @@ -4,37 +4,52 @@ TOOL=GCC_ARM echo Compiling with $TOOL +echo Ethernet v4 cp configs/eth_v4.json ./mbed_app.json cp configs/eth-wifi-mbedignore ./.mbedignore mbed compile -m K64F -t $TOOL -cp BUILD/K64F/GCC_ARM/mbed-os-example-client.bin k64f-$TOOL-eth-v4.bin +cp BUILD/K64F/$TOOL/mbed-os-example-client.bin k64f-$TOOL-eth-v4.bin mbed compile -m NUCLEO_F439ZI -t $TOOL -cp ./BUILD/NUCLEO_F439ZI/GCC_ARM/mbed-os-example-client.bin f439zi-$TOOL-eth-v4.bin +cp ./BUILD/NUCLEO_F439ZI/$TOOL/mbed-os-example-client.bin f439zi-$TOOL-eth-v4.bin +mbed compile -m UBLOX_EVK_ODIN_W2 -t $TOOL +cp ./BUILD/UBLOX_EVK_ODIN_W2/$TOOL/mbed-os-example-client.bin ublox-odin-$TOOL-eth-v4.bin +echo Ethernet v6 cp configs/eth_v6.json ./mbed_app.json cp configs/eth-wifi-mbedignore ./.mbedignore mbed compile -m K64F -t $TOOL -cp BUILD/K64F/GCC_ARM/mbed-os-example-client.bin k64f-$TOOL-eth-v6.bin +cp BUILD/K64F/$TOOL/mbed-os-example-client.bin k64f-$TOOL-eth-v6.bin mbed compile -m NUCLEO_F439ZI -t $TOOL -cp ./BUILD/NUCLEO_F439ZI/GCC_ARM/mbed-os-example-client.bin f439zi-$TOOL-eth-v4.bin +cp ./BUILD/NUCLEO_F439ZI/$TOOL/mbed-os-example-client.bin f439zi-$TOOL-eth-v4.bin +mbed compile -m UBLOX_EVK_ODIN_W2 -t $TOOL +cp ./BUILD/UBLOX_EVK_ODIN_W2/$TOOL/mbed-os-example-client.bin ublox-odin-$TOOL-eth-v6.bin -cp configs/wifi_v4.json ./mbed_app.json +echo WIFI - ESP8266 +cp configs/wifi_esp8266_v4.json ./mbed_app.json cp configs/eth-wifi-mbedignore ./.mbedignore mbed compile -m K64F -t $TOOL -cp BUILD/K64F/GCC_ARM/mbed-os-example-client.bin k64f-$TOOL-wifi-v4.bin +cp BUILD/K64F/$TOOL/mbed-os-example-client.bin k64f-$TOOL-esp-wifi-v4.bin +mbed compile -m NUCLEO_F439ZI -t $TOOL +cp ./BUILD/NUCLEO_F439ZI/$TOOL/mbed-os-example-client.bin f439zi-$TOOL-esp-wifi-v4.bin + +echo WIFI - ODIN for UBLOX_EVK_ODIN_W2 +cp configs/wifi_odin_v4.json ./mbed_app.json +cp configs/eth-wifi-mbedignore ./.mbedignore mbed compile -m UBLOX_EVK_ODIN_W2 -t $TOOL -cp ./BUILD/UBLOX_EVK_ODIN_W2/GCC_ARM/mbed-os-example-client.bin ublox-odin-$TOOL-wifi-v4.bin +cp ./BUILD/UBLOX_EVK_ODIN_W2/$TOOL/mbed-os-example-client.bin ublox-odin-$TOOL-wifi-v4.bin +echo 6-Lowpan builds cp configs/mesh_6lowpan.json ./mbed_app.json cp configs/mesh-mbedignore ./.mbedignore mbed compile -m K64F -t $TOOL -cp BUILD/K64F/GCC_ARM/mbed-os-example-client.bin k64f-$TOOL-6lowpan.bin +cp BUILD/K64F/$TOOL/mbed-os-example-client.bin k64f-$TOOL-6lowpan.bin mbed compile -m NUCLEO_F439ZI -t $TOOL -cp ./BUILD/NUCLEO_F439ZI/GCC_ARM/mbed-os-example-client.bin f439zi-$TOOL-6lowpan.bin +cp ./BUILD/NUCLEO_F439ZI/$TOOL/mbed-os-example-client.bin f439zi-$TOOL-6lowpan.bin +echo Thread builds cp configs/mesh_thread.json ./mbed_app.json cp configs/mesh-mbedignore ./.mbedignore mbed compile -m K64F -t $TOOL -cp BUILD/K64F/GCC_ARM/mbed-os-example-client.bin k64f-$TOOL-Thread.bin +cp BUILD/K64F/$TOOL/mbed-os-example-client.bin k64f-$TOOL-Thread.bin mbed compile -m NUCLEO_F439ZI -t $TOOL -cp ./BUILD/NUCLEO_F439ZI/GCC_ARM/mbed-os-example-client.bin f439zi-$TOOL-Thread.bin \ No newline at end of file +cp ./BUILD/NUCLEO_F439ZI/$TOOL/mbed-os-example-client.bin f439zi-$TOOL-Thread.bin