![](/media/cache/group/default_image.jpg.50x50_q85.jpg)
voltando a versao de n aberturas e fechamentos de sockets data 19/09
Dependencies: EthernetInterface NTPClient mbed-rtos mbed EALib
Fork of header_main_publish by
Diff: main.cpp
- Revision:
- 14:22a35f575502
- Parent:
- 13:ae278302dffe
- Child:
- 15:9c7456c1b6f4
diff -r ae278302dffe -r 22a35f575502 main.cpp --- a/main.cpp Tue Sep 16 15:09:11 2014 +0000 +++ b/main.cpp Tue Sep 16 21:02:37 2014 +0000 @@ -138,6 +138,7 @@ Call_Box * cb = ( Call_Box * )v_cb->get_element( i ); debug_msg(" Type :: %d -- Ext :: %d -- TimeSlice :: %d -- remain_timeslices :: %d :: v_call->size() :: %d :: Status :: %d :: SIP Status %d", type , cb->get_ext(), cb->get_timeslice(), ts->remain_timeslices(), v_call->size(), cb->status, cb->sip->status ); } + debug_msg(""); t.reset(); led3 = !led3; } @@ -319,8 +320,8 @@ __send_to_cb__( pkg2cb ); } - } - //nessa funcao eu deveria me registar a cada 2 min por exemplo + } + debug_msg(""); registry_aging( v_cb, buffer, write_buffer ); int ret = sip_manager( v_cb, v_call, write_buffer );