# WBT_MpParentRecvHook

## Syntax

  `#include <nitro/wbt.h>`
  `void WBT_MpParentRecvHook(const void *recv_buf, int recv_size, int aid);`

## Arguments

`recv_buf` | Parent's receive buffer, used for WBT by functions such as `WM_SetMPDataToPort` during MP communications.
`recv_size` | Size of `recv_buf`.
`aid` | AID of the target device that received `recv_buf`.

## Return Values

None.

## Description

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 functions such as `WM_SetPortCallback`.)
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.

## See Also

## Revision History

2005/03/14 Corrected link destination error.
2005/02/18 Added cautionary notes about the relationship with the WM library.
2004/09/31 Initial version

CONFIDENTIAL