Some testing...

FossilOrigin-Name: 6e43817ed9892b654722fb0c54e4f0ad556883a4a24459ad2f61753889f88c93
This commit is contained in:
7u83@mail.ru 2016-03-20 14:55:41 +00:00
parent 3b5d93cb94
commit 1b9254067e
2 changed files with 5 additions and 0 deletions

View File

@ -1,4 +1,5 @@
#include "cw/capwap.h"
#include "cw/capwap_items.h"
#include "cw/conn.h"
#include "cw/radio.h"
@ -14,6 +15,9 @@ int changestate()
in the change Change State Event Request message. */
cw_radio_update_oper_states(conn->radios,0);
mbag_set_dword(conn->outgoing,CW_ITEM_RESULT_CODE,0);
/* Change State ... */
int rc = cw_send_request(conn,CW_MSG_CHANGE_STATE_EVENT_REQUEST);

View File

@ -18,6 +18,7 @@ int configure()
mbag_del(conn->incomming,CW_ITEM_RESULT_CODE);
mbag_set_str(conn->local,CW_ITEM_AC_NAME,"abc");
mbag_set_byte(conn->config,CW_ITEM_WTP_MAC_TYPE,WTP_MAC_TYPE_BOTH);
int rc = cw_send_request(conn, CW_MSG_CONFIGURATION_STATUS_REQUEST);