Modularizando o src
Dependencies: EALib EthernetInterface_vz mbed-rtos mbed
Fork of header_main_colinas_V0-20-09-14 by
Diff: utils.cpp
- Revision:
- 56:c64bcbaa621a
- Parent:
- 55:2f5e7374af9d
- Child:
- 58:af7e8788f106
diff -r 2f5e7374af9d -r c64bcbaa621a utils.cpp --- a/utils.cpp Wed Oct 22 22:32:26 2014 +0000 +++ b/utils.cpp Thu Oct 23 14:35:28 2014 +0000 @@ -257,11 +257,7 @@ int bind = t_sock.bind( __TELEMETRY_HEADER_PORT__ ); if( debug_telemetry ) send_msg("Valor de retorno bind -- %d", bind ); - - //int init = t_sock.init(); - //if( debug_telemetry ) send_msg("Valor de retorno init -- %d", init ); - - //int ret = t_sock.sendTo( t_server, aux, strlen( aux ) ); + int ret = t_sock.sendTo( t_server, aux, __CB_BUFFER_SIZE__ ); if( debug_telemetry ) send_msg("Valor de retorno sent-- %d", ret );