1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2<html>
3<head>
4<META http-equiv="Content-Type" content="text/html; charset=windows-1252">
5<META name="GENERATOR" content="IBM WebSphere Studio Homepage Builder Version 8.0.0.0 for Windows">
6<META http-equiv="Content-Style-Type" content="text/css">
7<title>WMMeasureChannelCallback</title>
8<LINK rel="stylesheet" href="../../css/nitro.css" type="text/css">
9</head>
10<body>
11<h1 align="left">WMMeasureChannelCallback</h1>
12<h2>Definition</h2>
13<dl>
14  <dd>
15<CODE>#include &lt;nitro/wm.h&gt;</CODE><BR>
16  <PRE><CODE>typedef struct WMMeasureChannelCallback
17{
18    u16         apiid;
19    u16         errcode;
20    u16     wlCmdID;
21    u16     wlResult;
22    u16         channel;
23    u16     ccaBusyRatio;
24} WMMeasureChannelCallback;</CODE></PRE>
25  </dd>
26</dl><h2>Elements</h2>
27<TABLE border="1" width="100%">
28  <TBODY>
29    <TR>
30      <TD width="200"><code>apiid</code></TD>
31      <TD width="800">ID of the API that acts as the source for the callback generation. It is equivalent to the <A href="WMApiid.html"><code>WMApiid</code></A> enumerated type.
32      This argument is fixed to <code>WM_APIID_MEASURE_CHANNEL</code>.
33      </TD>
34    </TR>
35    <TR>
36      <TD width="200"><code>errcode</code></TD>
37      <TD width="800">Result of the asynchronous process. It is equivalent to the <A href="WMErrCode.html"><code>WMErrCode</code></A> enumerated type.</TD>
38    </TR>
39    <TR>
40      <TD width="200"><code>wlCmdID</code></TD>
41      <TD width="800">If errcode is <code>WM_ERRCODE_FAILED</code>, this function will store the ID of the command that was in error in the wireless firmware.</TD>
42    </TR>
43    <TR>
44      <TD width="200"><code>wlResult</code></TD>
45      <TD width="800">If errcode is <code>WM_ERRCODE_FAILED</code>, this function will store the code was the source of the error in the wireless firmware.</TD>
46    </TR>
47    <TR>
48      <TD width="200"><code>channel</code></TD>
49      <TD width="800">When errcode is <code>WM_ERRCODE_SUCCESS</code>, the channel that measured signal usage rate is stored.</TD>
50    </TR>
51    <TR>
52      <TD width="200"><code>ccaBusyRatio</code></TD>
53      <TD width="800">When errcode is <code>WM_ERRCODE_SUCCESS</code>, electrical usage rate in the range of 0-100 is stored.</TD>
54    </TR>
55  </TBODY>
56</TABLE>
57<H2>Description</H2>
58<P>
59This structure is passed to the callback function for the <A href="WM_MeasureChannel.html"><code>WM_MeasureChannel</code></A> function.
60</P>
61<H2>Revision History</H2>
62<P>
632004/08/11 Initial version.
64</P>
65<hr><p>CONFIDENTIAL</p></body>
66</html>
67