![](/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
Diff: main_app_var_configs.h
- Revision:
- 121:ee02790d00b7
- Parent:
- 120:770f00554b1e
- Child:
- 122:480c44b0e205
--- a/main_app_var_configs.h Mon May 04 17:25:29 2015 +0000 +++ b/main_app_var_configs.h Fri May 08 04:15:23 2015 +0000 @@ -1,6 +1,7 @@ -#ifndef __MAIN_INCLUDES_CONFIGS__ -#define __MAIN_INCLUDES_CONFIGS__ +#ifndef __MAIN_APP_VAR_CONFIGS_H__ +#define __MAIN_APP_VAR_CONFIGS_H__ +#include "header_app_includes.h" #include "eth.h" #include "bits.h" #include "UART3Interrupt.h" // for RXBuffer[ CB_BUFFER_SIZE ]; @@ -18,62 +19,12 @@ #include "fw.h" #include "bootloader.h" #include "clock.h" - -int header_app_init ( void ); -int try_reconnect_with_eth ( void ); -int show_stats ( void ); -int reset_stats ( void ); -int show_cb_list ( Vector * v_cb ); -int show_cb_long_list ( Vector * v_cb ); -int show_cb ( Vector * v_cb ); -int show_cb_sip ( Vector * v_cb ); -int show_sizes ( void ); -int check_udp_packages_pending ( Vector * v_cb ); -int show_cb_content ( void ); -int show_cb_content_all ( void ); -int show_rtp ( void ); -int fuck_rtp ( Vector * v_cb ); -int show_hex_cb_content ( void ); -int show_hex_cb_content_all ( void ); -int show_cB_sip ( void ); -int show_cB_sip_all ( void ); -int show_cB_hex_sip ( void ); -int show_rtp_on_call ( void ); -int show_call ( void ); -int show_hex_call ( void ); -int show_cb_rtp ( void ); -int show_cb_hex_rtp ( void ); -int reset_stats_cks ( void ); -int show_cb_stats ( void ); - -// zera os contadores de pacotes que resultaram em falha de envio vio ETH -int reset_missed_send_udp ( void ); - -// exibe estatisticas de pacotes que resultaram em falha de envio na interface ETH -int show_missed_send_udp_pkg ( void ); - -int invite_ack_to_cb_handler ( Vector * v_cb, Vector * v_call ); - -int check_audio_from_ast ( Vector * v_cb, Vector * v_call ); - -int wake_up_or_refresh_handler ( Vector * v_cb ); - -int check_sip_messages_from_ast ( Vector * v_cb, Vector * v_call ); - -/* rotina de verificação de TS's perdidos */ -int check_for_runaways_ts ( Vector * v_cb, Timeslice * ts ); - -int show_wdt_status ( void ); - -int wdt_update ( void ); - - -/* rotina "zeradora" de portas RTP */ -int check_for_unwanted_rtp_ports ( Vector * v_cb ); +#include "file_system_manager.h" extern short int eth_status; extern Timer sync_timer; + extern Timer led_sync_timer; /* representa ramal do call box */ @@ -122,4 +73,5 @@ extern Timer invite_retry_timer; extern volatile u16_t lpc_low_level_input_counter; + #endif \ No newline at end of file