![](/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-01-11
- Revision:
- 98:43b45f26b430
- Parent:
- 89:0fe315117b00
- Child:
- 99:e80850c51106
File content as of revision 98:43b45f26b430:
#include "debug.h" UDPSocket debug; Endpoint debug_server; char debug_msg1[ 1024+64 ]; char debug_msg2[ 1024 ]; char msg_[ 1024 ]; void debug_pkg( int size, uint8_t * pkg ){ /* if (debug_alive == true){ static uint8_t i=0; strcpy( debug_msg1, "Pkg " ); memcpy( debug_msg1+5, pkg, size ); debug_msg1[ 4 ] = i++; debug.sendTo( debug_server, debug_msg1, size+5 ); }else {} */ return; } bool debug_invite = false; //bool debug_invite = true; bool debug_sip = false; //bool debug_sip = true; 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 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;