diff --git a/src/consts.ts b/src/consts.ts index 2cc2851..4a853e0 100644 --- a/src/consts.ts +++ b/src/consts.ts @@ -29,7 +29,10 @@ export const HubTypeNames = HubType; * @property {number} BASIC_MOTOR 1 * @property {number} TRAIN_MOTOR 2 * @property {number} LED_LIGHTS 8 - * @property {number} BOOST_LED 22 + * @property {number} VOLTAGE 20 + * @property {number} CURRENT 21 + * @property {number} PIEZO_TONE 22 + * @property {number} RGB_LIGHT 23 * @property {number} WEDO2_TILT 34 * @property {number} WEDO2_DISTANCE 35 * @property {number} BOOST_DISTANCE 37 @@ -43,6 +46,7 @@ export const HubTypeNames = HubType; * @property {number} CONTROL_PLUS_LARGE_MOTOR 46 * @property {number} CONTROL_PLUS_XLARGE_MOTOR 47 * @property {number} POWERED_UP_REMOTE_BUTTON 55 + * @property {number} RSSI 56 * @property {number} CONTROL_PLUS_ACCELEROMETER 58 * @property {number} CONTROL_PLUS_TILT 59 */ @@ -51,7 +55,10 @@ export enum DeviceType { BASIC_MOTOR = 1, TRAIN_MOTOR = 2, LED_LIGHTS = 8, - BOOST_LED = 22, + VOLTAGE = 20, + CURRENT = 21, + PIEZO_TONE = 22, + RGB_LIGHT = 23, WEDO2_TILT = 34, WEDO2_DISTANCE = 35, BOOST_DISTANCE = 37, @@ -65,6 +72,7 @@ export enum DeviceType { CONTROL_PLUS_LARGE_MOTOR = 46, CONTROL_PLUS_XLARGE_MOTOR = 47, POWERED_UP_REMOTE_BUTTON = 55, + RSSI = 56, CONTROL_PLUS_ACCELEROMETER = 58, CONTROL_PLUS_TILT = 59 }