Ciro Edgardo Romero
/
ISE_CEIoT
Proyecto integrador para asignatura de Especialización
Diff: source/main-http-ipv6.cpp
- Branch:
- mbed-os-5.10
- Revision:
- 30:4825e4f38844
- Parent:
- 29:5ad8f931e4ff
- Child:
- 31:66704f6f17c5
diff -r 5ad8f931e4ff -r 4825e4f38844 source/main-http-ipv6.cpp --- a/source/main-http-ipv6.cpp Tue Mar 27 11:57:33 2018 +0200 +++ b/source/main-http-ipv6.cpp Mon Oct 29 14:34:43 2018 +0800 @@ -17,10 +17,9 @@ } int main() { - // Connect to the network (see mbed_app.json for the connectivity method used) - NetworkInterface* network = easy_connect(true); + NetworkInterface* network = connect_to_default_network_interface(); if (!network) { - printf("Cannot connect to the network, see serial output"); + printf("Cannot connect to the network, see serial output\n"); return 1; }