WMMeasureChannelCallback

Definitions

#include <nitro/wm.h>
typedef struct WMMeasureChannelCallback
{ 
u16         apiid;
u16         errcode;
u16     wlCmdID;
u16     wlResult;
u16         channel;
u16     ccaBusyRatio;

} WMMeasureChannelCallback;

Elements

apiid This is the ID of the API that acts as the source for the callback generation. It is synonymous to the WMApiid enumerated type. This argument is fixed to WM_APIID_MEASURE_CHANNEL.
errcode This is the result of the asynchronous process. It is synonymous to the WMErrCode enumerated type.
wlCmdID If errcode is WM_ERRCODE_FAILED, this function will store the ID of the command that was in error in the wireless firmware.
wlResult If errcode is WM_ERRCODE_FAILED, this function will store the code was the source of the error in the wireless firmware.
channel When errcode is WM_ERRCODE_SUCCESS, the channel that measured electrical usage rate is stored.
ccaBusyRatio When errcode is WM_ERRCODE_SUCCESS, electrical usage rate in the range of 0-100 is stored.

Description

The is the structure that is passed to the callback function for WM_MeasureChannel.

Revision History

08/11/2004 Initial version