diff --git a/docs/BoostMoveHub.html b/docs/BoostMoveHub.html
index ec2e520..e7b07b8 100644
--- a/docs/BoostMoveHub.html
+++ b/docs/BoostMoveHub.html
@@ -6722,7 +6722,7 @@
Documentation generated by JSDoc 3.6.3
- on Wed Aug 7th 2019
+ on Fri Aug 9th 2019
using the DocStrap template.
diff --git a/docs/ControlPlusHub.html b/docs/ControlPlusHub.html
index e198bab..b7b98c8 100644
--- a/docs/ControlPlusHub.html
+++ b/docs/ControlPlusHub.html
@@ -6722,7 +6722,7 @@
Documentation generated by JSDoc 3.6.3
- on Wed Aug 7th 2019
+ on Fri Aug 9th 2019
using the DocStrap template.
diff --git a/docs/DuploTrainBase.html b/docs/DuploTrainBase.html
index 5e4bc71..385ade6 100644
--- a/docs/DuploTrainBase.html
+++ b/docs/DuploTrainBase.html
@@ -5966,7 +5966,7 @@
Documentation generated by JSDoc 3.6.3
- on Wed Aug 7th 2019
+ on Fri Aug 9th 2019
using the DocStrap template.
diff --git a/docs/Hub.html b/docs/Hub.html
index 875742f..4db622b 100644
--- a/docs/Hub.html
+++ b/docs/Hub.html
@@ -2586,7 +2586,7 @@
Documentation generated by JSDoc 3.6.3
- on Wed Aug 7th 2019
+ on Fri Aug 9th 2019
using the DocStrap template.
diff --git a/docs/LPF2Hub.html b/docs/LPF2Hub.html
index 256dc66..dd8ff08 100644
--- a/docs/LPF2Hub.html
+++ b/docs/LPF2Hub.html
@@ -4968,7 +4968,7 @@
Documentation generated by JSDoc 3.6.3
- on Wed Aug 7th 2019
+ on Fri Aug 9th 2019
using the DocStrap template.
diff --git a/docs/PUPHub.html b/docs/PUPHub.html
index b57861b..99959e5 100644
--- a/docs/PUPHub.html
+++ b/docs/PUPHub.html
@@ -6722,7 +6722,7 @@
Documentation generated by JSDoc 3.6.3
- on Wed Aug 7th 2019
+ on Fri Aug 9th 2019
using the DocStrap template.
diff --git a/docs/PUPRemote.html b/docs/PUPRemote.html
index 3b637c8..3ba683c 100644
--- a/docs/PUPRemote.html
+++ b/docs/PUPRemote.html
@@ -5163,7 +5163,7 @@
Documentation generated by JSDoc 3.6.3
- on Wed Aug 7th 2019
+ on Fri Aug 9th 2019
using the DocStrap template.
diff --git a/docs/PoweredUP.html b/docs/PoweredUP.html
index 25bcb12..91e99a4 100644
--- a/docs/PoweredUP.html
+++ b/docs/PoweredUP.html
@@ -1021,7 +1021,7 @@
Documentation generated by JSDoc 3.6.3
- on Wed Aug 7th 2019
+ on Fri Aug 9th 2019
using the DocStrap template.
diff --git a/docs/WeDo2SmartHub.html b/docs/WeDo2SmartHub.html
index 477808c..781c503 100644
--- a/docs/WeDo2SmartHub.html
+++ b/docs/WeDo2SmartHub.html
@@ -5286,7 +5286,7 @@
Documentation generated by JSDoc 3.6.3
- on Wed Aug 7th 2019
+ on Fri Aug 9th 2019
using the DocStrap template.
diff --git a/docs/boostmovehub.js.html b/docs/boostmovehub.js.html
index ef7c858..ab06c81 100644
--- a/docs/boostmovehub.js.html
+++ b/docs/boostmovehub.js.html
@@ -418,7 +418,7 @@ exports.BoostMoveHub = BoostMoveHub;
Documentation generated by JSDoc 3.6.3
- on Wed Aug 7th 2019
+ on Fri Aug 9th 2019
using the DocStrap template.
diff --git a/docs/classes.list.html b/docs/classes.list.html
index dcc1734..9f8e050 100644
--- a/docs/classes.list.html
+++ b/docs/classes.list.html
@@ -13677,7 +13677,7 @@
Documentation generated by JSDoc 3.6.3
- on Wed Aug 7th 2019
+ on Fri Aug 9th 2019
using the DocStrap template.
diff --git a/docs/consts.js.html b/docs/consts.js.html
index d0a0363..adcfce9 100644
--- a/docs/consts.js.html
+++ b/docs/consts.js.html
@@ -307,7 +307,7 @@ var BLECharacteristic;
Documentation generated by JSDoc 3.6.3
- on Wed Aug 7th 2019
+ on Fri Aug 9th 2019
using the DocStrap template.
diff --git a/docs/controlplushub.js.html b/docs/controlplushub.js.html
index 48c6958..1d2cbb1 100644
--- a/docs/controlplushub.js.html
+++ b/docs/controlplushub.js.html
@@ -408,7 +408,7 @@ exports.ControlPlusHub = ControlPlusHub;
Documentation generated by JSDoc 3.6.3
- on Wed Aug 7th 2019
+ on Fri Aug 9th 2019
using the DocStrap template.
diff --git a/docs/duplotrainbase.js.html b/docs/duplotrainbase.js.html
index 83287e7..ce08cc2 100644
--- a/docs/duplotrainbase.js.html
+++ b/docs/duplotrainbase.js.html
@@ -271,7 +271,7 @@ exports.DuploTrainBase = DuploTrainBase;
Documentation generated by JSDoc 3.6.3
- on Wed Aug 7th 2019
+ on Fri Aug 9th 2019
using the DocStrap template.
diff --git a/docs/global.html b/docs/global.html
index 1664d18..301b15e 100644
--- a/docs/global.html
+++ b/docs/global.html
@@ -3416,7 +3416,7 @@
Documentation generated by JSDoc 3.6.3
- on Wed Aug 7th 2019
+ on Fri Aug 9th 2019
using the DocStrap template.
diff --git a/docs/hub.js.html b/docs/hub.js.html
index c4e3bda..0d68a6f 100644
--- a/docs/hub.js.html
+++ b/docs/hub.js.html
@@ -462,7 +462,7 @@ exports.Hub = Hub;
Documentation generated by JSDoc 3.6.3
- on Wed Aug 7th 2019
+ on Fri Aug 9th 2019
using the DocStrap template.
diff --git a/docs/index.html b/docs/index.html
index dc6909c..5f2ae29 100644
--- a/docs/index.html
+++ b/docs/index.html
@@ -360,7 +360,7 @@ console.log("Scanning for Hubs...");
Documentation generated by JSDoc 3.6.3
- on Wed Aug 7th 2019
+ on Fri Aug 9th 2019
using the DocStrap template.
diff --git a/docs/lpf2hub.js.html b/docs/lpf2hub.js.html
index ae9c9d8..d81b642 100644
--- a/docs/lpf2hub.js.html
+++ b/docs/lpf2hub.js.html
@@ -659,7 +659,7 @@ exports.LPF2Hub = LPF2Hub;
Documentation generated by JSDoc 3.6.3
- on Wed Aug 7th 2019
+ on Fri Aug 9th 2019
using the DocStrap template.
diff --git a/docs/poweredup-node.js.html b/docs/poweredup-node.js.html
index 7dd5849..6d3ef37 100644
--- a/docs/poweredup-node.js.html
+++ b/docs/poweredup-node.js.html
@@ -273,7 +273,7 @@ exports.PoweredUP = PoweredUP;
Documentation generated by JSDoc 3.6.3
- on Wed Aug 7th 2019
+ on Fri Aug 9th 2019
using the DocStrap template.
diff --git a/docs/puphub.js.html b/docs/puphub.js.html
index ed6d666..17bcef1 100644
--- a/docs/puphub.js.html
+++ b/docs/puphub.js.html
@@ -412,7 +412,7 @@ exports.PUPHub = PUPHub;
Documentation generated by JSDoc 3.6.3
- on Wed Aug 7th 2019
+ on Fri Aug 9th 2019
using the DocStrap template.
diff --git a/docs/pupremote.js.html b/docs/pupremote.js.html
index f9f2a3a..7405830 100644
--- a/docs/pupremote.js.html
+++ b/docs/pupremote.js.html
@@ -209,7 +209,7 @@ exports.PUPRemote = PUPRemote;
Documentation generated by JSDoc 3.6.3
- on Wed Aug 7th 2019
+ on Fri Aug 9th 2019
using the DocStrap template.
diff --git a/docs/wedo2smarthub.js.html b/docs/wedo2smarthub.js.html
index 3e8999f..c503c1a 100644
--- a/docs/wedo2smarthub.js.html
+++ b/docs/wedo2smarthub.js.html
@@ -546,7 +546,7 @@ exports.WeDo2SmartHub = WeDo2SmartHub;
Documentation generated by JSDoc 3.6.3
- on Wed Aug 7th 2019
+ on Fri Aug 9th 2019
using the DocStrap template.
diff --git a/package.json b/package.json
index 16daf4b..b76564d 100644
--- a/package.json
+++ b/package.json
@@ -1,6 +1,6 @@
{
"name": "node-poweredup",
- "version": "3.5.0",
+ "version": "3.5.1",
"description": "A Javascript module to interface with LEGO Powered Up components.",
"homepage": "https://github.com/nathankellenicki/node-poweredup/",
"main": "dist/node/index-node.js",
diff --git a/src/index-browser.ts b/src/index-browser.ts
index cc455f3..af7b158 100644
--- a/src/index-browser.ts
+++ b/src/index-browser.ts
@@ -1,5 +1,7 @@
-import { BoostMoveHub } from "./boostmovehub";
import * as Consts from "./consts";
+
+import { BoostMoveHub } from "./boostmovehub";
+import { ControlPlusHub } from "./controlplushub";
import { DuploTrainBase } from "./duplotrainbase";
import { Hub } from "./hub";
import { PoweredUP } from "./poweredup-browser";
@@ -10,4 +12,4 @@ import { WeDo2SmartHub } from "./wedo2smarthub";
import { isWebBluetooth } from "./utils";
// @ts-ignore
-window.PoweredUP = { PoweredUP, Hub, WeDo2SmartHub, BoostMoveHub, PUPHub, PUPRemote, DuploTrainBase, Consts, isWebBluetooth };
+window.PoweredUP = { PoweredUP, Hub, WeDo2SmartHub, BoostMoveHub, ControlPlusHub, PUPHub, PUPRemote, DuploTrainBase, Consts, isWebBluetooth };
diff --git a/src/index-node.ts b/src/index-node.ts
index 06f8efb..3d5c7ac 100644
--- a/src/index-node.ts
+++ b/src/index-node.ts
@@ -1,5 +1,7 @@
-import { BoostMoveHub } from "./boostmovehub";
import * as Consts from "./consts";
+
+import { BoostMoveHub } from "./boostmovehub";
+import { ControlPlusHub } from "./controlplushub";
import { DuploTrainBase } from "./duplotrainbase";
import { Hub } from "./hub";
import { PoweredUP } from "./poweredup-node";
@@ -10,4 +12,4 @@ import { WeDo2SmartHub } from "./wedo2smarthub";
import { isWebBluetooth } from "./utils";
export default PoweredUP;
-export { PoweredUP, Hub, WeDo2SmartHub, BoostMoveHub, PUPHub, PUPRemote, DuploTrainBase, Consts, isWebBluetooth };
+export { PoweredUP, Hub, WeDo2SmartHub, BoostMoveHub, ControlPlusHub, PUPHub, PUPRemote, DuploTrainBase, Consts, isWebBluetooth };
diff --git a/src/poweredup-browser.ts b/src/poweredup-browser.ts
index e690b4c..0b8f9b7 100644
--- a/src/poweredup-browser.ts
+++ b/src/poweredup-browser.ts
@@ -189,6 +189,7 @@ export class PoweredUP extends EventEmitter {
break;
case Consts.HubType.CONTROL_PLUS_HUB:
hub = new ControlPlusHub(device, this.autoSubscribe);
+ break;
default:
return;
}