FixVault

API Interface At A Glance

TMC's RP1210 API provides a defined INI file and a set of functions so that PC applications can perform send and receive operations through the DLL, to and from the vehicles' ECU'S. In simplistic terms, the API provides an "open/read/write/modify/close", interface. The following provides a simple look at what is required to send and read messages using the API interface:

FUNCTION NAME DESCRIPTION

Function Name Description
GetPrivateProfileString (...) Parse the INI files for vendor, device, protocols supported information.
LoadLibrary (...) Open the VDAAPI's DLL.
GetProcAddress (...) Get pointers to the RP1210 functions within the VDAAPI's DLL.
RP1210_ClientConnect (...) Get a "logical" connection to the vehicle databus.
RP1210_SendCommand (...) Allow messages to pass through the API.
RP1210_SendMessage (...) Send a message.
RP1210_ReadMessage (...) Read a message.
RP1210_ClientDisconnect (...) Close the logical connection to the databus.
FreeLibrary (...) Close the VDA API's DLL.