![](/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@119:ee6a53069455, 2015-04-30 (annotated)
- Committer:
- klauss
- Date:
- Thu Apr 30 15:42:41 2015 +0000
- Revision:
- 119:ee6a53069455
- Parent:
- 117:e9facba9db27
- Child:
- 120:770f00554b1e
funcionalidade - clock "ogro" - implementada
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
klauss | 0:4d17cd9c8f9d | 1 | #include "debug.h" |
klauss | 0:4d17cd9c8f9d | 2 | |
klauss | 109:a5b8264ffbbc | 3 | UDPSocket eth_fw_debug; |
klauss | 109:a5b8264ffbbc | 4 | Endpoint eth_fw_debug_server; |
klauss | 109:a5b8264ffbbc | 5 | |
klauss | 0:4d17cd9c8f9d | 6 | char debug_msg1[ 1024+64 ]; |
klauss | 0:4d17cd9c8f9d | 7 | char debug_msg2[ 1024 ]; |
klauss | 48:195c97f12e8e | 8 | char msg_[ 1024 ]; |
klauss | 0:4d17cd9c8f9d | 9 | |
klauss | 119:ee6a53069455 | 10 | uint16_t miss_debug_fw_send_pkg = 0; |
klauss | 119:ee6a53069455 | 11 | uint16_t miss_sip_registry_send_pkg = 0; |
klauss | 119:ee6a53069455 | 12 | uint16_t miss_sip_invite_send_pkg = 0; |
klauss | 119:ee6a53069455 | 13 | uint16_t miss_sip_bye_send_pkg = 0; |
klauss | 119:ee6a53069455 | 14 | uint16_t miss_sip_unregistry_send_pkg = 0; |
klauss | 119:ee6a53069455 | 15 | uint16_t miss_sip_ok_send_pkg = 0; |
klauss | 119:ee6a53069455 | 16 | uint16_t miss_sip_rcv_bye_send_pkg = 0; |
klauss | 119:ee6a53069455 | 17 | uint16_t miss_wdt_send_pkg = 0; |
klauss | 119:ee6a53069455 | 18 | uint16_t miss_sip_inc_pkg = 0; |
klauss | 119:ee6a53069455 | 19 | uint16_t miss_udp_prompt_send_pkg = 0; |
klauss | 119:ee6a53069455 | 20 | uint16_t miss_closk_send_pkg = 0; |
klauss | 117:e9facba9db27 | 21 | |
klauss | 119:ee6a53069455 | 22 | bool debug_clock = false; |
klauss | 89:0fe315117b00 | 23 | bool debug_invite = false; |
klauss | 109:a5b8264ffbbc | 24 | bool debug_sip = false; |
klauss | 75:bd3c647b860b | 25 | bool debug_vector = false; |
klauss | 75:bd3c647b860b | 26 | bool debug_cb = false; |
klauss | 75:bd3c647b860b | 27 | bool debug_main = false; |
klauss | 75:bd3c647b860b | 28 | bool debug_cks = false; |
klauss | 75:bd3c647b860b | 29 | bool debug_cb_rx = false; |
klauss | 75:bd3c647b860b | 30 | bool debug_cb_tx = false; |
klauss | 75:bd3c647b860b | 31 | bool debug_eth_rx = false; |
klauss | 75:bd3c647b860b | 32 | bool debug_eth_tx = false; |
klauss | 81:3656f00ab3db | 33 | bool debug_eth = false; |
klauss | 75:bd3c647b860b | 34 | bool debug_prompt_eth = false; |
klauss | 109:a5b8264ffbbc | 35 | bool debug_file = false; |
klauss | 75:bd3c647b860b | 36 | bool debug_prompt = false; |
klauss | 100:09a23fcd3bdf | 37 | bool dparallel = false; |
klauss | 74:81c47fff88a5 | 38 | bool dbl = false; |
klauss | 109:a5b8264ffbbc | 39 | bool udp_request = false; |
klauss | 74:81c47fff88a5 | 40 | bool cb_session = false; |
klauss | 74:81c47fff88a5 | 41 | bool cb_status = false; |
klauss | 74:81c47fff88a5 | 42 | bool debug_telemetry = false; |
klauss | 74:81c47fff88a5 | 43 | bool main_test = false; |
klauss | 78:1353744f01e1 | 44 | bool test_debug = false; |
klauss | 78:1353744f01e1 | 45 | bool debug_aging = false; |
klauss | 78:1353744f01e1 | 46 | bool debug_wake = false; |
klauss | 78:1353744f01e1 | 47 | bool debug_cpld = false; |
klauss | 78:1353744f01e1 | 48 | bool debug_cks_err = false; |
klauss | 81:3656f00ab3db | 49 | bool debug_ping = false; |
klauss | 81:3656f00ab3db | 50 | bool debug_refresh = false; |
klauss | 81:3656f00ab3db | 51 | bool long_list = false; |
klauss | 81:3656f00ab3db | 52 | bool debug_out_of_range = false; |
klauss | 81:3656f00ab3db | 53 | bool debug_wdt = false; |
klauss | 81:3656f00ab3db | 54 | bool wdt_show = false; |
klauss | 100:09a23fcd3bdf | 55 | bool debug_muted = false; |
klauss | 119:ee6a53069455 | 56 | bool debug_rtp = false; |
klauss | 98:43b45f26b430 | 57 | bool debug_memory = false; |
klauss | 98:43b45f26b430 | 58 | bool debug_port_match = false; |
klauss | 99:e80850c51106 | 59 | bool debug_boot = false; |
klauss | 119:ee6a53069455 | 60 | bool debug_fw = false; |
klauss | 99:e80850c51106 | 61 | bool debug_fw_print = false; |
klauss | 100:09a23fcd3bdf | 62 | bool debug_uart3 = false; |
klauss | 100:09a23fcd3bdf | 63 | bool big_bug_pkg = false; |
klauss | 100:09a23fcd3bdf | 64 | bool flood_bug_pkg = false; |
klauss | 114:472502b31a12 | 65 | bool dshow_rtp = false; |
klauss | 114:472502b31a12 | 66 | bool dcallshow_rtp = false; |
klauss | 109:a5b8264ffbbc | 67 | uint16_t deleted_sip = 0; |
klauss | 109:a5b8264ffbbc | 68 | bool print_v_cb = false; |
klauss | 109:a5b8264ffbbc | 69 | bool print_v_call = false; |
klauss | 109:a5b8264ffbbc | 70 | bool print_cb_var = false; |
klauss | 109:a5b8264ffbbc | 71 | bool print_cb_all = false; |
klauss | 109:a5b8264ffbbc | 72 | bool print_hex_cb_var = false; |
klauss | 109:a5b8264ffbbc | 73 | bool print_hex_cb_all = false; |
klauss | 109:a5b8264ffbbc | 74 | |
klauss | 109:a5b8264ffbbc | 75 | bool print_sip_var = false; |
klauss | 109:a5b8264ffbbc | 76 | bool print_sip_all = false; |
klauss | 109:a5b8264ffbbc | 77 | bool print_hex_sip_var = false; |
klauss | 109:a5b8264ffbbc | 78 | bool print_hex_sip_all = false; |
klauss | 109:a5b8264ffbbc | 79 | |
klauss | 109:a5b8264ffbbc | 80 | bool print_rtp_var = false; |
klauss | 109:a5b8264ffbbc | 81 | bool print_rtp_all = false; |
klauss | 109:a5b8264ffbbc | 82 | bool print_hex_rtp_var = false; |
klauss | 109:a5b8264ffbbc | 83 | bool print_hex_rtp_all = false; |
klauss | 109:a5b8264ffbbc | 84 | |
klauss | 109:a5b8264ffbbc | 85 | bool print_call_var = false; |
klauss | 109:a5b8264ffbbc | 86 | bool print_call_all = false; |
klauss | 109:a5b8264ffbbc | 87 | bool print_hex_call_var = false; |
klauss | 109:a5b8264ffbbc | 88 | bool print_hex_call_all = false; |
klauss | 109:a5b8264ffbbc | 89 | |
klauss | 109:a5b8264ffbbc | 90 | bool print_values = false; |
klauss | 109:a5b8264ffbbc | 91 | bool tango = false; |
klauss | 109:a5b8264ffbbc | 92 | bool york = false; |
klauss | 109:a5b8264ffbbc | 93 | bool chicago = false; |
klauss | 109:a5b8264ffbbc | 94 | bool malasia = false; |
klauss | 109:a5b8264ffbbc | 95 | bool canada = false; |
klauss | 109:a5b8264ffbbc | 96 | bool america = false; |
klauss | 109:a5b8264ffbbc | 97 | bool frtp = false; |
klauss | 109:a5b8264ffbbc | 98 | bool rescue_rtp = false; |
klauss | 109:a5b8264ffbbc | 99 | bool drop_invite_pkg = false; |
klauss | 109:a5b8264ffbbc | 100 | bool drop_entendi_pkg = false; |
klauss | 109:a5b8264ffbbc | 101 | bool drop_invite_to_ast_pkg = false; |
klauss | 109:a5b8264ffbbc | 102 | bool drop_ok_pkg = false; |
klauss | 109:a5b8264ffbbc | 103 | bool drop_ack_pkg = false; |
klauss | 109:a5b8264ffbbc | 104 | bool drop_rtp_from_ast_pkg = false; |
klauss | 112:6ae726539ab9 | 105 | bool drop_rtp_from_cbx_pkg = false; |
klauss | 112:6ae726539ab9 | 106 | bool cogumelo = false; |
klauss | 112:6ae726539ab9 | 107 | bool registra = false; |
klauss | 115:a1e1e2e60a2c | 108 | bool gnomo = false; |
klauss | 119:ee6a53069455 | 109 | bool drop_registry_pkg = false; |
klauss | 119:ee6a53069455 | 110 | bool received_audio_from_cb = false; |
klauss | 119:ee6a53069455 | 111 | bool debug_reconnect = false; |
klauss | 119:ee6a53069455 | 112 | uint16_t miss_ftp_udp_send_pkg = 0; |
klauss | 119:ee6a53069455 | 113 | bool sizes = false; |
klauss | 119:ee6a53069455 | 114 | bool debug_show_cpld = false; |
klauss | 119:ee6a53069455 | 115 | bool debug_gp = false; |
klauss | 119:ee6a53069455 | 116 | bool missed_send_udp_pkg = false; |
klauss | 119:ee6a53069455 | 117 | bool reset_missed_send_udp_pkg = false; |
klauss | 119:ee6a53069455 | 118 | bool debug_missed = false; |
klauss | 119:ee6a53069455 | 119 | bool show_uptime = false; |
klauss | 119:ee6a53069455 | 120 | bool debug_reset_rtp = false; |
klauss | 119:ee6a53069455 | 121 | bool debug_bootloader = false; |
klauss | 119:ee6a53069455 | 122 | bool debug_bind = false; |
klauss | 119:ee6a53069455 | 123 | bool debug_app_init = true; |
klauss | 119:ee6a53069455 | 124 | bool debug_string_length = false; |
klauss | 119:ee6a53069455 | 125 | bool show_current_time = false; |