diff --git a/docs/BoostMoveHub.html b/docs/BoostMoveHub.html
index a3d2f50..2a61599 100644
--- a/docs/BoostMoveHub.html
+++ b/docs/BoostMoveHub.html
@@ -2075,7 +2075,7 @@
@@ -2294,7 +2294,7 @@
@@ -3201,7 +3201,7 @@
@@ -3252,6 +3252,127 @@
+
+
+
+
+
+
+ shutdown()
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ - Inherited From:
+ -
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ - Source:
+ -
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Returns:
+
+
+
+
Resolved upon successful disconnect.
+
+
+
+
+
+ -
+ Type
+
+ -
+
+Promise
+
+
+
+
+
+
+
+
+
+
@@ -4330,7 +4451,7 @@
@@ -4501,7 +4622,7 @@
@@ -4696,7 +4817,7 @@
@@ -5019,7 +5140,7 @@
@@ -5190,7 +5311,7 @@
@@ -5385,7 +5506,7 @@
@@ -5464,7 +5585,7 @@
Documentation generated by JSDoc 3.5.5
- on Tue Jan 22nd 2019
+ on Thu Jan 24th 2019
using the DocStrap template.
diff --git a/docs/DuploTrainBase.html b/docs/DuploTrainBase.html
index fcbccda..217332c 100644
--- a/docs/DuploTrainBase.html
+++ b/docs/DuploTrainBase.html
@@ -2452,7 +2452,7 @@
@@ -2864,7 +2864,7 @@
@@ -2915,6 +2915,127 @@
+
+
+
+
+
+
+ shutdown()
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ - Inherited From:
+ -
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ - Source:
+ -
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Returns:
+
+
+
+
Resolved upon successful disconnect.
+
+
+
+
+
+ -
+ Type
+
+ -
+
+Promise
+
+
+
+
+
+
+
+
+
+
@@ -3817,7 +3938,7 @@
@@ -3988,7 +4109,7 @@
@@ -4067,7 +4188,7 @@
Documentation generated by JSDoc 3.5.5
- on Tue Jan 22nd 2019
+ on Thu Jan 24th 2019
using the DocStrap template.
diff --git a/docs/Hub.html b/docs/Hub.html
index 7f7b0f8..0772795 100644
--- a/docs/Hub.html
+++ b/docs/Hub.html
@@ -2467,7 +2467,7 @@
Documentation generated by JSDoc 3.5.5
- on Tue Jan 22nd 2019
+ on Thu Jan 24th 2019
using the DocStrap template.
diff --git a/docs/LPF2Hub.html b/docs/LPF2Hub.html
index 07ceebc..0722055 100644
--- a/docs/LPF2Hub.html
+++ b/docs/LPF2Hub.html
@@ -1619,7 +1619,7 @@
@@ -1829,7 +1829,7 @@
@@ -1991,7 +1991,7 @@
@@ -2042,6 +2042,118 @@
+
+
+
+
+
+
+ shutdown()
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ - Source:
+ -
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Returns:
+
+
+
+
Resolved upon successful disconnect.
+
+
+
+
+
+ -
+ Type
+
+ -
+
+Promise
+
+
+
+
+
+
+
+
+
+
@@ -3086,7 +3198,7 @@
@@ -3248,7 +3360,7 @@
@@ -3434,7 +3546,7 @@
@@ -3743,7 +3855,7 @@
@@ -3905,7 +4017,7 @@
@@ -4067,7 +4179,7 @@
@@ -4253,7 +4365,7 @@
@@ -4332,7 +4444,7 @@
Documentation generated by JSDoc 3.5.5
- on Tue Jan 22nd 2019
+ on Thu Jan 24th 2019
using the DocStrap template.
diff --git a/docs/PUPHub.html b/docs/PUPHub.html
index d56b6e5..1d575ab 100644
--- a/docs/PUPHub.html
+++ b/docs/PUPHub.html
@@ -2075,7 +2075,7 @@
@@ -2294,7 +2294,7 @@
@@ -2944,7 +2944,7 @@
@@ -2995,6 +2995,127 @@
+
+
+
+
+
+
+ shutdown()
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ - Inherited From:
+ -
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ - Source:
+ -
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Returns:
+
+
+
+
Resolved upon successful disconnect.
+
+
+
+
+
+ -
+ Type
+
+ -
+
+Promise
+
+
+
+
+
+
+
+
+
+
@@ -4073,7 +4194,7 @@
@@ -4244,7 +4365,7 @@
@@ -4439,7 +4560,7 @@
@@ -4762,7 +4883,7 @@
@@ -4957,7 +5078,7 @@
@@ -5036,7 +5157,7 @@
Documentation generated by JSDoc 3.5.5
- on Tue Jan 22nd 2019
+ on Thu Jan 24th 2019
using the DocStrap template.
diff --git a/docs/PUPRemote.html b/docs/PUPRemote.html
index dd37e59..4f5e919 100644
--- a/docs/PUPRemote.html
+++ b/docs/PUPRemote.html
@@ -2061,7 +2061,7 @@
@@ -2112,6 +2112,127 @@
+
+
+
+
+
+
+ shutdown()
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ - Inherited From:
+ -
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ - Source:
+ -
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Returns:
+
+
+
+
Resolved upon successful disconnect.
+
+
+
+
+
+ -
+ Type
+
+ -
+
+Promise
+
+
+
+
+
+
+
+
+
+
@@ -3014,7 +3135,7 @@
@@ -3209,7 +3330,7 @@
@@ -3288,7 +3409,7 @@
Documentation generated by JSDoc 3.5.5
- on Tue Jan 22nd 2019
+ on Thu Jan 24th 2019
using the DocStrap template.
diff --git a/docs/PoweredUP.html b/docs/PoweredUP.html
index dc2ceb6..7c45edd 100644
--- a/docs/PoweredUP.html
+++ b/docs/PoweredUP.html
@@ -860,7 +860,7 @@
Documentation generated by JSDoc 3.5.5
- on Tue Jan 22nd 2019
+ on Thu Jan 24th 2019
using the DocStrap template.
diff --git a/docs/WeDo2SmartHub.html b/docs/WeDo2SmartHub.html
index 52b58a2..3e7a763 100644
--- a/docs/WeDo2SmartHub.html
+++ b/docs/WeDo2SmartHub.html
@@ -5046,7 +5046,7 @@
Documentation generated by JSDoc 3.5.5
- on Tue Jan 22nd 2019
+ on Thu Jan 24th 2019
using the DocStrap template.
diff --git a/docs/boostmovehub.js.html b/docs/boostmovehub.js.html
index 97b9cac..9730dc3 100644
--- a/docs/boostmovehub.js.html
+++ b/docs/boostmovehub.js.html
@@ -349,7 +349,7 @@ exports.BoostMoveHub = BoostMoveHub;
Documentation generated by JSDoc 3.5.5
- on Tue Jan 22nd 2019
+ on Thu Jan 24th 2019
using the DocStrap template.
diff --git a/docs/classes.list.html b/docs/classes.list.html
index a3249f7..b9a8119 100644
--- a/docs/classes.list.html
+++ b/docs/classes.list.html
@@ -506,7 +506,7 @@
@@ -677,7 +677,7 @@
@@ -872,7 +872,7 @@
@@ -1195,7 +1195,7 @@
@@ -1366,7 +1366,7 @@
@@ -1561,7 +1561,7 @@
@@ -1732,7 +1732,7 @@
@@ -1903,7 +1903,7 @@
@@ -2536,7 +2536,7 @@
@@ -2698,7 +2698,7 @@
@@ -2884,7 +2884,7 @@
@@ -3193,7 +3193,7 @@
@@ -3355,7 +3355,7 @@
@@ -3517,7 +3517,7 @@
@@ -3703,7 +3703,7 @@
@@ -4200,7 +4200,7 @@
@@ -4371,7 +4371,7 @@
@@ -4566,7 +4566,7 @@
@@ -4889,7 +4889,7 @@
@@ -5084,7 +5084,7 @@
@@ -5255,7 +5255,7 @@
@@ -5450,7 +5450,7 @@
@@ -6681,7 +6681,7 @@
Documentation generated by JSDoc 3.5.5
- on Tue Jan 22nd 2019
+ on Thu Jan 24th 2019
using the DocStrap template.
diff --git a/docs/consts.js.html b/docs/consts.js.html
index 75c214b..be9b66a 100644
--- a/docs/consts.js.html
+++ b/docs/consts.js.html
@@ -277,7 +277,7 @@ var BLECharacteristic;
Documentation generated by JSDoc 3.5.5
- on Tue Jan 22nd 2019
+ on Thu Jan 24th 2019
using the DocStrap template.
diff --git a/docs/duplotrainbase.js.html b/docs/duplotrainbase.js.html
index b316d1c..63c2b6c 100644
--- a/docs/duplotrainbase.js.html
+++ b/docs/duplotrainbase.js.html
@@ -298,7 +298,7 @@ exports.DuploTrainBase = DuploTrainBase;
Documentation generated by JSDoc 3.5.5
- on Tue Jan 22nd 2019
+ on Thu Jan 24th 2019
using the DocStrap template.
diff --git a/docs/global.html b/docs/global.html
index b82dbc9..04bdd7d 100644
--- a/docs/global.html
+++ b/docs/global.html
@@ -3272,7 +3272,7 @@
Documentation generated by JSDoc 3.5.5
- on Tue Jan 22nd 2019
+ on Thu Jan 24th 2019
using the DocStrap template.
diff --git a/docs/hub.js.html b/docs/hub.js.html
index febca00..1d88ac3 100644
--- a/docs/hub.js.html
+++ b/docs/hub.js.html
@@ -480,7 +480,7 @@ exports.Hub = Hub;
Documentation generated by JSDoc 3.5.5
- on Tue Jan 22nd 2019
+ on Thu Jan 24th 2019
using the DocStrap template.
diff --git a/docs/index.html b/docs/index.html
index 93f3f20..cf8d317 100644
--- a/docs/index.html
+++ b/docs/index.html
@@ -314,7 +314,7 @@ poweredUP.scan(); // Start scanning for HubsMore examples are av
Documentation generated by JSDoc 3.5.5
- on Tue Jan 22nd 2019
+ on Thu Jan 24th 2019
using the DocStrap template.
diff --git a/docs/lpf2hub.js.html b/docs/lpf2hub.js.html
index 0329cdc..8e506a0 100644
--- a/docs/lpf2hub.js.html
+++ b/docs/lpf2hub.js.html
@@ -126,6 +126,18 @@ class LPF2Hub extends hub_1.Hub {
return resolve();
});
}
+ /**
+ * Shutdown the Hub.
+ * @method LPF2Hub#shutdown
+ * @returns {Promise} Resolved upon successful disconnect.
+ */
+ shutdown() {
+ return new Promise((resolve, reject) => {
+ this._writeMessage(Consts.BLECharacteristic.LPF2_ALL, Buffer.from([0x02, 0x01]), () => {
+ return resolve();
+ });
+ });
+ }
/**
* Set the name of the Hub.
* @method LPF2Hub#setName
@@ -495,7 +507,7 @@ exports.LPF2Hub = LPF2Hub;
Documentation generated by JSDoc 3.5.5
- on Tue Jan 22nd 2019
+ on Thu Jan 24th 2019
using the DocStrap template.
diff --git a/docs/poweredup.js.html b/docs/poweredup.js.html
index 0907ba4..77870f8 100644
--- a/docs/poweredup.js.html
+++ b/docs/poweredup.js.html
@@ -273,7 +273,7 @@ exports.PoweredUP = PoweredUP;
Documentation generated by JSDoc 3.5.5
- on Tue Jan 22nd 2019
+ on Thu Jan 24th 2019
using the DocStrap template.
diff --git a/docs/puphub.js.html b/docs/puphub.js.html
index 4ecf784..ee1ea07 100644
--- a/docs/puphub.js.html
+++ b/docs/puphub.js.html
@@ -306,7 +306,7 @@ exports.PUPHub = PUPHub;
Documentation generated by JSDoc 3.5.5
- on Tue Jan 22nd 2019
+ on Thu Jan 24th 2019
using the DocStrap template.
diff --git a/docs/pupremote.js.html b/docs/pupremote.js.html
index 6c893f3..bc1dfa4 100644
--- a/docs/pupremote.js.html
+++ b/docs/pupremote.js.html
@@ -236,7 +236,7 @@ exports.PUPRemote = PUPRemote;
Documentation generated by JSDoc 3.5.5
- on Tue Jan 22nd 2019
+ on Thu Jan 24th 2019
using the DocStrap template.
diff --git a/docs/quicksearch.html b/docs/quicksearch.html
index 0d233a2..5b3fc3d 100644
--- a/docs/quicksearch.html
+++ b/docs/quicksearch.html
@@ -7,7 +7,7 @@