![](/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
debug.cpp
- Committer:
- klauss
- Date:
- 2015-02-12
- Revision:
- 100:09a23fcd3bdf
- Parent:
- 99:e80850c51106
- Child:
- 104:62646ef786a3
File content as of revision 100:09a23fcd3bdf:
#include "debug.h" UDPSocket eth_fw_debug; Endpoint eth_fw_debug_server; void init_fw_debug_eth( void ){ eth_fw_debug_server.set_address( "192.168.30.25" , 6667 ); eth_fw_debug.init(); } char debug_msg1[ 1024+64 ]; char debug_msg2[ 1024 ]; char msg_[ 1024 ]; int eth_fw_debug_pkg( uint8_t * pkg, int size ){ int send = 0; do{ send = eth_fw_debug.sendTo( eth_fw_debug_server, ( char * )pkg, size ); }while( send == 0 ); return send; } bool debug_invite = false; bool debug_sip = false; bool debug_vector = false; bool debug_cb = false; bool debug_main = false; bool debug_cks = false; bool debug_cb_rx = false; bool debug_cb_tx = false; bool debug_eth_rx = false; bool debug_eth_tx = false; bool debug_eth = false; bool debug_prompt_eth = false; bool debug_file = false; bool debug_prompt = false; bool dparallel = false; //bool dparallel = true; bool dbl = false; bool udp_request = false; bool cb_session = false; bool cb_status = false; bool debug_telemetry = false; bool main_test = false; bool test_debug = false; bool debug_aging = false; //bool debug_aging = true; bool debug_wake = false; //bool debug_wake = true; bool debug_cpld = false; bool debug_cks_err = false; bool debug_ping = false; bool debug_refresh = false; bool long_list = false; bool debug_out_of_range = false; bool debug_wdt = false; bool wdt_show = false; bool debug_muted = false; //bool debug_muted = true; //bool debug_rtp = true; bool debug_rtp = false; //bool debug_memory = false; bool debug_memory = false; //bool debug_registry_rcv = true; bool debug_port_match = false; //bool debug_registry_rcv = false; bool debug_boot = false; //bool debug_fw = false; bool debug_fw = true; bool debug_fw_print = false; bool debug_uart3 = false; bool big_bug_pkg = false; bool flood_bug_pkg = false;