Modularizando o src

Dependencies:   EALib EthernetInterface_vz mbed-rtos mbed

Fork of header_main_colinas_V0-20-09-14 by VZTECH

Revision:
66:3f1d22e69e7b
Parent:
65:0b653cfe95db
Child:
67:cdedc64d9921
diff -r 0b653cfe95db -r 3f1d22e69e7b prompt.cpp
--- a/prompt.cpp	Tue Oct 28 18:33:47 2014 +0000
+++ b/prompt.cpp	Tue Oct 28 18:35:48 2014 +0000
@@ -1460,6 +1460,17 @@
                     udp_server.sendTo( udp_client, debug_buf, strlen( debug_buf ) );
                 }
             }
+            
+            pc.printf("-- ext                          - Header flood off, ext flood off\n\r");
+            if( from_eth ){
+                snprintf( debug_buf,__PROMPT_ETH_BUFFER_SIZE__, "++ ext                          - Header flood on, ext flood on\n\r");
+                if( tcp_session ) tcp_client.send_all( debug_buf, strlen( debug_buf ) );
+                
+                else if( udp_request ){
+                    udp_server.sendTo( udp_client, debug_buf, strlen( debug_buf ) );
+                }
+            }
+            
             pc.printf("rx                              - Exibe ultimo pacote recebido dos CBx\n\r");
             if( from_eth ){
                 snprintf( debug_buf,__PROMPT_ETH_BUFFER_SIZE__, "rx                              - Exibe ultimo pacote recebido dos CBx\n\r");