Some debugs

FossilOrigin-Name: 9085b9cf6a0e60b2664b8e69109904fea47157c2c77e238acead281b0e4e256c
This commit is contained in:
7u83@mail.ru 2018-02-23 00:41:32 +00:00
parent b09d35de50
commit 2d01095d72
1 changed files with 6 additions and 1 deletions

View File

@ -5,8 +5,10 @@
int cisco_out_radio_operational_state(struct conn *conn, struct cw_action_out *a, uint8_t * dst)
{
cw_dbg(DBG_X,"haaaaaalllooo");
cw_dbg(DBG_X,"Try send oper state");
//exit(0);
int l=0;
MAVLITER_DEFINE(it,conn->radios_upd);
@ -28,9 +30,12 @@ int cisco_out_radio_operational_state(struct conn *conn, struct cw_action_out *a
cw_dbg(DBG_X,"Translated oper state for output from %d to %d",oper_state, oper_state_t);
l+=cw_put_elem_radio_operational_state(dst+l,255,oper_state_t, oper_cause);
l+=cw_put_elem_radio_operational_state(dst+l,i->iid,oper_state_t, oper_cause);
// cw_dbg_elem_(conn,1,1,dst+l,l);
cw_dbg_elem(DBG_ELEM,conn,1,1,dst+l,l);
}
return l;