![](/media/cache/group/default_image.jpg.50x50_q85.jpg)
Modularizando o src
Dependencies: EALib EthernetInterface_vz mbed-rtos mbed
Fork of header_main_colinas_V0-20-09-14 by
Diff: eth.h
- Revision:
- 45:c80574f24dc3
- Parent:
- 44:cc4996469404
--- a/eth.h Mon Oct 06 19:26:36 2014 +0000 +++ b/eth.h Tue Oct 07 12:10:36 2014 +0000 @@ -41,6 +41,7 @@ } char * listen_eth_udp( char * buffer, int *length ){ + /* static UDPSocket server; server.set_blocking( false, 2 ); server.bind( UDP_PORT_LISTENER ); @@ -55,7 +56,7 @@ static uint8_t seq_num = 0; // OBS sizeof( buffer ) == 4 ???? - //*length = server.receiveFrom( client, buffer, sizeof( buffer ) ); + //length = server.receiveFrom( client, buffer, sizeof( buffer ) ); *length = server.receiveFrom( client, buffer, __PROMPT_ETH_BUFFER_SIZE__ ); if( *length > 0){ @@ -153,6 +154,8 @@ }else return( buffer ); }else return( NULL ); return( NULL ); + */ + return( NULL ); } #endif \ No newline at end of file