Added missing device types

This commit is contained in:
Michal Szafranski 2019-11-05 21:35:43 +01:00
parent 8346988604
commit a9fe059b3c

View File

@ -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
}