Simple Mbed Cloud client application for NuMaker-PFM-M487 and NuMaker-PFM-NUC472 over Ethernet.
This application contains the example codes to:
1) Connect PFM-M487/PFM-NUC472 boards to Pelion
2) Enable Firmware update
For storage, PFM-M487/PFM-NUC472 support both SPI interface SD and built-in SD bus SD.
For connectivity, PFM-M487/PFM-NUC472 support Ethernet (on-board) by default.
This example supports Ethernet and built-in SD by default.
Diff: main.cpp
- Revision:
- 8:ed66653e5a22
- Parent:
- 7:6aee86899520
- Child:
- 11:beac893830b4
--- a/main.cpp Mon Oct 08 16:42:08 2018 +0800 +++ b/main.cpp Tue Oct 09 13:07:10 2018 +0800 @@ -102,11 +102,7 @@ int main(void) { printf("Starting Simple Mbed Cloud Client example\n"); -#if MBED_CONF_TARGET_NETWORK_DEFAULT_INTERFACE_TYPE == ETHERNET printf("Connecting to the network using Ethernet...\n"); -#elif MBED_CONF_TARGET_NETWORK_DEFAULT_INTERFACE_TYPE == WIFI - printf("Connecting to the network using WiFi...\n"); -#endif // Connect to the internet (DHCP is expected to be on) net = NetworkInterface::get_default_instance();