Configuration information functions

The following functions retrieve information about a system configuration or specific board. They also set the time or native play and record parameters:

Function

Synchronous/
Asynchronous

Description

adiGetBoardInfo

Synchronous

Retrieves information about the board.

adiGetBoardSlots

adiGetBoardSlots32

Synchronous

Retrieves the board's MVIP configuration.

adiGetContextInfo

Synchronous

Retrieves the context status and configuration.

adiGetEEPromData

Synchronous

Retrieves OEM data for a given board.

adiGetTimeStamp

Synchronous

Converts an event timestamp to a count of the seconds elapsed since January 1, 1970.

adiSetBoardClock

Synchronous

Sets the time on an AG board or CG board.

adiSetNativeInfo

Synchronous

Sets parameters that enable applications to play and record media to and from RTP streams. In addition, this function enables applications to play media recorded from an RTP stream to a PSTN port and vise versa.

Board functions communicate only with the board's driver and not directly with the board. When opening the ADI service to use these functions, you do not specify an MVIP address. The board_number parameter in the mvipaddr structure can be set to ADI_AG_DRIVER_ONLY.