![](/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
shared_variables.cpp
- Committer:
- klauss
- Date:
- 2015-09-01
- Revision:
- 134:395678c651d8
- Parent:
- 133:3d136f5ffd66
- Child:
- 135:2f4290590e51
File content as of revision 134:395678c651d8:
#include "shared_variables.h" ConfigManager * cm = new ConfigManager (); bool reset_cks = false; bool debug_alive = false; bool pcks_s = false; bool list = false; bool r_stats; bool show_last_rx = false; bool show_last_tx = false; bool stats = false; uint32_t boot_counter = 0; uint32_t registry_counter = 0; uint32_t invite_counter = 0; uint32_t audio_counter = 0; uint32_t telemetry_counter = 0; uint32_t cb_stats_counter = 0; uint32_t cb_bye_counter = 0; uint32_t prompt_counter = 0; uint32_t flood_counter = 0; uint32_t out_of_range = 0; uint32_t fw_counter = 0; uint32_t bootloader_cbx_counter = 0; int max_ext = 0; int min_ext = 0; bool pshowcb = false; uint16_t external_wdt = EXTERN_WDT_IDLE; volatile uint8_t status = WAITING; Serial pc (USBTX,USBRX); DigitalOut led1(LED1); DigitalOut led2(LED2); DigitalOut led3(LED3); DigitalOut led4(LED4); DigitalOut CAB_LED(p24); uint32_t missed_pkg = 0; uint8_t cb_new_counter = 0; uint8_t cb_delete_counter = 0; uint8_t sip_new_counter = 0; uint8_t sip_delete_counter = 0; uint16_t rtp_header_new_counter = 0; uint16_t rtp_body_new_counter = 0; uint16_t rtp_header_delete_counter = 0; uint16_t rtp_body_delete_counter = 0; uint16_t call_new_counter = 0; uint16_t call_delete_counter = 0; bool memory_is_over = false; volatile uint16_t received_cpld_pkg = 0; uint16_t sip_socket_send_failure = 0; bool show_sip = false; uint32_t delayed_pkg_to_cb = 0; uint32_t cpld_pkg_tx_counter = 0; uint32_t cpld_pkg_rx_counter = 0; uint16_t miss_prompt_udp_send_pkg = 0; uint16_t miss_bl_udp_send_pkg = 0; uint16_t miss_prompt_udp_rcv_pkg = 0; uint16_t miss_power_source_send_pkg = 0; bool extern_process = false; int print_this_cb = 0; int print_hex_this_cb = 0; int print_this_sip = 0; int print_hex_this_sip = 0; int print_this_call = 0; int print_hex_this_call = 0; int print_this_rtp = 0; int print_hex_this_rtp = 0; int frtp_target = 0; int rescue_rtp_target = 0; int rescue_rtp_value = 0; uint32_t uptime = 0; uint8_t drop_this_amount_of_ack_to_ast = 0; uint16_t string_msg_overflow = 0; bool test_flag_unusual = false; bool show_time = false; bool show_invites = false; bool dont_say_hello_again = false; bool reverse_list = false; bool show_hello_status = false; bool request_clock_now = false; bool show_wake_all_up_status = false; bool disable_wdt_from_cbx = false; bool wake_all = false; uint16_t end_call_ext = 0; bool end_call = false; bool do_not_refresh = false; bool do_not_show_this_invite_pkg = false; bool show_wdt_string = false;