libtiepie-hw 1.4.0
|
Functions to communicate with network connected instruments (WiFiScopes). More...
Functions | |
TIEPIE_HW_API tiepie_hw_bool | tiepie_hw_server_connect (tiepie_hw_handle handle, tiepie_hw_bool asynchronous) |
Connect to a specified network connected WiFiScope. This gives access to that network connected WiFiScope. | |
TIEPIE_HW_API tiepie_hw_bool | tiepie_hw_server_disconnect (tiepie_hw_handle handle, tiepie_hw_bool force) |
Disconnect from a specified network connected WiFiScope. This will close the opened network connected WiFiScope. | |
TIEPIE_HW_API tiepie_hw_bool | tiepie_hw_server_remove (tiepie_hw_handle handle, tiepie_hw_bool force) |
Remove a specified network connected WiFiScope from the list of network connected WiFiScopes. | |
TIEPIE_HW_API uint32_t | tiepie_hw_server_get_status (tiepie_hw_handle handle) |
Retrieve the status of a specified network connected WiFiScope. | |
TIEPIE_HW_API uint32_t | tiepie_hw_server_get_last_error (tiepie_hw_handle handle) |
Get the last error from a specified network connected WiFiScope. | |
TIEPIE_HW_API uint32_t | tiepie_hw_server_get_url (tiepie_hw_handle handle, char *buffer, uint32_t length) |
Get the URL of the specified network connected WiFiScope. | |
TIEPIE_HW_API uint32_t | tiepie_hw_server_get_id (tiepie_hw_handle handle, char *buffer, uint32_t length) |
Get the id of the specified network connected WiFiScope. | |
TIEPIE_HW_API uint32_t | tiepie_hw_server_get_ip_address (tiepie_hw_handle handle, char *buffer, uint32_t length) |
Get the IP address of the specified network connected WiFiScope. | |
TIEPIE_HW_API uint16_t | tiepie_hw_server_get_ip_port (tiepie_hw_handle handle) |
Get the IP port number of the specified network connected WiFiScope. | |
TIEPIE_HW_API uint32_t | tiepie_hw_server_get_name (tiepie_hw_handle handle, char *buffer, uint32_t length) |
Get the name of the specified network connected WiFiScope. | |
TIEPIE_HW_API uint32_t | tiepie_hw_server_get_description (tiepie_hw_handle handle, char *buffer, uint32_t length) |
Get the description of the specified network connected WiFiScope. | |
TIEPIE_HW_API uint32_t | tiepie_hw_server_get_version (tiepie_hw_handle handle, char *buffer, uint32_t length) |
Get the software version number of the specified network connected WiFiScope. | |
Functions to communicate with network connected instruments (WiFiScopes).
TIEPIE_HW_API tiepie_hw_bool tiepie_hw_server_connect | ( | tiepie_hw_handle | handle, |
tiepie_hw_bool | asynchronous | ||
) |
Connect to a specified network connected WiFiScope. This gives access to that network connected WiFiScope.
[in] | handle | A server handle identifying the network connected WiFiScope. |
[in] | asynchronous | Connect asynchronously. |
TIEPIE_HW_API tiepie_hw_bool tiepie_hw_server_disconnect | ( | tiepie_hw_handle | handle, |
tiepie_hw_bool | force | ||
) |
Disconnect from a specified network connected WiFiScope. This will close the opened network connected WiFiScope.
[in] | handle | A server handle identifying the network connected WiFiScope. |
[in] | force | If TIEPIE_HW_BOOL_TRUE all open devices are closed, if TIEPIE_HW_BOOL_FALSE remove only succeeds if no devices are open. |
TIEPIE_HW_API tiepie_hw_bool tiepie_hw_server_remove | ( | tiepie_hw_handle | handle, |
tiepie_hw_bool | force | ||
) |
Remove a specified network connected WiFiScope from the list of network connected WiFiScopes.
[in] | handle | A server handle identifying the network connected WiFiScope. |
[in] | force | If TIEPIE_HW_BOOL_TRUE all open devices are closed, if TIEPIE_HW_BOOL_FALSE remove only succeeds if no devices are open. |
TIEPIE_HW_API uint32_t tiepie_hw_server_get_status | ( | tiepie_hw_handle | handle | ) |
Retrieve the status of a specified network connected WiFiScope.
[in] | handle | A server handle identifying the network connected WiFiScope. |
TIEPIE_HW_API uint32_t tiepie_hw_server_get_last_error | ( | tiepie_hw_handle | handle | ) |
Get the last error from a specified network connected WiFiScope.
[in] | handle | A server handle identifying the network connected WiFiScope. |
TIEPIE_HW_API uint32_t tiepie_hw_server_get_url | ( | tiepie_hw_handle | handle, |
char * | buffer, | ||
uint32_t | length | ||
) |
Get the URL of the specified network connected WiFiScope.
[in] | handle | A server handle identifying the network connected WiFiScope. |
[out] | buffer | A pointer to a buffer for the URL. |
[in] | length | The length of the buffer, in bytes. |
TIEPIE_HW_API uint32_t tiepie_hw_server_get_id | ( | tiepie_hw_handle | handle, |
char * | buffer, | ||
uint32_t | length | ||
) |
Get the id of the specified network connected WiFiScope.
[in] | handle | A server handle identifying the network connected WiFiScope. |
[out] | buffer | A pointer to a buffer for the id. |
[in] | length | The length of the buffer, in bytes. |
TIEPIE_HW_API uint32_t tiepie_hw_server_get_ip_address | ( | tiepie_hw_handle | handle, |
char * | buffer, | ||
uint32_t | length | ||
) |
Get the IP address of the specified network connected WiFiScope.
[in] | handle | A server handle identifying the network connected WiFiScope. |
[out] | buffer | A pointer to a buffer for the IP address. |
[in] | length | The length of the buffer, in bytes. |
TIEPIE_HW_API uint16_t tiepie_hw_server_get_ip_port | ( | tiepie_hw_handle | handle | ) |
Get the IP port number of the specified network connected WiFiScope.
[in] | handle | A server handle identifying the network connected WiFiScope. |
TIEPIE_HW_API uint32_t tiepie_hw_server_get_name | ( | tiepie_hw_handle | handle, |
char * | buffer, | ||
uint32_t | length | ||
) |
Get the name of the specified network connected WiFiScope.
[in] | handle | A server handle identifying the network connected WiFiScope. |
[out] | buffer | A pointer to a buffer for the name. |
[in] | length | The length of the buffer, in bytes. |
TIEPIE_HW_API uint32_t tiepie_hw_server_get_description | ( | tiepie_hw_handle | handle, |
char * | buffer, | ||
uint32_t | length | ||
) |
Get the description of the specified network connected WiFiScope.
[in] | handle | A server handle identifying the network connected WiFiScope. |
[out] | buffer | A pointer to a buffer for the description. |
[in] | length | The length of the buffer, in bytes. |
TIEPIE_HW_API uint32_t tiepie_hw_server_get_version | ( | tiepie_hw_handle | handle, |
char * | buffer, | ||
uint32_t | length | ||
) |
Get the software version number of the specified network connected WiFiScope.
[in] | handle | A server handle identifying the network connected WiFiScope. |
[out] | buffer | A pointer to a buffer for the description. |
[in] | length | The length of the buffer, in bytes. |