Classes |
struct | __CPhidgetRemote |
struct | __CPhidgetRemoteList |
struct | __CPhidgetSocketClient |
struct | __CPhidgetSocketClientList |
struct | _CPhidget |
struct | _CPhidget_Timestamp |
struct | CPhidgetDeviceDef |
struct | CPhidgetList |
struct | CPhidgetUniqueDeviceDef |
Defines |
#define | PHID_USB_GENERAL_PACKET_CONTINUATION 0x03 |
#define | PHID_USB_GENERAL_PACKET_ERASE_CONFIG 0x0A |
#define | PHID_USB_GENERAL_PACKET_FAIL 0x40 |
#define | PHID_USB_GENERAL_PACKET_FIRMWARE_UPGRADE_ERASE 0x09 |
#define | PHID_USB_GENERAL_PACKET_FIRMWARE_UPGRADE_WRITE_SECTOR 0x06 |
#define | PHID_USB_GENERAL_PACKET_FLAG 0x80 |
#define | PHID_USB_GENERAL_PACKET_IGNORE 0x00 |
#define | PHID_USB_GENERAL_PACKET_REBOOT_FIRMWARE_UPGRADE 0x01 |
#define | PHID_USB_GENERAL_PACKET_REBOOT_ISP 0x02 |
#define | PHID_USB_GENERAL_PACKET_SET_DS_TABLE 0x07 |
#define | PHID_USB_GENERAL_PACKET_SET_DW_TABLE 0x08 |
#define | PHID_USB_GENERAL_PACKET_SUCCESS 0x00 |
#define | PHID_USB_GENERAL_PACKET_WRITE_FLASH 0x05 |
#define | PHID_USB_GENERAL_PACKET_ZERO_CONFIG 0x04 |
Typedefs |
typedef long long | __int64 |
typedef unsigned long long | __uint64 |
typedef struct _CPhidget | CPhidget |
typedef struct _CPhidget_Timestamp | CPhidget_Timestamp |
typedef struct
_CPhidget_Timestamp * | CPhidget_TimestampHandle |
typedef struct _CPhidget * | CPhidgetHandle |
typedef struct CPhidgetList * | CPhidgetListHandle |
typedef struct __CPhidgetRemote | CPhidgetRemote |
typedef struct __CPhidgetRemote * | CPhidgetRemoteHandle |
typedef struct __CPhidgetRemoteList | CPhidgetRemoteList |
typedef struct
__CPhidgetRemoteList * | CPhidgetRemoteListHandle |
typedef struct
__CPhidgetSocketClient | CPhidgetSocketClient |
typedef struct
__CPhidgetSocketClient * | CPhidgetSocketClientHandle |
typedef struct
__CPhidgetSocketClientList | CPhidgetSocketClientList |
typedef struct
__CPhidgetSocketClientList * | CPhidgetSocketClientListHandle |
Enumerations |
enum | CPhidget_EventMode { EVENTMODE_DATARATE = 1,
EVENTMODE_CHANGETRIGGER
} |
Functions |
int | attachActiveDevice (CPhidgetHandle activeDevice, CPhidgetHandle attachedDevice) |
PHIDGET21_API int CCONV | CPhidget_areEqual (void *arg1, void *arg2) |
PHIDGET21_API int CCONV | CPhidget_areExtraEqual (void *arg1, void *arg2) |
PHIDGET21_API int CCONV | CPhidget_calibrate_gainoffset (CPhidgetHandle phid, int index, unsigned short offset, unsigned long gain) |
int | CPhidget_clearStatusFlag (int *status, int flag, CThread_mutex_t *lock) |
PHIDGET21_API int CCONV | CPhidget_close (CPhidgetHandle phid) |
PHIDGET21_API int CCONV | CPhidget_create (CPhidgetHandle *phid) |
PHIDGET21_API int CCONV | CPhidget_delete (CPhidgetHandle phid) |
PHIDGET21_API void CCONV | CPhidget_free (void *arg) |
PHIDGET21_API int CCONV | CPhidget_getDeviceClass (CPhidgetHandle phid, CPhidget_DeviceClass *deviceClass) |
PHIDGET21_API int CCONV | CPhidget_getDeviceID (CPhidgetHandle phid, CPhidget_DeviceID *deviceID) |
PHIDGET21_API int CCONV | CPhidget_getDeviceLabel (CPhidgetHandle phid, const char **deviceLabel) |
PHIDGET21_API int CCONV | CPhidget_getDeviceName (CPhidgetHandle phid, const char **deviceName) |
PHIDGET21_API int CCONV | CPhidget_getDeviceStatus (CPhidgetHandle phid, int *deviceStatus) |
PHIDGET21_API int CCONV | CPhidget_getDeviceType (CPhidgetHandle phid, const char **deviceType) |
PHIDGET21_API int CCONV | CPhidget_getDeviceVersion (CPhidgetHandle phid, int *deviceVersion) |
PHIDGET21_API int CCONV | CPhidget_getErrorDescription (int errorCode, const char **errorString) |
PHIDGET21_API int CCONV | CPhidget_getLibraryVersion (const char **libraryVersion) |
PHIDGET21_API int CCONV | CPhidget_getSerialNumber (CPhidgetHandle phid, int *serialNumber) |
PHIDGET21_API int CCONV | CPhidget_getServerAddress (CPhidgetHandle phid, const char **address, int *port) |
PHIDGET21_API int CCONV | CPhidget_getServerID (CPhidgetHandle phid, const char **serverID) |
PHIDGET21_API int CCONV | CPhidget_getServerStatus (CPhidgetHandle phid, int *serverStatus) |
CPhidget_DeviceUID | CPhidget_getUID (CPhidget_DeviceID id, int version) |
PHIDGET21_API int CCONV | CPhidget_open (CPhidgetHandle phid, int serialNumber) |
PHIDGET21_API int CCONV | CPhidget_openLabel (CPhidgetHandle phid, const char *label) |
int | CPhidget_read (CPhidgetHandle phid) |
PHIDGET21_API int CCONV | CPhidget_set_OnAttach_Handler (CPhidgetHandle phid, int(CCONV *fptr)(CPhidgetHandle phid, void *userPtr), void *userPtr) |
PHIDGET21_API int CCONV | CPhidget_set_OnDetach_Handler (CPhidgetHandle phid, int(CCONV *fptr)(CPhidgetHandle phid, void *userPtr), void *userPtr) |
PHIDGET21_API int CCONV | CPhidget_set_OnError_Handler (CPhidgetHandle phid, int(CCONV *fptr)(CPhidgetHandle phid, void *userPtr, int errorCode, const char *errorString), void *userPtr) |
PHIDGET21_API int CCONV | CPhidget_set_OnServerConnect_Handler (CPhidgetHandle phid, int(CCONV *fptr)(CPhidgetHandle phid, void *userPtr), void *userPtr) |
PHIDGET21_API int CCONV | CPhidget_set_OnServerDisconnect_Handler (CPhidgetHandle phid, int(CCONV *fptr)(CPhidgetHandle phid, void *userPtr), void *userPtr) |
PHIDGET21_API int CCONV | CPhidget_setDeviceLabel (CPhidgetHandle phid, const char *deviceLabel) |
int | CPhidget_setStatusFlag (int *status, int flag, CThread_mutex_t *lock) |
int | CPhidget_statusFlagIsSet (int status, int flag) |
const char * | CPhidget_strerror (int error) |
PHIDGET21_API int CCONV | CPhidget_waitForAttachment (CPhidgetHandle phid, int milliseconds) |
int | CPhidget_write (CPhidgetHandle phid) |
void | CPhidgetErrorEvent_free (void *arg) |
void | CPhidgetFHandle_free (void *arg) |
PHIDGET21_API int CCONV | CPhidgetGPP_eraseConfig (CPhidgetHandle phid) |
PHIDGET21_API int CCONV | CPhidgetGPP_eraseFirmware (CPhidgetHandle phid) |
PHIDGET21_API int CCONV | CPhidgetGPP_reboot_firmwareUpgrade (CPhidgetHandle phid) |
PHIDGET21_API int CCONV | CPhidgetGPP_reboot_ISP (CPhidgetHandle phid) |
PHIDGET21_API int CCONV | CPhidgetGPP_setDeviceSpecificConfigTable (CPhidgetHandle phid, unsigned char *data, int length, int index) |
PHIDGET21_API int CCONV | CPhidgetGPP_setDeviceWideConfigTable (CPhidgetHandle phid, unsigned char *data, int length, int index) |
PHIDGET21_API int CCONV | CPhidgetGPP_setLabel (CPhidgetHandle phid, const char *buffer) |
PHIDGET21_API int CCONV | CPhidgetGPP_upgradeFirmware (CPhidgetHandle phid, unsigned char *data, int length) |
PHIDGET21_API int CCONV | CPhidgetGPP_writeFlash (CPhidgetHandle phid) |
PHIDGET21_API int CCONV | CPhidgetHandle_areEqual (void *arg1, void *arg2) |
int | decodeLabelString (char *labelBuf, char *out, int serialNumber) |
int | deviceSupportsGeneralUSBProtocol (CPhidgetHandle phid) |
int | encodeLabelString (const char *buffer, char *out, int *outLen) |
int | findActiveDevice (CPhidgetHandle attachedDevice) |
int | findActiveDevices () |
int | labelHasWrapError (int serialNumber, char *labelBuf) |
PHIDGET21_API int CCONV | phidget_type_to_id (const char *Type) |
void | setTimeNow (TIME *now) |
void | throw_error_event (CPhidgetHandle phid, const char *error, int errcode) |
double | timeSince (TIME *start) |
double | timestampdiff (CPhidget_Timestamp time1, CPhidget_Timestamp time2) |
char | translate_bool_to_ascii (char value) |
int | UTF16toUTF8 (char *in, int inBytes, char *out) |
Variables |
CPhidgetList * | ActiveDevices |
CThread_mutex_t | activeDevicesLock |
CPhidgetList * | AttachedDevices |
CThread_mutex_t | attachedDevicesLock |
const char | LibraryVersion [] |
const CPhidgetDeviceDef | Phid_Device_Def [] |
const char * | Phid_DeviceName [PHIDGET_DEVICE_CLASS_COUNT] |
const char * | Phid_ErrorDescriptions [PHIDGET_ERROR_CODE_COUNT] |
const CPhidgetUniqueDeviceDef | Phid_Unique_Device_Def [] |
const char | Phid_UnknownErrorDescription [] |
int | phidgetLocksInitialized |