![](/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-09-14
- Revision:
- 136:2da626f30efa
- Parent:
- 135:2f4290590e51
File content as of revision 136:2da626f30efa:
#include "debug.h" UDPSocket eth_fw_debug; Endpoint eth_fw_debug_server; uint16_t miss_debug_fw_send_pkg = 0; uint16_t miss_sip_registry_send_pkg = 0; uint16_t miss_sip_invite_send_pkg = 0; uint16_t miss_sip_bye_send_pkg = 0; uint16_t miss_sip_ok_send_pkg = 0; uint16_t miss_sip_rcv_bye_send_pkg = 0; uint16_t miss_wdt_send_pkg = 0; uint16_t miss_sip_inc_pkg = 0; uint16_t miss_udp_prompt_send_pkg = 0; uint16_t miss_clock_send_pkg = 0; bool debug_pair = false; bool debug_clock = false; 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_file = false; bool debug_prompt = false; bool dparallel = false; bool dbl = false; bool cb_session = false; bool cb_status = false; bool debug_telemetry = false; bool main_test = false; bool main_test_mean = false; bool test_debug = false; bool debug_aging = false; bool debug_wake = false; 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_rtp = false; bool debug_memory = false; bool debug_port_match = false; bool debug_boot = false; bool debug_fw = false; bool debug_fw_print = false; bool debug_uart3 = false; bool big_bug_pkg = false; bool flood_bug_pkg = false; bool dshow_rtp = false; bool dcallshow_rtp = false; uint16_t deleted_sip = 0; bool print_v_cb = false; bool print_v_call = false; bool print_cb_var = false; bool print_cb_all = false; bool print_hex_cb_var = false; bool print_hex_cb_all = false; bool debug_alloc_vz_call = false; bool print_sip_var = false; bool print_sip_all = false; bool print_hex_sip_var = false; bool print_hex_sip_all = false; bool print_rtp_var = false; bool print_rtp_all = false; bool print_hex_rtp_var = false; bool print_hex_rtp_all = false; bool print_call_var = false; bool print_call_all = false; bool print_hex_call_var = false; bool print_hex_call_all = false; bool print_values = false; bool frtp = false; bool rescue_rtp = false; bool drop_invite_pkg = false; bool drop_entendi_pkg = false; bool drop_invite_to_ast_pkg = false; bool drop_ok_pkg = false; bool drop_ack_pkg = false; bool drop_rtp_from_ast_pkg = false; bool drop_rtp_from_cbx_pkg = false; bool registra = false; bool registra4 = false; bool debug_dont_refresh = false; bool drop_registry_pkg = false; bool received_audio_from_cb = false; bool debug_reconnect = false; uint16_t miss_rtp_udp_send_pkg = 0; bool sizes = false; bool debug_show_tx_cpld = false; bool debug_show_rx_cpld = false; bool debug_gp = false; bool missed_send_udp_pkg = false; bool reset_missed_send_udp_pkg = false; bool debug_missed = false; bool show_uptime = false; bool debug_reset_rtp = false; bool debug_bootloader = false; bool debug_bind = false; bool debug_app_init = true; bool debug_string_length = false; bool show_current_time = false; bool dmissed_wdt = false; bool debug_hello = false; bool debug_sqn = false; bool test_ts = false; bool debug_pwr_src = false; bool debug_print_clock = false; bool debug_resend_invite = false; uint16_t miss_rtp_udp_rcv_pkg = 0; char debug_msg1 [ DEBUG_MSG_SIZE + DEBUG_AUX_MSG_SIZE ]; char debug_msg2 [ DEBUG_MSG_SIZE ]; char msg_ [ DEBUG_MSG_SIZE ];