#include <nitro/wbt.h>
void WBT_MpParentRecvHook(const void *recv_buf, int recv_size, int aid);
recv_buf | Parent device receive buffer that MP communicates by the WM_SetMPDataToPort function for the WBT. |
recv_size | The size of recv_buf . |
aid | The AID of the target device that received recv_buf . |
None.
Report data the WBT library parent device received by MP communication from the WBT library. Data based on the WBT library protocol is extracted from the receive buffer. Various commands are executed by repeating this function during MP communication.
Note: This function merely processes data based on the WBT protocol.
Call this function inside the MP data receive callback that is specified by WM_SetPortCallback
, etc.j
A completion callback generates in this call when any command is executed. Also, the WBT_CMD_SYSTEM_CALLBACK
callback may occur in this call when any command is received from the communication destination.
03/14/2005 Corrected link destination error.
02/18/2005 Added cautionary notes about the relationship with the WM library
09/21/2004 Initial version