Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: EALib EthernetInterface_vz mbed-rtos mbed
Fork of header_main_colinas_V0-20-09-14 by
debug.cpp
00001 #include "debug.h" 00002 00003 UDPSocket eth_fw_debug; 00004 Endpoint eth_fw_debug_server; 00005 00006 uint16_t miss_debug_fw_send_pkg = 0; 00007 uint16_t miss_sip_registry_send_pkg = 0; 00008 uint16_t miss_sip_invite_send_pkg = 0; 00009 uint16_t miss_sip_bye_send_pkg = 0; 00010 uint16_t miss_sip_ok_send_pkg = 0; 00011 uint16_t miss_sip_rcv_bye_send_pkg = 0; 00012 uint16_t miss_wdt_send_pkg = 0; 00013 uint16_t miss_sip_inc_pkg = 0; 00014 uint16_t miss_udp_prompt_send_pkg = 0; 00015 uint16_t miss_clock_send_pkg = 0; 00016 00017 bool debug_pair = false; 00018 bool debug_clock = false; 00019 bool debug_invite = false; 00020 bool debug_sip = false; 00021 bool debug_vector = false; 00022 bool debug_cb = false; 00023 bool debug_main = false; 00024 bool debug_cks = false; 00025 bool debug_cb_rx = false; 00026 bool debug_cb_tx = false; 00027 bool debug_eth_rx = false; 00028 bool debug_eth_tx = false; 00029 bool debug_eth = false; 00030 bool debug_file = false; 00031 bool debug_prompt = false; 00032 bool dparallel = false; 00033 bool dbl = false; 00034 bool cb_session = false; 00035 bool cb_status = false; 00036 bool debug_telemetry = false; 00037 bool main_test = false; 00038 bool main_test_mean = false; 00039 bool test_debug = false; 00040 bool debug_aging = false; 00041 bool debug_wake = false; 00042 bool debug_cpld = false; 00043 bool debug_cks_err = false; 00044 bool debug_ping = false; 00045 bool debug_refresh = false; 00046 bool long_list = false; 00047 bool debug_out_of_range = false; 00048 bool debug_wdt = false; 00049 bool wdt_show = false; 00050 bool debug_muted = false; 00051 bool debug_rtp = false; 00052 bool debug_memory = false; 00053 bool debug_port_match = false; 00054 bool debug_boot = false; 00055 bool debug_fw = false; 00056 bool debug_fw_print = false; 00057 bool debug_uart3 = false; 00058 bool big_bug_pkg = false; 00059 bool flood_bug_pkg = false; 00060 bool dshow_rtp = false; 00061 bool dcallshow_rtp = false; 00062 uint16_t deleted_sip = 0; 00063 bool print_v_cb = false; 00064 bool print_v_call = false; 00065 bool print_cb_var = false; 00066 bool print_cb_all = false; 00067 bool print_hex_cb_var = false; 00068 bool print_hex_cb_all = false; 00069 bool debug_alloc_vz_call = false; 00070 00071 bool print_sip_var = false; 00072 bool print_sip_all = false; 00073 bool print_hex_sip_var = false; 00074 bool print_hex_sip_all = false; 00075 00076 bool print_rtp_var = false; 00077 bool print_rtp_all = false; 00078 bool print_hex_rtp_var = false; 00079 bool print_hex_rtp_all = false; 00080 00081 bool print_call_var = false; 00082 bool print_call_all = false; 00083 bool print_hex_call_var = false; 00084 bool print_hex_call_all = false; 00085 00086 bool print_values = false; 00087 bool frtp = false; 00088 bool rescue_rtp = false; 00089 bool drop_invite_pkg = false; 00090 bool drop_entendi_pkg = false; 00091 bool drop_invite_to_ast_pkg = false; 00092 bool drop_ok_pkg = false; 00093 bool drop_ack_pkg = false; 00094 bool drop_rtp_from_ast_pkg = false; 00095 bool drop_rtp_from_cbx_pkg = false; 00096 bool registra = false; 00097 bool registra4 = false; 00098 bool debug_dont_refresh = false; 00099 bool drop_registry_pkg = false; 00100 bool received_audio_from_cb = false; 00101 bool debug_reconnect = false; 00102 uint16_t miss_rtp_udp_send_pkg = 0; 00103 bool sizes = false; 00104 bool debug_show_tx_cpld = false; 00105 bool debug_show_rx_cpld = false; 00106 bool debug_gp = false; 00107 bool missed_send_udp_pkg = false; 00108 bool reset_missed_send_udp_pkg = false; 00109 bool debug_missed = false; 00110 bool show_uptime = false; 00111 bool debug_reset_rtp = false; 00112 bool debug_bootloader = false; 00113 bool debug_bind = false; 00114 bool debug_app_init = true; 00115 bool debug_string_length = false; 00116 bool show_current_time = false; 00117 bool dmissed_wdt = false; 00118 bool debug_hello = false; 00119 bool debug_sqn = false; 00120 bool test_ts = false; 00121 bool debug_pwr_src = false; 00122 bool debug_print_clock = false; 00123 bool debug_resend_invite = false; 00124 uint16_t miss_rtp_udp_rcv_pkg = 0; 00125 00126 char debug_msg1 [ DEBUG_MSG_SIZE + DEBUG_AUX_MSG_SIZE ]; 00127 00128 char debug_msg2 [ DEBUG_MSG_SIZE ]; 00129 00130 char msg_ [ DEBUG_MSG_SIZE ];
Generated on Tue Jul 12 2022 16:25:03 by
