# Chance Encounter Communication Library (WXC) API Function List

### Common

WXC_Init |  | Initializes the WXC library.
WXC_Start |  | Activates wireless inside the WXC library.
WXC_Stop |  | Stops wireless inside the WXC library.
WXC_End |  | Ends the WXC library.
WXC_GetStateCode |  | Gets the current internal state.
WXC_IsParentMode |  | Determines if the internal wireless state is currently in parent mode.
WXC_GetParentParam |  | References the WMParentParam structure in parent mode.
WXC_GetParentBssDesc |  | References the WMBssDesc structure of the connection target in parent mode.
WXC_SetParentParameter |  | Sets the parent mode communication parameters for wireless.
WXC_SetChildMode |  | Sets the internal wireless so that it can only be in child mode.
WXC_RegisterCommonData |  | Registers data blocks that should be exchanged.
WXC_SetInitialData |  | Sets the send and receive data block used in the initial data exchange.
WXC_AddData |  | Adds data block for continuing data exchange.
WXC_UnregisterData |  | Releases the registered data block from the library.
WXC_GetUserBitmap |  | Obtains the status of currently-connected users as a bitmap.
WXC_GetCurrentGgid |  | Gets the GGID that is selected in the current connection.
WXC_GetOwnAid |  | Gets the its own AID in the current connection.
WXC_GetUserInfo |  | Obtains information about a currently-connected user.

### Constants

WXC_WORK_SIZE |  | Size of the work memory that is used inside the WXC library.
WXC_PACKET_SIZE_MIN |  | The minimum send size that can be specified with WXC_SetParentParameter function.
WXC_PACKET_SIZE_MAX |  | The maximum send size that can be specified with WXC_SetParentParameter function.
WXC_REGISTER_DATA_MAX |  | Maximum number of data blocks that can be registered with the WXC_RegisterCommonData function.
WXC_MAX_DATA_SIZE |  | Maximum send/receive data size that can be specified in the WXC_RegisterCommonData function.

### Types, Structures

WXCStateCode |  | Enumerated value that indicates internal states and notification events in the WXC library.
WXCCallback |  | Format for callback functions called from the WXC library.
WXCBeaconFoundCallback |  | The callback argument structure that is passed with the WXC_STATE_BEACON_RECV notification of system callback.
WXCUserInfo |  | The user information that the WXC library maintains for each AID.
WXCBlockDataFormat |  | Structure that shows the block data information used in WXC library callbacks etc.

CONFIDENTIAL