![](/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:
- 2014-11-25
- Revision:
- 76:9f5f99dd895a
- Parent:
- 75:bd3c647b860b
- Child:
- 77:e8c0253b57bc
File content as of revision 76:9f5f99dd895a:
#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 == 1){ 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 {} } 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_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;