LibTiePie
0.9.16
Library for interfacing TiePie engineering instruments
|
Modules | |
Notifications | |
Functions to set notifications that are triggered when the server list is changed. | |
Functions | |
bool8_t | NetSrvAdd (const char *pURL, uint32_t dwURLLength, LibTiePieHandle_t *pHandle) |
Add a server to the list of servers. More... | |
bool8_t | NetSrvRemove (const char *pURL, uint32_t dwURLLength, bool8_t bForce) |
Remove a server from the list of servers. More... | |
uint32_t | NetSrvGetCount (void) |
Get the number of servers available. More... | |
LibTiePieHandle_t | NetSrvGetByIndex (uint32_t dwIndex) |
Get the handle of a server, based on its index in the list of servers. More... | |
LibTiePieHandle_t | NetSrvGetByURL (const char *pURL, uint32_t dwURLLength) |
Get the handle of a server, based on its URL. More... | |
bool8_t NetSrvAdd | ( | const char * | pURL, |
uint32_t | dwURLLength, | ||
LibTiePieHandle_t * | pHandle | ||
) |
Add a server to the list of servers.
[in] | pURL | Pointer to URL character buffer. |
[in] | dwURLLength | Length of URL buffer or LIBTIEPIE_STRING_LENGTH_NULL_TERMINATED. |
[out] | pHandle | The handle to the added server or NULL . |
Remove a server from the list of servers.
[in] | pURL | Pointer to URL character buffer. |
[in] | dwURLLength | Length of URL buffer or LIBTIEPIE_STRING_LENGTH_NULL_TERMINATED. |
[in] | bForce | If BOOL8_TRUE all open devices are closed, if BOOL8_FALSE remove only succeeds if no devices are open. |
uint32_t NetSrvGetCount | ( | void | ) |
Get the number of servers available.
LibTiePieHandle_t NetSrvGetByIndex | ( | uint32_t | dwIndex | ) |
Get the handle of a server, based on its index in the list of servers.
[in] | dwIndex | A server index, 0 .. NetSrvGetCount() - 1. |
NULL
. LibTiePieHandle_t NetSrvGetByURL | ( | const char * | pURL, |
uint32_t | dwURLLength | ||
) |
Get the handle of a server, based on its URL.
[in] | pURL | Pointer to URL character buffer. |
[in] | dwURLLength | Length of URL buffer or LIBTIEPIE_STRING_LENGTH_NULL_TERMINATED. |
NULL
.