Function ziAPIDisconnectDevice#
Defined in File ziAPI.h
-
ZIResult_enum ziAPIDisconnectDevice(ZIConnection conn, const char *deviceSerial)#
Disconnect a device from the server.
This function disconnects a device specified by deviceSerial from the server.
See also
ziAPIConnectDevice, ziAPIConnect, ziAPIDisconnect, ziAPIInit
- Parameters:
conn – [in] Pointer to the ZIConnection with which the connection should be established
deviceSerial – [in] The serial of the device to connect to, e.g., dev2100
- Returns:
ZI_INFO_SUCCESS on success
ZI_ERROR_TIMEOUT when communication timed out
Other return codes may also be returned, for a detailed error message use ziAPIGetLastError.