libtiepie  0.3.0
 All Files Functions Typedefs Groups
Library

Functions

TpVersion_t LibGetVersion ()
uint32_t LibGetConfig (uint8_t *pBuffer, uint32_t dwBufferLength)
LibTiePieStatus_t LibGetLastStatus ()
const char * LibGetLastStatusStr ()

Detailed Description


Function Documentation

uint32_t LibGetConfig ( uint8_t *  pBuffer,
uint32_t  dwBufferLength 
)
Parameters:
pBuffer
dwBufferLength
Returns:
LibTiePieStatus_t LibGetLastStatus ( )

On each function call GetLastStatus() is set

See also:
Status return codes
Returns:
status code
const char* LibGetLastStatusStr ( )
TpVersion_t LibGetVersion ( )

Get version number of the library

TpVersion_t Version = LibGetVersion();
uint16_t wMajor = TPVERSION_MAJOR( Version );
uint16_t wMinor = TPVERSION_MINOR( Version );
uint16_t wRelease = TPVERSION_RELEASE( Version );
uint16_t wBuild = TPVERSION_BUILD( Version );

Returns:
Library version number