2014-08-22 22:37:45 +02:00
|
|
|
|
|
|
|
|
|
|
|
#include "capwap.h"
|
|
|
|
#include "cwmsg.h"
|
|
|
|
#include "radioinfo.h"
|
|
|
|
|
|
|
|
void cwmsg_addelem_radio_operational_state(struct cwmsg * cwmsg, struct radioinfo * ri)
|
|
|
|
{
|
|
|
|
uint8_t s[3];
|
|
|
|
s[0]=ri->rid;
|
|
|
|
s[1]=ri->state;
|
|
|
|
s[2]=ri->cause;
|
|
|
|
|
2015-03-29 01:55:06 +01:00
|
|
|
cwmsg_addelem(cwmsg,CW_ELEM_RADIO_OPERATIONAL_STATE,s,3);
|
2014-08-22 22:37:45 +02:00
|
|
|
}
|