![](/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.cpp
- Revision:
- 97:8985817e8847
- Parent:
- 96:b4660d559ac3
- Child:
- 98:43b45f26b430
--- a/main.cpp Sat Jan 10 17:06:55 2015 +0000 +++ b/main.cpp Sat Jan 10 23:59:51 2015 +0000 @@ -367,6 +367,8 @@ char aux[ 16 ]; strcpy( cbx_to_string, "Ext :: " ); itoa( cb->get_ext(), aux , 10 ); + strcat( cbx_to_string, " :: Port :: " ); + itoa( cb->get_port(), aux , 10 ); strcat( cbx_to_string, aux ); strcat( cbx_to_string, " :: Status -- " ); strcat( cbx_to_string, cb_status ); @@ -381,6 +383,15 @@ } pshowcb = false; } + + if( show_sip == true ){ + show_sip = false; + debug_msg(":: Sip :: "); + for( register uint8_t i = 0; i < v_cb->size(); i++ ) { + Call_Box * cb = ( Call_Box * )v_cb->get_element( i ); + debug_msg("sip ext :: %d -- sip port :: %d", cb->get_sip_ext(), cb->get_sip_port() ); + } + } if( pflood == true ) flood();