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>WMPort</title>
8<LINK rel="stylesheet" href="../../css/nitro.css" type="text/css">
9</head>
10<body>
11<h1 align="left">WMPort</h1>
12<h2>Definition</h2>
13<dl>
14  <dd>
15<CODE>#include &lt;nitro/wm.h&gt;</CODE><BR>
16  <PRE><CODE>typedef enum WMPort
17{
18    WM_PORT_RAWDATA     = 0 ,
19    WM_PORT_BT          = 1 ,
20    WM_PORT_RESERVE_02  = 2 ,
21    WM_PORT_RESERVE_03  = 3 ,
22    WM_PORT_KS          = 8 ,
23    WM_PORT_RESERVE_11  = 9 ,
24    WM_PORT_RESERVE_12  = 10 ,
25    WM_PORT_RESERVE_13  = 11
26} WMPort;</CODE></PRE>
27  </dd>
28</dl><h2>Elements</h2>
29<TABLE border="1" width="100%">
30  <TBODY>
31    <TR>
32      <TD width="200"><CODE>WM_PORT_RAWDATA</CODE></TD>
33      <TD width="800">Port that is reserved for WM library version interchangeability.</TD>
34    </TR>
35    <TR>
36      <TD width="200"><CODE>WM_PORT_BT</CODE></TD>
37      <TD width="800">Port that is reserved for block transfer.</TD>
38    </TR>
39    <TR>
40      <TD width="200"><CODE>WM_PORT_KS</CODE></TD>
41      <TD width="800">Port that is reserved for key sharing.</TD>
42    </TR>
43    <TR>
44      <TD width="200"><CODE>WM_PORT_RESERVE_*</CODE></TD>
45      <TD width="800">Port that is reserved for system.</TD>
46    </TR>
47  </TBODY>
48</TABLE>
49<H2>Description</H2>
50<P>
51The enumerator type that indicates the port for sending and receiving data through the MP. Ports 0 through 15 can be used. Ports 0-7 have been assigned for normal transfer. Ports 8-15 have been assigned as transfer ports that control the sequence of data sending and receiving. Ports 0-3 and 8-11 are reserved. Ports 4-7 and 12-15 can be used freely. Use ports 12 and higher for data sharing.
52</P>
53<H2>See Also</H2>
54<P><A href="WM_SetMPDataToPort.html"><code>WM_SetMPDataToPort</code></A><BR> <A href="WM_SetPortCallback.html"><code>WM_SetPortCallback</code></A><BR> <A href="WM_StartDataSharing.html"><code>WM_StartDataSharing</code></A></P>
55<H2>Revision History</H2>
56<P>
572004/08/11 Initial version.
58</P>
59<hr><p>CONFIDENTIAL</p></body>
60</html>
61