![](/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-01-10
- Revision:
- 92:92df17f538a8
- Parent:
- 91:c2a86b1f8aaa
- Child:
- 97:8985817e8847
File content as of revision 92:92df17f538a8:
#include "shared_variables.h" bool from_eth = false; bool tcp_session = false; bool reset_cks = false; TCPSocketServer tcp_server; TCPSocketConnection tcp_client; Timer udp_timer; bool debug_alive = false; UDPSocket udp_server; Endpoint udp_client; bool pcks_s = false; bool list = false; bool r_stats; bool rx = false; bool tx = false; bool stats = false; uint16_t boot_counter = 0; uint16_t registry_counter = 0; uint16_t invite_counter = 0; uint16_t audio_counter = 0; uint16_t telemetry_counter = 0; uint16_t cb_bye_counter = 0; uint16_t prompt_counter = 0; uint16_t flood_counter = 0; uint16_t out_of_range = 0; uint16_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;