WMPort

Definition

#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 Port that is reserved for WM library version interchangeability.
WM_PORT_BT Port that is reserved for block transfer.
WM_PORT_KS Port that is reserved for key sharing.
WM_PORT_RESERVE_* Port that is reserved for system.

Description

The 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.

See Also

WM_SetMPDataToPort
WM_SetPortCallback
WM_StartDataSharing

Revision History

2004/08/11 Initial version.


CONFIDENTIAL