Initializes internal structures and opens communication with the MTP 2 task on the TX board.
MTP2_STATUS Mtp2MgmtInit (U8 board, U8 srcEnt, U8 srcInst)
Argument |
Description |
board |
TX board number. |
srcEnt |
Source entity ID. |
srcInst |
Source instance ID. |
Return value |
Description |
MTP2_SUCCESS |
|
MTP2_BOARD |
Invalid board number. |
MTP2_DRIVER |
Low-level driver returned an error trying to open the specified dual port RAM channel. srcEnt should be from 0x20 through 0x31 and cannot be in use by another application. |
Call this function before any other management function. Source entity must be unique for each application accessing the MTP 2 (or other) task.
An application that opens both the management and data functions must use different entity IDs for the Mtp2MgmtInit and data bind request calls.