![](/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: file_system_manager.cpp
- Revision:
- 105:a930035b6556
- Parent:
- 104:62646ef786a3
- Child:
- 106:a34fcf9f0e02
--- a/file_system_manager.cpp Wed Feb 25 18:44:11 2015 +0000 +++ b/file_system_manager.cpp Tue Mar 10 18:10:57 2015 +0000 @@ -125,20 +125,23 @@ buff[ num ] = '\0'; if( debug_uart3 && !( from_eth ) ) pc.printf( buff ); if( from_eth ){ - if( tcp_session ) while( !( tcp_client.send_all( buff, strlen( buff ) ) ) ); + if( tcp_session && !udp_query ) while( !( tcp_client.send_all( buff, strlen( buff ) ) ) ); - else if( udp_request ){ - int send = udp_server.sendTo( udp_client, buff, strlen( buff ) ); + else if( udp_query ){ + //FIXME mudar isso para udp_query_send_msg + udp_query_send_msg( buff ); + /* + int send = udp_client.sendTo( udp_server, buff, strlen( buff ) ); if( send != strlen( buff ) ) { if( debug_reconnect ) { - send_msg("Reconnect UDP_request client"); + send_msg("Reconnect udp_query client"); } reconnect_prompt_udp_socket(); miss_prompt_udp_send_pkg++; - } + }*/ } } }