diff options
Diffstat (limited to 'cphidgetattr.h')
-rw-r--r-- | cphidgetattr.h | 107 |
1 files changed, 107 insertions, 0 deletions
diff --git a/cphidgetattr.h b/cphidgetattr.h index c1b33f6..b8a8fce 100644 --- a/cphidgetattr.h +++ b/cphidgetattr.h @@ -240,6 +240,9 @@ typedef enum { PHIDID_TEXTLED_4x8 = 0x048, /**< Phidget TextLED 4x8 (1040) */ PHIDID_WEIGHTSENSOR = 0x072, /**< Phidget Weight Sensor (1050) */ + /* Device in firmware upgrade mode */ + PHIDID_FIRMWARE_UPGRADE = 0x098, + #if defined(DEBUG) || !defined(EXTERNALPROTO) /* Nothing device */ PHIDID_NOTHING = 1, @@ -257,5 +260,109 @@ typedef enum { #endif } CPhidget_DeviceID; /** @} */ + +typedef enum { + PHIDUID_NOTHING =1, + + PHIDUID_ACCELEROMETER_2AXIS_2G, + PHIDUID_ACCELEROMETER_2AXIS_10G, + PHIDUID_ACCELEROMETER_2AXIS_5G, + PHIDUID_ACCELEROMETER_3AXIS_3G, + + PHIDUID_ADVANCEDSERVO_1MOTOR, + + PHIDUID_ADVANCEDSERVO_8MOTOR, + PHIDUID_ADVANCEDSERVO_8MOTOR_PGOOD_FLAG, + PHIDUID_ADVANCEDSERVO_8MOTOR_CURSENSE_FIX, + + PHIDUID_ANALOG_4OUTPUT, + + PHIDUID_BRIDGE_4INPUT, + + PHIDUID_ENCODER_1ENCODER_1INPUT_OLD, + PHIDUID_ENCODER_1ENCODER_1INPUT_v1, + PHIDUID_ENCODER_1ENCODER_1INPUT_v2, + PHIDUID_ENCODER_HS_1ENCODER, + PHIDUID_ENCODER_HS_4ENCODER_4INPUT, + + PHIDUID_FREQUENCYCOUNTER_2INPUT, + + PHIDUID_GPS, + + PHIDUID_INTERFACEKIT_0_0_4_NO_ECHO, + PHIDUID_INTERFACEKIT_0_0_4, + PHIDUID_INTERFACEKIT_0_0_8, + PHIDUID_INTERFACEKIT_0_5_7, + PHIDUID_INTERFACEKIT_0_8_8_w_LCD, + PHIDUID_INTERFACEKIT_0_16_16_NO_ECHO, + PHIDUID_INTERFACEKIT_0_16_16_BITBUG, + PHIDUID_INTERFACEKIT_0_16_16, + PHIDUID_INTERFACEKIT_2_2_2, + PHIDUID_INTERFACEKIT_2_8_8, + PHIDUID_INTERFACEKIT_4_8_8, + PHIDUID_INTERFACEKIT_8_8_8_NO_ECHO, + PHIDUID_INTERFACEKIT_8_8_8, + PHIDUID_INTERFACEKIT_8_8_8_FAST, + PHIDUID_INTERFACEKIT_8_8_8_w_LCD_NO_ECHO, + PHIDUID_INTERFACEKIT_8_8_8_w_LCD, + PHIDUID_INTERFACEKIT_8_8_8_w_LCD_FAST, + PHIDUID_INTERFACEKIT_TOUCH_SLIDER, + PHIDUID_INTERFACEKIT_TOUCH_ROTARY, + + PHIDUID_IR, + + PHIDUID_LED_64, + PHIDUID_LED_64_ADV, + + PHIDUID_MOTORCONTROL_1MOTOR, + PHIDUID_MOTORCONTROL_HC_2MOTOR, + PHIDUID_MOTORCONTROL_LV_2MOTOR_4INPUT, + + PHIDUID_PHSENSOR, + + PHIDUID_RFID_OLD, + PHIDUID_RFID, + PHIDUID_RFID_2OUTPUT_NO_ECHO, + PHIDUID_RFID_2OUTPUT, + PHIDUID_RFID_2OUTPUT_ADVANCED, + + PHIDUID_SERVO_1MOTOR_OLD, + PHIDUID_SERVO_4MOTOR_OLD, + PHIDUID_SERVO_1MOTOR_NO_ECHO, + PHIDUID_SERVO_1MOTOR, + PHIDUID_SERVO_4MOTOR_NO_ECHO, + PHIDUID_SERVO_4MOTOR, + + PHIDUID_SPATIAL_ACCEL_3AXIS_1049, + PHIDUID_SPATIAL_ACCEL_3AXIS_1041, + PHIDUID_SPATIAL_ACCEL_3AXIS_1043, + PHIDUID_SPATIAL_ACCEL_GYRO_COMPASS_1056, + PHIDUID_SPATIAL_ACCEL_GYRO_COMPASS_1056_NEG_GAIN, + PHIDUID_SPATIAL_ACCEL_GYRO_COMPASS_1042, + PHIDUID_SPATIAL_ACCEL_GYRO_COMPASS_1044, + + PHIDUID_STEPPER_BIPOLAR_1MOTOR, + PHIDUID_STEPPER_UNIPOLAR_4MOTOR, + + PHIDUID_TEMPERATURESENSOR_OLD, + PHIDUID_TEMPERATURESENSOR, + PHIDUID_TEMPERATURESENSOR_AD22100, + PHIDUID_TEMPERATURESENSOR_TERMINAL_BLOCKS, + PHIDUID_TEMPERATURESENSOR_4, + PHIDUID_TEMPERATURESENSOR_IR, + + PHIDUID_TEXTLCD_2x20, + PHIDUID_TEXTLCD_2x20_w_8_8_8, + PHIDUID_TEXTLCD_2x20_w_8_8_8_BRIGHTNESS, + PHIDUID_TEXTLCD_ADAPTER, + + PHIDUID_TEXTLED_1x8, + PHIDUID_TEXTLED_4x8, + + PHIDUID_WEIGHTSENSOR, + + PHIDUID_GENERIC, + PHIDUID_FIRMWARE_UPGRADE +} CPhidget_DeviceUID; #endif |