Modified version of easy-connect for W5500 Ethernet components
Dependents: http-webserver-example mbed-os-example-sockets
Fork of easy-connect by
Diff: easy-connect.cpp
- Revision:
- 5:d81e6bc35f60
- Parent:
- 4:a6b064717635
- Child:
- 6:307d527714cf
--- a/easy-connect.cpp Fri Aug 10 04:22:03 2018 +0000 +++ b/easy-connect.cpp Fri Aug 10 08:51:54 2018 +0000 @@ -300,7 +300,7 @@ uint8_t mac_addr[6] = {0x00, 0x08, 0xdc, 0x45, 0x56, 0x67}; eth.init(mac_addr); -// 이부분은 W5500Interface 의 connect 함수로 옮기는 게 맞을 듯 하다... +// it might be better to move this DHCP code into W5500Interface if (log_messages) { printf("[EasyConnect] DHCP start\n"); } @@ -330,10 +330,6 @@ #endif connect_success = eth.connect(); - if (log_messages) { - print_MAC(network_interface, log_messages); - } - #endif #ifdef EASY_CONNECT_MESH