WMMeasureChannelCallback


C Specification

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

} WMMeasureChannelCallback;

Description

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

Arguments

apiid Specifies the API ID that is responsible for callback generation. This argument is the same as the WMApiid enumerated type. This argument is fixed to WM_APIID_MEASURE_CHANNEL.
errcode Specifies the results of asynchronous processing. This argument is the same as the WMErrCode enumerator type.
wlCmdID When the errcode is WM_ERRCODE_FAILED, the ID of the command that was an error in the wireless firmware is stored.
wlResult When errcode is WM_ERRCODE_FAILED, the element code that was the error in the wireless firmware is stored.
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.

Revision History

08/11/2004 Initial version