# WXC_AddData

## Syntax

  `#include <nitro/wxc.h>`
  `void WXC_AddData(u8 *send_ptr, u32 send_size, u8 *recv_ptr, u32 recv_size);`

## Arguments

send_ptr | Buffer storing the data to send.
send_size | send_ptr data size
recv_ptr | Buffer to receive data
recv_size | recv_ptr data size

## Return Values

None.

## Description

Registers a data block for continuing data exchange in this communication.
This function can be called from inside the WXC_STATE_EXCHANGE_DONE user callback.
It can be called from the WXC_STATE_CONNECTED system callback only if NULL is specified for both send and receive buffers and the WXC_RegisterCommonData function is called.

## See Also

`WXCCallback
WXC_RegisterCommonData
`

## Revision History

2006/08/10 Corrected links.
2005/11/02 Initial version.

CONFIDENTIAL