LibTiePie  0.6.1
Library for interfacing TiePie engineering instruments
Server

Description

Functions

bool8_t SrvConnect (LibTiePieHandle_t hServer, bool8_t bAsync)
 XXX. More...
 
bool8_t SrvDisconnect (LibTiePieHandle_t hServer, bool8_t bForce)
 XXX. More...
 
bool8_t SrvRemove (LibTiePieHandle_t hServer, bool8_t bForce)
 XXX. More...
 
uint32_t SrvGetStatus (LibTiePieHandle_t hServer)
 XXX. More...
 
uint32_t SrvGetLastError (LibTiePieHandle_t hServer)
 XXX. More...
 
uint32_t SrvGetURL (LibTiePieHandle_t hServer, char *pBuffer, uint32_t dwBufferLength)
 Get the URL of the specified server. More...
 
uint32_t SrvGetID (LibTiePieHandle_t hServer, char *pBuffer, uint32_t dwBufferLength)
 Get the id of the specified server. More...
 
uint32_t SrvGetIPv4Address (LibTiePieHandle_t hServer)
 Get the IPv4 address of the specified server. More...
 
uint16_t SrvGetIPPort (LibTiePieHandle_t hServer)
 Get the IP port number of the specified server. More...
 
uint32_t SrvGetName (LibTiePieHandle_t hServer, char *pBuffer, uint32_t dwBufferLength)
 Get the name of the specified server. More...
 
uint32_t SrvGetDescription (LibTiePieHandle_t hServer, char *pBuffer, uint32_t dwBufferLength)
 Get the description of the specified server. More...
 
TpVersion_t SrvGetVersion (LibTiePieHandle_t hServer)
 Get the software version number of the specified server. More...
 
uint32_t SrvGetVersionExtra (LibTiePieHandle_t hServer, char *pBuffer, uint32_t dwBufferLength)
 Get the software version postfix of the specified server. More...
 

Function Documentation

bool8_t SrvConnect ( LibTiePieHandle_t  hServer,
bool8_t  bAsync 
)

XXX.

Parameters
[in]hServerA server handle identifying the server.
[in]bAsyncXXX
Returns
XXX
Since
0.6
bool8_t SrvDisconnect ( LibTiePieHandle_t  hServer,
bool8_t  bForce 
)

XXX.

Parameters
[in]hServerA server handle identifying the server.
[in]bForceXXX
Returns
XXX
Since
0.6
bool8_t SrvRemove ( LibTiePieHandle_t  hServer,
bool8_t  bForce 
)

XXX.

Parameters
[in]hServerA server handle identifying the server.
[in]bForceXXX
Returns
XXX
Since
0.6
uint32_t SrvGetStatus ( LibTiePieHandle_t  hServer)

XXX.

Parameters
[in]hServerA server handle identifying the server.
Returns
XXX, see LIBTIEPIE_SERVER_STATUS
Since
0.6
uint32_t SrvGetLastError ( LibTiePieHandle_t  hServer)

XXX.

Parameters
[in]hServerA server handle identifying the server.
Returns
XXX, see LIBTIEPIE_SERVER_ERROR
Since
0.6
uint32_t SrvGetURL ( LibTiePieHandle_t  hServer,
char *  pBuffer,
uint32_t  dwBufferLength 
)

Get the URL of the specified server.

Parameters
[in]hServerA server handle identifying the server.
[out]pBufferA pointer to a buffer for the URL.
[in]dwBufferLengthThe length of the buffer, in bytes.
Returns
The length of the URL in bytes, excluding terminating zero.
Since
0.6
uint32_t SrvGetID ( LibTiePieHandle_t  hServer,
char *  pBuffer,
uint32_t  dwBufferLength 
)

Get the id of the specified server.

Parameters
[in]hServerA server handle identifying the server.
[out]pBufferA pointer to a buffer for the id.
[in]dwBufferLengthThe length of the buffer, in bytes.
Returns
The length of the id in bytes, excluding terminating zero.
Since
0.6
uint32_t SrvGetIPv4Address ( LibTiePieHandle_t  hServer)

Get the IPv4 address of the specified server.

Parameters
[in]hServerA server handle identifying the server.
Returns
The IPv4 address of the device, or zero if no IPv4 address is available.
Since
0.6
uint16_t SrvGetIPPort ( LibTiePieHandle_t  hServer)

Get the IP port number of the specified server.

Parameters
[in]hServerA server handle identifying the server.
Returns
The IP port number of the device, or zero if no IP port number is available.
Since
0.6
uint32_t SrvGetName ( LibTiePieHandle_t  hServer,
char *  pBuffer,
uint32_t  dwBufferLength 
)

Get the name of the specified server.

Parameters
[in]hServerA server handle identifying the server.
[out]pBufferA pointer to a buffer for the name.
[in]dwBufferLengthThe length of the buffer, in bytes.
Returns
The length of the name in bytes, excluding terminating zero.
Since
0.6
uint32_t SrvGetDescription ( LibTiePieHandle_t  hServer,
char *  pBuffer,
uint32_t  dwBufferLength 
)

Get the description of the specified server.

Parameters
[in]hServerA server handle identifying the server.
[out]pBufferA pointer to a buffer for the description.
[in]dwBufferLengthThe length of the buffer, in bytes.
Returns
The length of the description in bytes, excluding terminating zero.
Since
0.6
TpVersion_t SrvGetVersion ( LibTiePieHandle_t  hServer)

Get the software version number of the specified server.

Parameters
[in]hServerA server handle identifying the server.
Returns
The software version number of the server, or zero if no software version is available.
Since
0.6
uint32_t SrvGetVersionExtra ( LibTiePieHandle_t  hServer,
char *  pBuffer,
uint32_t  dwBufferLength 
)

Get the software version postfix of the specified server.

Parameters
[in]hServerA server handle identifying the server.
[out]pBufferA pointer to a buffer for the software version postfix.
[in]dwBufferLengthThe length of the buffer, in bytes.
Returns
The length of the software version postfix in bytes, excluding terminating zero.
Since
0.6