# WMPort

## Definitions

  `#include <nitro/wm.h>`

      typedef enum WMPort
      {
          WM_PORT_RAWDATA     = 0 ,
          WM_PORT_BT          = 1 ,
          WM_PORT_RESERVE_02  = 2 ,
          WM_PORT_RESERVE_03  = 3 ,

          WM_PORT_KS          = 8 ,
          WM_PORT_RESERVE_11  = 9 ,
          WM_PORT_RESERVE_12  = 10 ,
          WM_PORT_RESERVE_13  = 11

      } WMPort;

## Elements

WM_PORT_RAWDATA | Specifies the port that is reserved for WM library version interchangeability.
WM_PORT_BT | Specifies the port that is reserved for block transfer.
WM_PORT_KS | Specifies the port that is reserved for key sharing.
WM_PORT_RESERVE_* | Specifies the port that is reserved for system.

## Description

The enumerator type that indicates the port for sending and receiving data via 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. Port numbers 0-3 and 8-11 are reserved. Ports numbered 4-7 and 12-15 can be used freely. Use ports 12 and higher for data sharing.

## See Also

``WM_SetMPDataToPort`, `WM_SetPortCallback`, `WM_StartDataSharing``

## Revision History

08/11/2004 Initial version

CONFIDENTIAL