bosko lekovic
/
ETHtoCOM_10
nova verzija tcp+udp->serial com
Diff: Ethernet/EthernetSetup.cpp
- Revision:
- 12:cbfc10c15437
- Parent:
- 9:893843262a1f
- Child:
- 18:5ee53205451a
--- a/Ethernet/EthernetSetup.cpp Fri May 01 10:43:05 2020 +0000 +++ b/Ethernet/EthernetSetup.cpp Fri May 01 23:15:28 2020 +0000 @@ -68,9 +68,9 @@ // else { printf("neispravne ip adrese!!!\n\r"); return NULL;} do_ethAddr( ); - if( (err = s_net.p_eth->set_network(s_net.ps_ea->ip, s_net.ps_ea->mask, s_net.ps_ea->gate))!= NSAPI_ERROR_OK ) { printf(" greska setovanja mreze %d \n\r", err); } + if( (err = s_net.p_eth->set_network(s_net.ps_ea->ip, s_net.ps_ea->mask, s_net.ps_ea->gate))!= NSAPI_ERROR_OK ) { printf(" greska setovanja ethernet mreze %d \n\r", err); } - else if( (err = s_net.p_eth->connect()) != NSAPI_ERROR_OK ) { printf(" greska konekcije %d \n\r", err); } + else if( (err = s_net.p_eth->connect()) != NSAPI_ERROR_OK ) { printf(" greska ethernet konekcije %d \n\r", err); } else {