# Source: consts.js

    "use strict";
    Object.defineProperty(exports, "__esModule", { value: true });
    /**
     * @typedef HubType
     * @property {number} UNKNOWN 0
     * @property {number} WEDO2_SMART_HUB 1
     * @property {number} BOOST_MOVE_HUB 2
     * @property {number} POWERED_UP_HUB 3
     * @property {number} POWERED_UP_REMOTE 4
     * @property {number} DUPLO_TRAIN_HUB 5
     */
    var HubType;
    (function (HubType) {
        HubType[HubType["UNKNOWN"] = 0] = "UNKNOWN";
        HubType[HubType["WEDO2_SMART_HUB"] = 1] = "WEDO2_SMART_HUB";
        HubType[HubType["BOOST_MOVE_HUB"] = 2] = "BOOST_MOVE_HUB";
        HubType[HubType["POWERED_UP_HUB"] = 3] = "POWERED_UP_HUB";
        HubType[HubType["POWERED_UP_REMOTE"] = 4] = "POWERED_UP_REMOTE";
        HubType[HubType["DUPLO_TRAIN_HUB"] = 5] = "DUPLO_TRAIN_HUB";
    })(HubType = exports.HubType || (exports.HubType = {}));
    /**
     * @typedef DeviceType
     * @property {number} UNKNOWN 0
     * @property {number} BASIC_MOTOR 1
     * @property {number} TRAIN_MOTOR 2
     * @property {number} LED_LIGHTS 8
     * @property {number} BOOST_LED 22
     * @property {number} WEDO2_TILT 34
     * @property {number} WEDO2_DISTANCE 35
     * @property {number} BOOST_DISTANCE 37
     * @property {number} BOOST_TACHO_MOTOR 38
     * @property {number} BOOST_MOVE_HUB_MOTOR 39
     * @property {number} BOOST_TILT 40
     * @property {number} DUPLO_TRAIN_BASE_MOTOR 41
     * @property {number} DUPLO_TRAIN_BASE_SPEAKER 42
     * @property {number} DUPLO_TRAIN_BASE_COLOR 43
     * @property {number} DUPLO_TRAIN_BASE_SPEEDOMETER 44
     * @property {number} POWERED_UP_REMOTE_BUTTON 55
     */
    var DeviceType;
    (function (DeviceType) {
        DeviceType[DeviceType["UNKNOWN"] = 0] = "UNKNOWN";
        DeviceType[DeviceType["BASIC_MOTOR"] = 1] = "BASIC_MOTOR";
        DeviceType[DeviceType["TRAIN_MOTOR"] = 2] = "TRAIN_MOTOR";
        DeviceType[DeviceType["LED_LIGHTS"] = 8] = "LED_LIGHTS";
        DeviceType[DeviceType["BOOST_LED"] = 22] = "BOOST_LED";
        DeviceType[DeviceType["WEDO2_TILT"] = 34] = "WEDO2_TILT";
        DeviceType[DeviceType["WEDO2_DISTANCE"] = 35] = "WEDO2_DISTANCE";
        DeviceType[DeviceType["BOOST_DISTANCE"] = 37] = "BOOST_DISTANCE";
        DeviceType[DeviceType["BOOST_TACHO_MOTOR"] = 38] = "BOOST_TACHO_MOTOR";
        DeviceType[DeviceType["BOOST_MOVE_HUB_MOTOR"] = 39] = "BOOST_MOVE_HUB_MOTOR";
        DeviceType[DeviceType["BOOST_TILT"] = 40] = "BOOST_TILT";
        DeviceType[DeviceType["DUPLO_TRAIN_BASE_MOTOR"] = 41] = "DUPLO_TRAIN_BASE_MOTOR";
        DeviceType[DeviceType["DUPLO_TRAIN_BASE_SPEAKER"] = 42] = "DUPLO_TRAIN_BASE_SPEAKER";
        DeviceType[DeviceType["DUPLO_TRAIN_BASE_COLOR"] = 43] = "DUPLO_TRAIN_BASE_COLOR";
        DeviceType[DeviceType["DUPLO_TRAIN_BASE_SPEEDOMETER"] = 44] = "DUPLO_TRAIN_BASE_SPEEDOMETER";
        DeviceType[DeviceType["POWERED_UP_REMOTE_BUTTON"] = 55] = "POWERED_UP_REMOTE_BUTTON";
    })(DeviceType = exports.DeviceType || (exports.DeviceType = {}));
    /**
     * @typedef Color
     * @property {number} BLACK 0
     * @property {number} PINK 1
     * @property {number} PURPLE 2
     * @property {number} BLUE 3
     * @property {number} LIGHT_BLUE 4
     * @property {number} CYAN 5
     * @property {number} GREEN 6
     * @property {number} YELLOW 7
     * @property {number} ORANGE 8
     * @property {number} RED 9
     * @property {number} WHITE 10
     * @property {number} NONE 255
     */
    var Color;
    (function (Color) {
        Color[Color["BLACK"] = 0] = "BLACK";
        Color[Color["PINK"] = 1] = "PINK";
        Color[Color["PURPLE"] = 2] = "PURPLE";
        Color[Color["BLUE"] = 3] = "BLUE";
        Color[Color["LIGHT_BLUE"] = 4] = "LIGHT_BLUE";
        Color[Color["CYAN"] = 5] = "CYAN";
        Color[Color["GREEN"] = 6] = "GREEN";
        Color[Color["YELLOW"] = 7] = "YELLOW";
        Color[Color["ORANGE"] = 8] = "ORANGE";
        Color[Color["RED"] = 9] = "RED";
        Color[Color["WHITE"] = 10] = "WHITE";
        Color[Color["NONE"] = 255] = "NONE";
    })(Color = exports.Color || (exports.Color = {}));
    /**
     * @typedef ButtonState
     * @property {number} PRESSED 0
     * @property {number} RELEASED 1
     * @property {number} UP 2
     * @property {number} DOWN 3
     * @property {number} STOP 4
     */
    var ButtonState;
    (function (ButtonState) {
        ButtonState[ButtonState["PRESSED"] = 0] = "PRESSED";
        ButtonState[ButtonState["RELEASED"] = 1] = "RELEASED";
        ButtonState[ButtonState["UP"] = 2] = "UP";
        ButtonState[ButtonState["DOWN"] = 3] = "DOWN";
        ButtonState[ButtonState["STOP"] = 4] = "STOP";
    })(ButtonState = exports.ButtonState || (exports.ButtonState = {}));
    /**
     * @typedef DuploTrainBaseSound
     * @property {number} BRAKE 3
     * @property {number} STATION_DEPARTURE 5
     * @property {number} WATER_REFILL 7
     * @property {number} HORN 9
     * @property {number} STEAM 10
     */
    var DuploTrainBaseSound;
    (function (DuploTrainBaseSound) {
        DuploTrainBaseSound[DuploTrainBaseSound["BRAKE"] = 3] = "BRAKE";
        DuploTrainBaseSound[DuploTrainBaseSound["STATION_DEPARTURE"] = 5] = "STATION_DEPARTURE";
        DuploTrainBaseSound[DuploTrainBaseSound["WATER_REFILL"] = 7] = "WATER_REFILL";
        DuploTrainBaseSound[DuploTrainBaseSound["HORN"] = 9] = "HORN";
        DuploTrainBaseSound[DuploTrainBaseSound["STEAM"] = 10] = "STEAM";
    })(DuploTrainBaseSound = exports.DuploTrainBaseSound || (exports.DuploTrainBaseSound = {}));
    var BLEManufacturerData;
    (function (BLEManufacturerData) {
        BLEManufacturerData[BLEManufacturerData["BOOST_MOVE_HUB_ID"] = 64] = "BOOST_MOVE_HUB_ID";
        BLEManufacturerData[BLEManufacturerData["POWERED_UP_HUB_ID"] = 65] = "POWERED_UP_HUB_ID";
        BLEManufacturerData[BLEManufacturerData["POWERED_UP_REMOTE_ID"] = 66] = "POWERED_UP_REMOTE_ID";
        BLEManufacturerData[BLEManufacturerData["DUPLO_TRAIN_HUB_ID"] = 32] = "DUPLO_TRAIN_HUB_ID";
    })(BLEManufacturerData = exports.BLEManufacturerData || (exports.BLEManufacturerData = {}));
    var BLEService;
    (function (BLEService) {
        BLEService["WEDO2_SMART_HUB"] = "00001523-1212-efde-1523-785feabcd123";
        BLEService["LPF2_HUB"] = "00001623-1212-efde-1623-785feabcd123";
    })(BLEService = exports.BLEService || (exports.BLEService = {}));
    var BLECharacteristic;
    (function (BLECharacteristic) {
        BLECharacteristic["WEDO2_BATTERY"] = "2a19";
        BLECharacteristic["WEDO2_FIRMWARE_REVISION"] = "2a26";
        BLECharacteristic["WEDO2_BUTTON"] = "00001526-1212-efde-1523-785feabcd123";
        BLECharacteristic["WEDO2_PORT_TYPE"] = "00001527-1212-efde-1523-785feabcd123";
        BLECharacteristic["WEDO2_LOW_VOLTAGE_ALERT"] = "00001528-1212-efde-1523-785feabcd123";
        BLECharacteristic["WEDO2_HIGH_CURRENT_ALERT"] = "00001529-1212-efde-1523-785feabcd123";
        BLECharacteristic["WEDO2_LOW_SIGNAL_ALERT"] = "0000152a-1212-efde-1523-785feabcd123";
        BLECharacteristic["WEDO2_DISCONNECT"] = "0000152b-1212-efde-1523-785feabcd123";
        BLECharacteristic["WEDO2_SENSOR_VALUE"] = "00001560-1212-efde-1523-785feabcd123";
        BLECharacteristic["WEDO2_VALUE_FORMAT"] = "00001561-1212-efde-1523-785feabcd123";
        BLECharacteristic["WEDO2_PORT_TYPE_WRITE"] = "00001563-1212-efde-1523-785feabcd123";
        BLECharacteristic["WEDO2_MOTOR_VALUE_WRITE"] = "00001565-1212-efde-1523-785feabcd123";
        BLECharacteristic["WEDO2_NAME_ID"] = "00001524-1212-efde-1523-785feabcd123";
        BLECharacteristic["LPF2_ALL"] = "00001624-1212-efde-1623-785feabcd123";
    })(BLECharacteristic = exports.BLECharacteristic || (exports.BLECharacteristic = {}));

#### Search results