Various constants used throughout the library.
#define EEPHIDGET_BADPASSWORD EEPHIDGET_EVENT_ERROR(0x0002) |
Authorization Failed.
Definition at line 826 of file phidget21.h.
#define EEPHIDGET_BADPOWER EEPHIDGET_EVENT_ERROR(0x1008) |
Power supply problem detected.
Definition at line 837 of file phidget21.h.
#define EEPHIDGET_BADVERSION EEPHIDGET_EVENT_ERROR(0x0003) |
Webservice and Client protocol versions don't match. Update to newest release.
Definition at line 827 of file phidget21.h.
#define EEPHIDGET_EVENT_ERROR | ( | code | ) | (0x8000 + code) |
Definition at line 821 of file phidget21.h.
#define EEPHIDGET_NETWORK EEPHIDGET_EVENT_ERROR(0x0001) |
Network Error (asynchronous).
Definition at line 825 of file phidget21.h.
#define EEPHIDGET_OK EEPHIDGET_EVENT_ERROR(0x1000) |
An error state has ended - see description for details.
Definition at line 830 of file phidget21.h.
#define EEPHIDGET_OUTOFRANGE EEPHIDGET_EVENT_ERROR(0x1007) |
Out of range condition detected.
Definition at line 836 of file phidget21.h.
#define EEPHIDGET_OVERCURRENT EEPHIDGET_EVENT_ERROR(0x1006) |
Overcurrent condition detected.
Definition at line 835 of file phidget21.h.
#define EEPHIDGET_OVERRUN EEPHIDGET_EVENT_ERROR(0x1002) |
A sampling overrun happend in firmware.
Definition at line 831 of file phidget21.h.
#define EEPHIDGET_OVERTEMP EEPHIDGET_EVENT_ERROR(0x1005) |
Overtemperature condition detected.
Definition at line 834 of file phidget21.h.
#define EEPHIDGET_PACKETLOST EEPHIDGET_EVENT_ERROR(0x1003) |
One or more packets were lost.
Definition at line 832 of file phidget21.h.
#define EEPHIDGET_WRAP EEPHIDGET_EVENT_ERROR(0x1004) |
A variable has wrapped around.
Definition at line 833 of file phidget21.h.
#define EPHIDGET_BADPASSWORD 10 |
Authorization exception. "No longer used. Replaced by EEPHIDGET_BADPASSWORD"
Definition at line 804 of file phidget21.h.
#define EPHIDGET_BADVERSION 19 |
Version Mismatch. "No longer used. Replaced by EEPHIDGET_BADVERSION"
Definition at line 813 of file phidget21.h.
#define EPHIDGET_CLOSED 18 |
Phidget Closed. "Phidget handle was closed."
Definition at line 812 of file phidget21.h.
#define EPHIDGET_DUPLICATE 12 |
Duplicate request. "Duplicated request."
Definition at line 806 of file phidget21.h.
#define EPHIDGET_EVENT 15 |
Event. "A non-null error code was returned from an event handler." This code is not currently used.
Definition at line 809 of file phidget21.h.
#define EPHIDGET_INTERRUPTED 6 |
Interrupted. "Read/Write operation was interrupted." This code is not currently used.
Definition at line 800 of file phidget21.h.
#define EPHIDGET_INVALID 7 |
Invalid error code. "The Error Code is not defined."
Definition at line 801 of file phidget21.h.
#define EPHIDGET_INVALIDARG 4 |
Invalid argument. "Invalid argument passed to function."
Definition at line 798 of file phidget21.h.
#define EPHIDGET_NETWORK 8 |
Network. "Network Error."
Definition at line 802 of file phidget21.h.
#define EPHIDGET_NETWORK_NOTCONNECTED 16 |
Network not connected. "A connection to the server does not exist."
Definition at line 810 of file phidget21.h.
#define EPHIDGET_NOMEMORY 2 |
No memory. "Memory could not be allocated."
Definition at line 796 of file phidget21.h.
#define EPHIDGET_NOTATTACHED 5 |
Phidget not attached. "Phidget not physically attached."
Definition at line 799 of file phidget21.h.
#define EPHIDGET_NOTFOUND 1 |
Phidget not found. "A Phidget matching the type and or serial number could not be found."
Definition at line 795 of file phidget21.h.
#define EPHIDGET_OK 0 |
Function completed successfully.
Definition at line 794 of file phidget21.h.
#define EPHIDGET_OUTOFBOUNDS 14 |
Out of bounds. "Index out of Bounds."
Definition at line 808 of file phidget21.h.
#define EPHIDGET_TIMEOUT 13 |
Timeout. "Given timeout has been exceeded."
Definition at line 807 of file phidget21.h.
#define EPHIDGET_UNEXPECTED 3 |
Unexpected. "Unexpected Error. Contact Phidgets Inc. for support."
Definition at line 797 of file phidget21.h.
#define EPHIDGET_UNKNOWNVAL 9 |
Value unknown. "Value is Unknown (State not yet received from device, or not yet set by user)."
Definition at line 803 of file phidget21.h.
#define EPHIDGET_UNSUPPORTED 11 |
Unsupported. "Not Supported."
Definition at line 805 of file phidget21.h.
#define EPHIDGET_WRONGDEVICE 17 |
Wrong device. "Function is not applicable for this device."
Definition at line 811 of file phidget21.h.
#define PFALSE 0x00 |
False. Used for boolean values.
Definition at line 853 of file phidget21.h.
#define PHIDGET_ATTACHED 0x1 |
Phidget attached
Definition at line 784 of file phidget21.h.
#define PHIDGET_ERROR_CODE_COUNT 20 |
Definition at line 793 of file phidget21.h.
#define PHIDGET_NOTATTACHED 0x0 |
Phidget not attached
Definition at line 785 of file phidget21.h.
#define PTRUE 0x01 |
True. Used for boolean values.
Definition at line 854 of file phidget21.h.
#define PUNK_BOOL 0x02 |
Unknown Boolean (unsigned char)
Definition at line 845 of file phidget21.h.
#define PUNK_DBL 1e300 |
Unknown Double
Definition at line 849 of file phidget21.h.
#define PUNK_FLT 1e30 |
Unknown Float
Definition at line 850 of file phidget21.h.
#define PUNK_INT 0x7FFFFFFF |
Unknown Integer (32-bit)
Definition at line 847 of file phidget21.h.
#define PUNK_INT64 0x7FFFFFFFFFFFFFFFLL |
Unknown Integer (64-bit)
Definition at line 848 of file phidget21.h.
#define PUNK_SHRT 0x7FFF |
Unknown Short (16-bit)
Definition at line 846 of file phidget21.h.