diff --git a/docs/BoostMoveHub.html b/docs/BoostMoveHub.html
index 80ab84f..a3d2f50 100644
--- a/docs/BoostMoveHub.html
+++ b/docs/BoostMoveHub.html
@@ -1017,6 +1017,168 @@
+
+-
+
brakeMotor(port)
+
+
+
+-
+
+
+
+
Fully (hard) stop the motor on a given port.
+
+
+
+
+
+
+
+
+
+ Parameters:
+
+
+
+
+
+
+ Name |
+
+
+ Type |
+
+
+
+
+
+ Description |
+
+
+
+
+
+
+
+
+ port |
+
+
+
+
+
+string
+
+
+
+
+ |
+
+
+
+
+
+ |
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ - Source:
+ -
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Returns:
+
+
+
+
Resolved upon successful completion of command.
+
+
+
+
+
+ -
+ Type
+
+ -
+
+Promise
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
connect()
@@ -1559,168 +1721,6 @@
-
-
-
-
-
--
-
hardStopMotor(port)
-
-
-
- -
-
-
-
-
Fully (hard) stop the motor on a given port.
-
-
-
-
-
-
-
-
-
- Parameters:
-
-
-
-
-
-
- Name |
-
-
- Type |
-
-
-
-
-
- Description |
-
-
-
-
-
-
-
-
- port |
-
-
-
-
-
-string
-
-
-
-
- |
-
-
-
-
-
- |
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- - Source:
- -
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Returns:
-
-
-
-
Resolved upon successful completion of command.
-
-
-
-
-
- -
- Type
-
- -
-
-Promise
-
-
-
-
-
-
-
-
-
-
@@ -4330,7 +4330,7 @@
@@ -4501,7 +4501,7 @@
@@ -4696,7 +4696,7 @@
@@ -5019,7 +5019,7 @@
@@ -5190,7 +5190,7 @@
@@ -5385,7 +5385,7 @@
diff --git a/docs/DuploTrainBase.html b/docs/DuploTrainBase.html
index ae6ca7a..fcbccda 100644
--- a/docs/DuploTrainBase.html
+++ b/docs/DuploTrainBase.html
@@ -1017,6 +1017,168 @@
+
+-
+
brakeMotor(port)
+
+
+
+-
+
+
+
+
Fully (hard) stop the motor on a given port.
+
+
+
+
+
+
+
+
+
+ Parameters:
+
+
+
+
+
+
+ Name |
+
+
+ Type |
+
+
+
+
+
+ Description |
+
+
+
+
+
+
+
+
+ port |
+
+
+
+
+
+string
+
+
+
+
+ |
+
+
+
+
+
+ |
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ - Source:
+ -
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Returns:
+
+
+
+
Resolved upon successful completion of command.
+
+
+
+
+
+ -
+ Type
+
+ -
+
+Promise
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
connect()
@@ -1559,168 +1721,6 @@
-
-
-
-
-
--
-
hardStopMotor(port)
-
-
-
- -
-
-
-
-
Fully (hard) stop the motor on a given port.
-
-
-
-
-
-
-
-
-
- Parameters:
-
-
-
-
-
-
- Name |
-
-
- Type |
-
-
-
-
-
- Description |
-
-
-
-
-
-
-
-
- port |
-
-
-
-
-
-string
-
-
-
-
- |
-
-
-
-
-
- |
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- - Source:
- -
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Returns:
-
-
-
-
Resolved upon successful completion of command.
-
-
-
-
-
- -
- Type
-
- -
-
-Promise
-
-
-
-
-
-
-
-
-
-
@@ -3817,7 +3817,7 @@
@@ -3988,7 +3988,7 @@
diff --git a/docs/LPF2Hub.html b/docs/LPF2Hub.html
index 00f2941..07ceebc 100644
--- a/docs/LPF2Hub.html
+++ b/docs/LPF2Hub.html
@@ -3086,7 +3086,7 @@
@@ -3248,7 +3248,7 @@
@@ -3434,7 +3434,7 @@
@@ -3743,7 +3743,7 @@
@@ -3905,7 +3905,7 @@
@@ -4067,7 +4067,7 @@
@@ -4253,7 +4253,7 @@
diff --git a/docs/PUPHub.html b/docs/PUPHub.html
index 9ea70b1..d56b6e5 100644
--- a/docs/PUPHub.html
+++ b/docs/PUPHub.html
@@ -1017,6 +1017,168 @@
+
+-
+
brakeMotor(port)
+
+
+
+-
+
+
+
+
Fully (hard) stop the motor on a given port.
+
+
+
+
+
+
+
+
+
+ Parameters:
+
+
+
+
+
+
+ Name |
+
+
+ Type |
+
+
+
+
+
+ Description |
+
+
+
+
+
+
+
+
+ port |
+
+
+
+
+
+string
+
+
+
+
+ |
+
+
+
+
+
+ |
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ - Source:
+ -
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Returns:
+
+
+
+
Resolved upon successful completion of command.
+
+
+
+
+
+ -
+ Type
+
+ -
+
+Promise
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
connect()
@@ -1559,168 +1721,6 @@
-
-
-
-
-
--
-
hardStopMotor(port)
-
-
-
- -
-
-
-
-
Fully (hard) stop the motor on a given port.
-
-
-
-
-
-
-
-
-
- Parameters:
-
-
-
-
-
-
- Name |
-
-
- Type |
-
-
-
-
-
- Description |
-
-
-
-
-
-
-
-
- port |
-
-
-
-
-
-string
-
-
-
-
- |
-
-
-
-
-
- |
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- - Source:
- -
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Returns:
-
-
-
-
Resolved upon successful completion of command.
-
-
-
-
-
- -
- Type
-
- -
-
-Promise
-
-
-
-
-
-
-
-
-
-
@@ -4073,7 +4073,7 @@
@@ -4244,7 +4244,7 @@
@@ -4439,7 +4439,7 @@
@@ -4762,7 +4762,7 @@
@@ -4957,7 +4957,7 @@
diff --git a/docs/PUPRemote.html b/docs/PUPRemote.html
index da66a6c..dd37e59 100644
--- a/docs/PUPRemote.html
+++ b/docs/PUPRemote.html
@@ -3014,7 +3014,7 @@
@@ -3209,7 +3209,7 @@
diff --git a/docs/WeDo2SmartHub.html b/docs/WeDo2SmartHub.html
index e261195..52b58a2 100644
--- a/docs/WeDo2SmartHub.html
+++ b/docs/WeDo2SmartHub.html
@@ -985,6 +985,168 @@
+
+-
+
brakeMotor(port)
+
+
+
+-
+
+
+
+
Fully (hard) stop the motor on a given port.
+
+
+
+
+
+
+
+
+
+ Parameters:
+
+
+
+
+
+
+ Name |
+
+
+ Type |
+
+
+
+
+
+ Description |
+
+
+
+
+
+
+
+
+ port |
+
+
+
+
+
+string
+
+
+
+
+ |
+
+
+
+
+
+ |
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ - Source:
+ -
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Returns:
+
+
+
+
Resolved upon successful completion of command.
+
+
+
+
+
+ -
+ Type
+
+ -
+
+Promise
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
connect()
@@ -1512,168 +1674,6 @@
-
-
-
-
-
--
-
hardStopMotor(port)
-
-
-
- -
-
-
-
-
Fully (hard) stop the motor on a given port.
-
-
-
-
-
-
-
-
-
- Parameters:
-
-
-
-
-
-
- Name |
-
-
- Type |
-
-
-
-
-
- Description |
-
-
-
-
-
-
-
-
- port |
-
-
-
-
-
-string
-
-
-
-
- |
-
-
-
-
-
- |
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- - Source:
- -
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Returns:
-
-
-
-
Resolved upon successful completion of command.
-
-
-
-
-
- -
- Type
-
- -
-
-Promise
-
-
-
-
-
-
-
-
-
-
@@ -4148,7 +4148,7 @@
@@ -4310,7 +4310,7 @@
@@ -4619,7 +4619,7 @@
@@ -4781,7 +4781,7 @@
@@ -4967,7 +4967,7 @@
diff --git a/docs/boostmovehub.js.html b/docs/boostmovehub.js.html
index 826de25..97b9cac 100644
--- a/docs/boostmovehub.js.html
+++ b/docs/boostmovehub.js.html
@@ -268,11 +268,11 @@ class BoostMoveHub extends lpf2hub_1.LPF2Hub {
}
/**
* Fully (hard) stop the motor on a given port.
- * @method BoostMoveHub#hardStopMotor
+ * @method BoostMoveHub#brakeMotor
* @param {string} port
* @returns {Promise} Resolved upon successful completion of command.
*/
- hardStopMotor(port) {
+ brakeMotor(port) {
return this.setMotorSpeed(port, 127);
}
/**
diff --git a/docs/classes.list.html b/docs/classes.list.html
index b3a91d3..a3249f7 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 @@
@@ -5783,7 +5783,7 @@
@@ -5945,7 +5945,7 @@
@@ -6254,7 +6254,7 @@
@@ -6416,7 +6416,7 @@
@@ -6602,7 +6602,7 @@
diff --git a/docs/duplotrainbase.js.html b/docs/duplotrainbase.js.html
index 8340e2c..b316d1c 100644
--- a/docs/duplotrainbase.js.html
+++ b/docs/duplotrainbase.js.html
@@ -231,11 +231,11 @@ class DuploTrainBase extends lpf2hub_1.LPF2Hub {
}
/**
* Fully (hard) stop the motor on a given port.
- * @method DuploTrainBase#hardStopMotor
+ * @method DuploTrainBase#brakeMotor
* @param {string} port
* @returns {Promise} Resolved upon successful completion of command.
*/
- hardStopMotor(port) {
+ brakeMotor(port) {
return this.setMotorSpeed(port, 127);
}
/**
diff --git a/docs/lpf2hub.js.html b/docs/lpf2hub.js.html
index f2b3ba5..0329cdc 100644
--- a/docs/lpf2hub.js.html
+++ b/docs/lpf2hub.js.html
@@ -199,6 +199,7 @@ class LPF2Hub extends hub_1.Hub {
if (characteristic) {
message = Buffer.concat([Buffer.alloc(2), message]);
message[0] = message.length;
+ debug("Sent Message (LPF2_ALL)", message);
characteristic.write(message, false, callback);
}
}
@@ -213,6 +214,7 @@ class LPF2Hub extends hub_1.Hub {
if (len >= this._messageBuffer.length) {
const message = this._messageBuffer.slice(0, len);
this._messageBuffer = this._messageBuffer.slice(len);
+ debug("Received Message (LPF2_ALL)", message);
switch (message[2]) {
case 0x01: {
this._parseDeviceInfo(message);
diff --git a/docs/puphub.js.html b/docs/puphub.js.html
index 11e5c7f..4ecf784 100644
--- a/docs/puphub.js.html
+++ b/docs/puphub.js.html
@@ -225,11 +225,11 @@ class PUPHub extends lpf2hub_1.LPF2Hub {
}
/**
* Fully (hard) stop the motor on a given port.
- * @method PUPHub#hardStopMotor
+ * @method PUPHub#brakeMotor
* @param {string} port
* @returns {Promise} Resolved upon successful completion of command.
*/
- hardStopMotor(port) {
+ brakeMotor(port) {
return this.setMotorSpeed(port, 127);
}
/**
diff --git a/docs/quicksearch.html b/docs/quicksearch.html
index 2ba7e5e..0d233a2 100644
--- a/docs/quicksearch.html
+++ b/docs/quicksearch.html
@@ -7,7 +7,7 @@