node-poweredup 8.0.5 → 9.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.drone.yml +2 -2
- package/.gitmodules +0 -3
- package/.jsdoc.json +1 -2
- package/dist/browser/poweredup.js +1 -1
- package/dist/browser/poweredup.js.map +1 -1
- package/dist/node/color.js +5 -1
- package/dist/node/color.js.map +1 -1
- package/dist/node/consts.d.ts +21 -21
- package/dist/node/consts.js +27 -27
- package/dist/node/consts.js.map +1 -1
- package/dist/node/devices/absolutemotor.js +6 -2
- package/dist/node/devices/absolutemotor.js.map +1 -1
- package/dist/node/devices/basicmotor.js +5 -1
- package/dist/node/devices/basicmotor.js.map +1 -1
- package/dist/node/devices/colordistancesensor.js +7 -3
- package/dist/node/devices/colordistancesensor.js.map +1 -1
- package/dist/node/devices/currentsensor.js +6 -2
- package/dist/node/devices/currentsensor.js.map +1 -1
- package/dist/node/devices/device.d.ts +3 -1
- package/dist/node/devices/device.js +5 -1
- package/dist/node/devices/device.js.map +1 -1
- package/dist/node/devices/duplotrainbasecolorsensor.js +6 -2
- package/dist/node/devices/duplotrainbasecolorsensor.js.map +1 -1
- package/dist/node/devices/duplotrainbasemotor.js +5 -1
- package/dist/node/devices/duplotrainbasemotor.js.map +1 -1
- package/dist/node/devices/duplotrainbasespeaker.js +6 -2
- package/dist/node/devices/duplotrainbasespeaker.js.map +1 -1
- package/dist/node/devices/duplotrainbasespeedometer.js +6 -2
- package/dist/node/devices/duplotrainbasespeedometer.js.map +1 -1
- package/dist/node/devices/hubled.js +6 -2
- package/dist/node/devices/hubled.js.map +1 -1
- package/dist/node/devices/light.js +5 -1
- package/dist/node/devices/light.js.map +1 -1
- package/dist/node/devices/marioaccelerometer.js +6 -2
- package/dist/node/devices/marioaccelerometer.js.map +1 -1
- package/dist/node/devices/mariobarcodesensor.js +6 -2
- package/dist/node/devices/mariobarcodesensor.js.map +1 -1
- package/dist/node/devices/mariopantssensor.js +6 -2
- package/dist/node/devices/mariopantssensor.js.map +1 -1
- package/dist/node/devices/mediumlinearmotor.js +5 -1
- package/dist/node/devices/mediumlinearmotor.js.map +1 -1
- package/dist/node/devices/motionsensor.js +6 -2
- package/dist/node/devices/motionsensor.js.map +1 -1
- package/dist/node/devices/movehubmediumlinearmotor.js +5 -1
- package/dist/node/devices/movehubmediumlinearmotor.js.map +1 -1
- package/dist/node/devices/movehubtiltsensor.js +6 -2
- package/dist/node/devices/movehubtiltsensor.js.map +1 -1
- package/dist/node/devices/piezobuzzer.js +5 -1
- package/dist/node/devices/piezobuzzer.js.map +1 -1
- package/dist/node/devices/remotecontrolbutton.js +7 -3
- package/dist/node/devices/remotecontrolbutton.js.map +1 -1
- package/dist/node/devices/simplemediumlinearmotor.js +5 -1
- package/dist/node/devices/simplemediumlinearmotor.js.map +1 -1
- package/dist/node/devices/tachomotor.js +6 -2
- package/dist/node/devices/tachomotor.js.map +1 -1
- package/dist/node/devices/technic3x3colorlightmatrix.js +6 -2
- package/dist/node/devices/technic3x3colorlightmatrix.js.map +1 -1
- package/dist/node/devices/techniccolorsensor.js +6 -2
- package/dist/node/devices/techniccolorsensor.js.map +1 -1
- package/dist/node/devices/technicdistancesensor.js +6 -2
- package/dist/node/devices/technicdistancesensor.js.map +1 -1
- package/dist/node/devices/technicforcesensor.js +6 -2
- package/dist/node/devices/technicforcesensor.js.map +1 -1
- package/dist/node/devices/techniclargeangularmotor.js +5 -1
- package/dist/node/devices/techniclargeangularmotor.js.map +1 -1
- package/dist/node/devices/techniclargelinearmotor.js +5 -1
- package/dist/node/devices/techniclargelinearmotor.js.map +1 -1
- package/dist/node/devices/technicmediumangularmotor.js +5 -1
- package/dist/node/devices/technicmediumangularmotor.js.map +1 -1
- package/dist/node/devices/technicmediumhubaccelerometersensor.js +6 -2
- package/dist/node/devices/technicmediumhubaccelerometersensor.js.map +1 -1
- package/dist/node/devices/technicmediumhubgyrosensor.js +6 -2
- package/dist/node/devices/technicmediumhubgyrosensor.js.map +1 -1
- package/dist/node/devices/technicmediumhubtiltsensor.js +7 -3
- package/dist/node/devices/technicmediumhubtiltsensor.js.map +1 -1
- package/dist/node/devices/technicsmallangularmotor.js +5 -1
- package/dist/node/devices/technicsmallangularmotor.js.map +1 -1
- package/dist/node/devices/technicxlargelinearmotor.js +5 -1
- package/dist/node/devices/technicxlargelinearmotor.js.map +1 -1
- package/dist/node/devices/tiltsensor.js +6 -2
- package/dist/node/devices/tiltsensor.js.map +1 -1
- package/dist/node/devices/trainmotor.js +5 -1
- package/dist/node/devices/trainmotor.js.map +1 -1
- package/dist/node/devices/voltagesensor.js +6 -2
- package/dist/node/devices/voltagesensor.js.map +1 -1
- package/dist/node/hubs/basehub.d.ts +1 -0
- package/dist/node/hubs/basehub.js +5 -1
- package/dist/node/hubs/basehub.js.map +1 -1
- package/dist/node/hubs/duplotrainbase.d.ts +1 -0
- package/dist/node/hubs/duplotrainbase.js +5 -1
- package/dist/node/hubs/duplotrainbase.js.map +1 -1
- package/dist/node/hubs/hub.d.ts +1 -0
- package/dist/node/hubs/hub.js +12 -11
- package/dist/node/hubs/hub.js.map +1 -1
- package/dist/node/hubs/lpf2hub.js +5 -1
- package/dist/node/hubs/lpf2hub.js.map +1 -1
- package/dist/node/hubs/mario.d.ts +1 -0
- package/dist/node/hubs/mario.js +5 -1
- package/dist/node/hubs/mario.js.map +1 -1
- package/dist/node/hubs/movehub.d.ts +1 -0
- package/dist/node/hubs/movehub.js +7 -6
- package/dist/node/hubs/movehub.js.map +1 -1
- package/dist/node/hubs/remotecontrol.d.ts +1 -0
- package/dist/node/hubs/remotecontrol.js +5 -1
- package/dist/node/hubs/remotecontrol.js.map +1 -1
- package/dist/node/hubs/technicmediumhub.d.ts +1 -0
- package/dist/node/hubs/technicmediumhub.js +5 -1
- package/dist/node/hubs/technicmediumhub.js.map +1 -1
- package/dist/node/hubs/technicsmallhub.d.ts +1 -0
- package/dist/node/hubs/technicsmallhub.js +10 -6
- package/dist/node/hubs/technicsmallhub.js.map +1 -1
- package/dist/node/hubs/wedo2smarthub.d.ts +1 -0
- package/dist/node/hubs/wedo2smarthub.js +10 -6
- package/dist/node/hubs/wedo2smarthub.js.map +1 -1
- package/dist/node/index-browser.js +5 -1
- package/dist/node/index-browser.js.map +1 -1
- package/dist/node/index-node.js +5 -1
- package/dist/node/index-node.js.map +1 -1
- package/dist/node/interfaces.d.ts +1 -0
- package/dist/node/nobleabstraction.d.ts +1 -0
- package/dist/node/nobleabstraction.js.map +1 -1
- package/dist/node/poweredup-browser.js +10 -3
- package/dist/node/poweredup-browser.js.map +1 -1
- package/dist/node/poweredup-node.js +5 -1
- package/dist/node/poweredup-node.js.map +1 -1
- package/dist/node/utils.d.ts +2 -1
- package/dist/node/utils.js.map +1 -1
- package/dist/node/webbleabstraction.d.ts +2 -1
- package/dist/node/webbleabstraction.js +1 -1
- package/dist/node/webbleabstraction.js.map +1 -1
- package/docs/AbsoluteMotor.html +1037 -1066
- package/docs/BaseHub.html +622 -807
- package/docs/BasicMotor.html +707 -809
- package/docs/ColorDistanceSensor.html +1500 -1611
- package/docs/CurrentSensor.html +470 -623
- package/docs/Device.html +372 -502
- package/docs/DuploTrainBase.html +1004 -1225
- package/docs/DuploTrainBaseColorSensor.html +712 -874
- package/docs/DuploTrainBaseMotor.html +723 -841
- package/docs/DuploTrainBaseSpeaker.html +565 -693
- package/docs/DuploTraniBaseSpeedometer.html +396 -550
- package/docs/Hub.html +3842 -3987
- package/docs/HubLED.html +591 -731
- package/docs/LPF2Hub.html +983 -1188
- package/docs/Light.html +591 -731
- package/docs/Mario.html +1004 -1225
- package/docs/MarioAccelerometer.html +568 -732
- package/docs/MarioBarcodeSensor.html +568 -732
- package/docs/MarioPantsSensor.html +470 -623
- package/docs/MediumLinearMotor.html +679 -748
- package/docs/MotionSensor.html +470 -623
- package/docs/MoveHub.html +1004 -1225
- package/docs/MoveHubMediumLinearMotor.html +679 -748
- package/docs/MoveHubTiltSensor.html +483 -642
- package/docs/PiezoBuzzer.html +495 -642
- package/docs/PoweredUP.html +2223 -2174
- package/docs/RemoteControl.html +1004 -1225
- package/docs/RemoteControlButton.html +470 -623
- package/docs/SimpleMediumLinearMotor.html +396 -550
- package/docs/TachoMotor.html +1298 -1393
- package/docs/Technic3x3ColorLightMatrix.html +484 -628
- package/docs/TechnicColorSensor.html +726 -876
- package/docs/TechnicDistanceSensor.html +667 -824
- package/docs/TechnicForceSensor.html +614 -765
- package/docs/TechnicLargeAngularMotor.html +1046 -1091
- package/docs/TechnicLargeLinearMotor.html +1046 -1091
- package/docs/TechnicMediumAngularMotor.html +1046 -1091
- package/docs/TechnicMediumHub.html +1004 -1225
- package/docs/TechnicMediumHubAccelerometerSensor.html +496 -661
- package/docs/TechnicMediumHubGyroSensor.html +496 -661
- package/docs/TechnicMediumHubTiltSensor.html +820 -945
- package/docs/TechnicSmallAngularMotor.html +1046 -1091
- package/docs/TechnicXLargeLinearMotor.html +1046 -1091
- package/docs/TiltSensor.html +483 -642
- package/docs/TrainMotor.html +723 -841
- package/docs/VoltageSensor.html +470 -623
- package/docs/WeDo2SmartHub.html +890 -1102
- package/docs/consts.js.html +53 -116
- package/docs/devices_absolutemotor.js.html +35 -94
- package/docs/devices_basicmotor.js.html +34 -93
- package/docs/devices_colordistancesensor.js.html +33 -92
- package/docs/devices_currentsensor.js.html +35 -94
- package/docs/devices_device.js.html +32 -91
- package/docs/devices_duplotrainbasecolorsensor.js.html +35 -94
- package/docs/devices_duplotrainbasemotor.js.html +34 -93
- package/docs/devices_duplotrainbasespeaker.js.html +35 -94
- package/docs/devices_duplotrainbasespeedometer.js.html +35 -94
- package/docs/devices_hubled.js.html +35 -94
- package/docs/devices_light.js.html +34 -93
- package/docs/devices_marioaccelerometer.js.html +35 -94
- package/docs/devices_mariobarcodesensor.js.html +35 -94
- package/docs/devices_mariopantssensor.js.html +35 -94
- package/docs/devices_mediumlinearmotor.js.html +34 -93
- package/docs/devices_motionsensor.js.html +35 -94
- package/docs/devices_movehubmediumlinearmotor.js.html +34 -93
- package/docs/devices_movehubtiltsensor.js.html +35 -94
- package/docs/devices_piezobuzzer.js.html +34 -93
- package/docs/devices_remotecontrolbutton.js.html +36 -95
- package/docs/devices_simplemediumlinearmotor.js.html +34 -93
- package/docs/devices_tachomotor.js.html +33 -92
- package/docs/devices_technic3x3colorlightmatrix.js.html +35 -94
- package/docs/devices_techniccolorsensor.js.html +35 -94
- package/docs/devices_technicdistancesensor.js.html +35 -94
- package/docs/devices_technicforcesensor.js.html +35 -94
- package/docs/devices_techniclargeangularmotor.js.html +34 -93
- package/docs/devices_techniclargelinearmotor.js.html +34 -93
- package/docs/devices_technicmediumangularmotor.js.html +34 -93
- package/docs/devices_technicmediumhubaccelerometersensor.js.html +35 -94
- package/docs/devices_technicmediumhubgyrosensor.js.html +35 -94
- package/docs/devices_technicmediumhubtiltsensor.js.html +36 -95
- package/docs/devices_technicsmallangularmotor.js.html +34 -93
- package/docs/devices_technicxlargelinearmotor.js.html +34 -93
- package/docs/devices_tiltsensor.js.html +35 -94
- package/docs/devices_trainmotor.js.html +34 -93
- package/docs/devices_voltagesensor.js.html +35 -94
- package/docs/global.html +2094 -7927
- package/docs/hubs_basehub.js.html +31 -90
- package/docs/hubs_duplotrainbase.js.html +34 -93
- package/docs/hubs_hub.js.html +41 -103
- package/docs/hubs_lpf2hub.js.html +31 -90
- package/docs/hubs_mario.js.html +34 -93
- package/docs/hubs_movehub.js.html +36 -98
- package/docs/hubs_remotecontrol.js.html +34 -93
- package/docs/hubs_technicmediumhub.js.html +34 -93
- package/docs/hubs_technicsmallhub.js.html +39 -98
- package/docs/hubs_wedo2smarthub.js.html +36 -95
- package/docs/index.html +36 -83
- package/docs/poweredup-browser.js.html +36 -92
- package/docs/poweredup-node.js.html +32 -91
- package/docs/scripts/linenumber.js +21 -19
- package/docs/scripts/prettify/Apache-License-2.0.txt +202 -0
- package/docs/scripts/prettify/lang-css.js +2 -0
- package/docs/scripts/prettify/prettify.js +28 -0
- package/docs/styles/jsdoc-default.css +192 -787
- package/docs/styles/prettify-jsdoc.css +1 -1
- package/docs/styles/prettify-tomorrow.css +8 -14
- package/package.json +13 -13
- package/src/devices/device.ts +2 -2
- package/src/devices/remotecontrolbutton.ts +1 -1
- package/src/devices/technicmediumhubtiltsensor.ts +1 -1
- package/src/hubs/hub.ts +2 -2
- package/src/hubs/movehub.ts +2 -2
- package/src/poweredup-browser.ts +5 -2
- package/src/webbleabstraction.ts +2 -2
- package/jsdoc-template/braintree/CHANGELOG.md +0 -31
- package/jsdoc-template/braintree/LICENSE +0 -27
- package/jsdoc-template/braintree/README.md +0 -90
- package/jsdoc-template/braintree/package.json +0 -39
- package/jsdoc-template/braintree/publish.js +0 -675
- package/jsdoc-template/braintree/static/fonts/OpenSans-Bold-webfont.eot +0 -0
- package/jsdoc-template/braintree/static/fonts/OpenSans-Bold-webfont.svg +0 -1830
- package/jsdoc-template/braintree/static/fonts/OpenSans-Bold-webfont.woff +0 -0
- package/jsdoc-template/braintree/static/fonts/OpenSans-BoldItalic-webfont.eot +0 -0
- package/jsdoc-template/braintree/static/fonts/OpenSans-BoldItalic-webfont.svg +0 -1830
- package/jsdoc-template/braintree/static/fonts/OpenSans-BoldItalic-webfont.woff +0 -0
- package/jsdoc-template/braintree/static/fonts/OpenSans-Italic-webfont.eot +0 -0
- package/jsdoc-template/braintree/static/fonts/OpenSans-Italic-webfont.svg +0 -1830
- package/jsdoc-template/braintree/static/fonts/OpenSans-Italic-webfont.woff +0 -0
- package/jsdoc-template/braintree/static/fonts/OpenSans-Light-webfont.eot +0 -0
- package/jsdoc-template/braintree/static/fonts/OpenSans-Light-webfont.svg +0 -1831
- package/jsdoc-template/braintree/static/fonts/OpenSans-Light-webfont.woff +0 -0
- package/jsdoc-template/braintree/static/fonts/OpenSans-LightItalic-webfont.eot +0 -0
- package/jsdoc-template/braintree/static/fonts/OpenSans-LightItalic-webfont.svg +0 -1835
- package/jsdoc-template/braintree/static/fonts/OpenSans-LightItalic-webfont.woff +0 -0
- package/jsdoc-template/braintree/static/fonts/OpenSans-Regular-webfont.eot +0 -0
- package/jsdoc-template/braintree/static/fonts/OpenSans-Regular-webfont.svg +0 -1831
- package/jsdoc-template/braintree/static/fonts/OpenSans-Regular-webfont.woff +0 -0
- package/jsdoc-template/braintree/static/fonts/OpenSans-Semibold-webfont.eot +0 -0
- package/jsdoc-template/braintree/static/fonts/OpenSans-Semibold-webfont.svg +0 -1830
- package/jsdoc-template/braintree/static/fonts/OpenSans-Semibold-webfont.ttf +0 -0
- package/jsdoc-template/braintree/static/fonts/OpenSans-Semibold-webfont.woff +0 -0
- package/jsdoc-template/braintree/static/fonts/OpenSans-SemiboldItalic-webfont.eot +0 -0
- package/jsdoc-template/braintree/static/fonts/OpenSans-SemiboldItalic-webfont.svg +0 -1830
- package/jsdoc-template/braintree/static/fonts/OpenSans-SemiboldItalic-webfont.ttf +0 -0
- package/jsdoc-template/braintree/static/fonts/OpenSans-SemiboldItalic-webfont.woff +0 -0
- package/jsdoc-template/braintree/static/icons/home.svg +0 -4
- package/jsdoc-template/braintree/static/icons/search.svg +0 -4
- package/jsdoc-template/braintree/static/scripts/linenumber.js +0 -23
- package/jsdoc-template/braintree/static/scripts/pagelocation.js +0 -89
- package/jsdoc-template/braintree/static/styles/collapse.css +0 -27
- package/jsdoc-template/braintree/static/styles/jsdoc-default.css +0 -953
- package/jsdoc-template/braintree/static/styles/prettify-jsdoc.css +0 -111
- package/jsdoc-template/braintree/static/styles/prettify-tomorrow.css +0 -138
- package/jsdoc-template/braintree/tmpl/augments.tmpl +0 -10
- package/jsdoc-template/braintree/tmpl/container.tmpl +0 -213
- package/jsdoc-template/braintree/tmpl/details.tmpl +0 -223
- package/jsdoc-template/braintree/tmpl/example.tmpl +0 -2
- package/jsdoc-template/braintree/tmpl/examples.tmpl +0 -14
- package/jsdoc-template/braintree/tmpl/exceptions.tmpl +0 -28
- package/jsdoc-template/braintree/tmpl/layout.tmpl +0 -150
- package/jsdoc-template/braintree/tmpl/mainpage.tmpl +0 -9
- package/jsdoc-template/braintree/tmpl/members.tmpl +0 -38
- package/jsdoc-template/braintree/tmpl/method.tmpl +0 -128
- package/jsdoc-template/braintree/tmpl/params.tmpl +0 -125
- package/jsdoc-template/braintree/tmpl/properties.tmpl +0 -111
- package/jsdoc-template/braintree/tmpl/returns.tmpl +0 -17
- package/jsdoc-template/braintree/tmpl/source.tmpl +0 -9
- package/jsdoc-template/braintree/tmpl/tutorial.tmpl +0 -23
- package/jsdoc-template/braintree/tmpl/type.tmpl +0 -11
package/docs/WeDo2SmartHub.html
CHANGED
|
@@ -1,129 +1,59 @@
|
|
|
1
1
|
<!DOCTYPE html>
|
|
2
2
|
<html lang="en">
|
|
3
3
|
<head>
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/9.7.0/highlight.min.js"></script>
|
|
15
|
-
<script>hljs.initHighlightingOnLoad();</script>
|
|
16
|
-
|
|
17
|
-
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.1.0/jquery.min.js"></script>
|
|
18
|
-
|
|
19
|
-
<link type="text/css" rel="stylesheet" href="styles/prettify-tomorrow.css">
|
|
20
|
-
<link type="text/css" rel="stylesheet" href="styles/jsdoc-default.css">
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
<!-- start Mixpanel -->
|
|
26
|
-
<script type="text/javascript">(function(e,a){if(!a.__SV){var b=window;try{var c,l,i,j=b.location,g=j.hash;c=function(a,b){return(l=a.match(RegExp(b+"=([^&]*)")))?l[1]:null};g&&c(g,"state")&&(i=JSON.parse(decodeURIComponent(c(g,"state"))),"mpeditor"===i.action&&(b.sessionStorage.setItem("_mpcehash",g),history.replaceState(i.desiredHash||"",e.title,j.pathname+j.search)))}catch(m){}var k,h;window.mixpanel=a;a._i=[];a.init=function(b,c,f){function e(b,a){var c=a.split(".");2==c.length&&(b=b[c[0]],a=c[1]);b[a]=function(){b.push([a].concat(Array.prototype.slice.call(arguments,
|
|
27
|
-
0)))}}var d=a;"undefined"!==typeof f?d=a[f]=[]:f="mixpanel";d.people=d.people||[];d.toString=function(b){var a="mixpanel";"mixpanel"!==f&&(a+="."+f);b||(a+=" (stub)");return a};d.people.toString=function(){return d.toString(1)+".people (stub)"};k="disable time_event track track_pageview track_links track_forms register register_once alias unregister identify name_tag set_config reset people.set people.set_once people.increment people.append people.union people.track_charge people.clear_charges people.delete_user".split(" ");
|
|
28
|
-
for(h=0;h<k.length;h++)e(d,k[h]);a._i.push([b,c,f])};a.__SV=1.2;b=e.createElement("script");b.type="text/javascript";b.async=!0;b.src="undefined"!==typeof MIXPANEL_CUSTOM_LIB_URL?MIXPANEL_CUSTOM_LIB_URL:"file:"===e.location.protocol&&"//cdn.mxpnl.com/libs/mixpanel-2-latest.min.js".match(/^\/\//)?"https://cdn.mxpnl.com/libs/mixpanel-2-latest.min.js":"//cdn.mxpnl.com/libs/mixpanel-2-latest.min.js";c=e.getElementsByTagName("script")[0];c.parentNode.insertBefore(b,c)}})(document,window.mixpanel||[]);
|
|
29
|
-
mixpanel.init("1919205b2da72e4da3b9b6639b444d59");</script>
|
|
30
|
-
<!-- end Mixpanel -->
|
|
4
|
+
<meta charset="utf-8">
|
|
5
|
+
<title>JSDoc: Class: WeDo2SmartHub</title>
|
|
6
|
+
|
|
7
|
+
<script src="scripts/prettify/prettify.js"> </script>
|
|
8
|
+
<script src="scripts/prettify/lang-css.js"> </script>
|
|
9
|
+
<!--[if lt IE 9]>
|
|
10
|
+
<script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
|
|
11
|
+
<![endif]-->
|
|
12
|
+
<link type="text/css" rel="stylesheet" href="styles/prettify-tomorrow.css">
|
|
13
|
+
<link type="text/css" rel="stylesheet" href="styles/jsdoc-default.css">
|
|
31
14
|
</head>
|
|
32
15
|
|
|
33
16
|
<body>
|
|
34
|
-
<svg style="display: none;">
|
|
35
|
-
<defs>
|
|
36
|
-
<symbol id="linkIcon" fill="#706d77" height="24" viewBox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg">
|
|
37
|
-
<path d="M0 0h24v24H0z" fill="none"/>
|
|
38
|
-
<path d="M3.9 12c0-1.71 1.39-3.1 3.1-3.1h4V7H7c-2.76 0-5 2.24-5 5s2.24 5 5 5h4v-1.9H7c-1.71 0-3.1-1.39-3.1-3.1zM8 13h8v-2H8v2zm9-6h-4v1.9h4c1.71 0 3.1 1.39 3.1 3.1s-1.39 3.1-3.1 3.1h-4V17h4c2.76 0 5-2.24 5-5s-2.24-5-5-5z"/>
|
|
39
|
-
</symbol>
|
|
40
|
-
</defs>
|
|
41
|
-
</svg>
|
|
42
|
-
|
|
43
|
-
<input type="checkbox" id="nav-trigger" class="nav-trigger" />
|
|
44
|
-
<label for="nav-trigger" class="navicon-button x">
|
|
45
|
-
<div class="navicon"></div>
|
|
46
|
-
</label>
|
|
47
|
-
|
|
48
|
-
<label for="nav-trigger" class="overlay"></label>
|
|
49
|
-
|
|
50
|
-
<div class="top-nav-wrapper">
|
|
51
|
-
<ul>
|
|
52
|
-
<li >
|
|
53
|
-
<a href="index.html">
|
|
54
|
-
|
|
55
|
-
<svg fill="#6D6D6D" height="24" viewBox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg">
|
|
56
|
-
<path d="M10 20v-6h4v6h5v-8h3L12 3 2 12h3v8z"/>
|
|
57
|
-
<path d="M0 0h24v24H0z" fill="none"/>
|
|
58
|
-
</svg>
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
</a>
|
|
62
|
-
</li>
|
|
63
|
-
|
|
64
|
-
|
|
65
17
|
|
|
66
|
-
|
|
67
|
-
</div>
|
|
18
|
+
<div id="main">
|
|
68
19
|
|
|
69
|
-
|
|
70
|
-
<h3 class="reference-title">
|
|
71
|
-
node-poweredup Reference
|
|
72
|
-
</h3>
|
|
20
|
+
<h1 class="page-title">Class: WeDo2SmartHub</h1>
|
|
73
21
|
|
|
74
22
|
|
|
75
23
|
|
|
76
|
-
<h3>Classes</h3><ul><li id="AbsoluteMotor-nav"><a href="AbsoluteMotor.html">AbsoluteMotor</a><ul class='methods'><li data-type="method" id="AbsoluteMotor-gotoAngle-nav"><a href="AbsoluteMotor.html#gotoAngle">gotoAngle</a></li><li data-type="method" id="AbsoluteMotor-gotoRealZero-nav"><a href="AbsoluteMotor.html#gotoRealZero">gotoRealZero</a></li><li data-type="method" id="AbsoluteMotor-resetZero-nav"><a href="AbsoluteMotor.html#resetZero">resetZero</a></li><li data-type="method" id="AbsoluteMotor-rotateByDegrees-nav"><a href="AbsoluteMotor.html#rotateByDegrees">rotateByDegrees</a></li><li data-type="method" id="AbsoluteMotor-setAccelerationTime-nav"><a href="AbsoluteMotor.html#setAccelerationTime">setAccelerationTime</a></li><li data-type="method" id="AbsoluteMotor-setBrakingStyle-nav"><a href="AbsoluteMotor.html#setBrakingStyle">setBrakingStyle</a></li><li data-type="method" id="AbsoluteMotor-setDecelerationTime-nav"><a href="AbsoluteMotor.html#setDecelerationTime">setDecelerationTime</a></li><li data-type="method" id="AbsoluteMotor-setMaxPower-nav"><a href="AbsoluteMotor.html#setMaxPower">setMaxPower</a></li><li data-type="method" id="AbsoluteMotor-setSpeed-nav"><a href="AbsoluteMotor.html#setSpeed">setSpeed</a></li></ul></li><li id="BaseHub-nav"><a href="BaseHub.html">BaseHub</a></li><li id="BasicMotor-nav"><a href="BasicMotor.html">BasicMotor</a><ul class='methods'><li data-type="method" id="BasicMotor-brake-nav"><a href="BasicMotor.html#brake">brake</a></li><li data-type="method" id="BasicMotor-rampPower-nav"><a href="BasicMotor.html#rampPower">rampPower</a></li><li data-type="method" id="BasicMotor-setPower-nav"><a href="BasicMotor.html#setPower">setPower</a></li><li data-type="method" id="BasicMotor-stop-nav"><a href="BasicMotor.html#stop">stop</a></li></ul></li><li id="ColorDistanceSensor-nav"><a href="ColorDistanceSensor.html">ColorDistanceSensor</a><ul class='methods'><li data-type="method" id="ColorDistanceSensor-sendPFIRMessage-nav"><a href="ColorDistanceSensor.html#sendPFIRMessage">sendPFIRMessage</a></li><li data-type="method" id="ColorDistanceSensor-setColor-nav"><a href="ColorDistanceSensor.html#setColor">setColor</a></li><li data-type="method" id="ColorDistanceSensor-setDistanceCount-nav"><a href="ColorDistanceSensor.html#setDistanceCount">setDistanceCount</a></li><li data-type="method" id="ColorDistanceSensor-setPFExtendedChannel-nav"><a href="ColorDistanceSensor.html#setPFExtendedChannel">setPFExtendedChannel</a></li><li data-type="method" id="ColorDistanceSensor-setPFPower-nav"><a href="ColorDistanceSensor.html#setPFPower">setPFPower</a></li><li data-type="method" id="ColorDistanceSensor-startPFMotors-nav"><a href="ColorDistanceSensor.html#startPFMotors">startPFMotors</a></li></ul></li><li id="CurrentSensor-nav"><a href="CurrentSensor.html">CurrentSensor</a></li><li id="Device-nav"><a href="Device.html">Device</a></li><li id="DuploTrainBase-nav"><a href="DuploTrainBase.html">DuploTrainBase</a><ul class='methods'><li data-type="method" id="DuploTrainBase-createVirtualPort-nav"><a href="DuploTrainBase.html#createVirtualPort">createVirtualPort</a></li><li data-type="method" id="DuploTrainBase-setName-nav"><a href="DuploTrainBase.html#setName">setName</a></li><li data-type="method" id="DuploTrainBase-shutdown-nav"><a href="DuploTrainBase.html#shutdown">shutdown</a></li></ul></li><li id="DuploTrainBaseColorSensor-nav"><a href="DuploTrainBaseColorSensor.html">DuploTrainBaseColorSensor</a></li><li id="DuploTrainBaseMotor-nav"><a href="DuploTrainBaseMotor.html">DuploTrainBaseMotor</a><ul class='methods'><li data-type="method" id="DuploTrainBaseMotor-brake-nav"><a href="DuploTrainBaseMotor.html#brake">brake</a></li><li data-type="method" id="DuploTrainBaseMotor-rampPower-nav"><a href="DuploTrainBaseMotor.html#rampPower">rampPower</a></li><li data-type="method" id="DuploTrainBaseMotor-setPower-nav"><a href="DuploTrainBaseMotor.html#setPower">setPower</a></li><li data-type="method" id="DuploTrainBaseMotor-stop-nav"><a href="DuploTrainBaseMotor.html#stop">stop</a></li></ul></li><li id="DuploTrainBaseSpeaker-nav"><a href="DuploTrainBaseSpeaker.html">DuploTrainBaseSpeaker</a><ul class='methods'><li data-type="method" id="DuploTrainBaseSpeaker-playSound-nav"><a href="DuploTrainBaseSpeaker.html#playSound">playSound</a></li><li data-type="method" id="DuploTrainBaseSpeaker-playTone-nav"><a href="DuploTrainBaseSpeaker.html#playTone">playTone</a></li></ul></li><li id="DuploTraniBaseSpeedometer-nav"><a href="DuploTraniBaseSpeedometer.html">DuploTraniBaseSpeedometer</a></li><li id="Hub-nav"><a href="Hub.html">Hub</a><ul class='methods'><li data-type="method" id="Hub-connect-nav"><a href="Hub.html#connect">connect</a></li><li data-type="method" id="Hub-createVirtualPort-nav"><a href="Hub.html#createVirtualPort">createVirtualPort</a></li><li data-type="method" id="Hub-disconnect-nav"><a href="Hub.html#disconnect">disconnect</a></li><li data-type="method" id="Hub-getDeviceAtPort-nav"><a href="Hub.html#getDeviceAtPort">getDeviceAtPort</a></li><li data-type="method" id="Hub-getDevices-nav"><a href="Hub.html#getDevices">getDevices</a></li><li data-type="method" id="Hub-getDevicesByType-nav"><a href="Hub.html#getDevicesByType">getDevicesByType</a></li><li data-type="method" id="Hub-setName-nav"><a href="Hub.html#setName">setName</a></li><li data-type="method" id="Hub-shutdown-nav"><a href="Hub.html#shutdown">shutdown</a></li><li data-type="method" id="Hub-sleep-nav"><a href="Hub.html#sleep">sleep</a></li><li data-type="method" id="Hub-wait-nav"><a href="Hub.html#wait">wait</a></li><li data-type="method" id="Hub-waitForDeviceAtPort-nav"><a href="Hub.html#waitForDeviceAtPort">waitForDeviceAtPort</a></li><li data-type="method" id="Hub-waitForDeviceByType-nav"><a href="Hub.html#waitForDeviceByType">waitForDeviceByType</a></li></ul></li><li id="HubLED-nav"><a href="HubLED.html">HubLED</a><ul class='methods'><li data-type="method" id="HubLED-setColor-nav"><a href="HubLED.html#setColor">setColor</a></li><li data-type="method" id="HubLED-setRGB-nav"><a href="HubLED.html#setRGB">setRGB</a></li></ul></li><li id="Light-nav"><a href="Light.html">Light</a><ul class='methods'><li data-type="method" id="Light-rampBrightness-nav"><a href="Light.html#rampBrightness">rampBrightness</a></li><li data-type="method" id="Light-setBrightness-nav"><a href="Light.html#setBrightness">setBrightness</a></li></ul></li><li id="LPF2Hub-nav"><a href="LPF2Hub.html">LPF2Hub</a><ul class='methods'><li data-type="method" id="LPF2Hub-createVirtualPort-nav"><a href="LPF2Hub.html#createVirtualPort">createVirtualPort</a></li><li data-type="method" id="LPF2Hub-setName-nav"><a href="LPF2Hub.html#setName">setName</a></li><li data-type="method" id="LPF2Hub-shutdown-nav"><a href="LPF2Hub.html#shutdown">shutdown</a></li></ul></li><li id="Mario-nav"><a href="Mario.html">Mario</a><ul class='methods'><li data-type="method" id="Mario-createVirtualPort-nav"><a href="Mario.html#createVirtualPort">createVirtualPort</a></li><li data-type="method" id="Mario-setName-nav"><a href="Mario.html#setName">setName</a></li><li data-type="method" id="Mario-shutdown-nav"><a href="Mario.html#shutdown">shutdown</a></li></ul></li><li id="MarioAccelerometer-nav"><a href="MarioAccelerometer.html">MarioAccelerometer</a></li><li id="MarioBarcodeSensor-nav"><a href="MarioBarcodeSensor.html">MarioBarcodeSensor</a></li><li id="MarioPantsSensor-nav"><a href="MarioPantsSensor.html">MarioPantsSensor</a></li><li id="MediumLinearMotor-nav"><a href="MediumLinearMotor.html">MediumLinearMotor</a><ul class='methods'><li data-type="method" id="MediumLinearMotor-rotateByDegrees-nav"><a href="MediumLinearMotor.html#rotateByDegrees">rotateByDegrees</a></li><li data-type="method" id="MediumLinearMotor-setAccelerationTime-nav"><a href="MediumLinearMotor.html#setAccelerationTime">setAccelerationTime</a></li><li data-type="method" id="MediumLinearMotor-setBrakingStyle-nav"><a href="MediumLinearMotor.html#setBrakingStyle">setBrakingStyle</a></li><li data-type="method" id="MediumLinearMotor-setDecelerationTime-nav"><a href="MediumLinearMotor.html#setDecelerationTime">setDecelerationTime</a></li><li data-type="method" id="MediumLinearMotor-setMaxPower-nav"><a href="MediumLinearMotor.html#setMaxPower">setMaxPower</a></li><li data-type="method" id="MediumLinearMotor-setSpeed-nav"><a href="MediumLinearMotor.html#setSpeed">setSpeed</a></li></ul></li><li id="MotionSensor-nav"><a href="MotionSensor.html">MotionSensor</a></li><li id="MoveHub-nav"><a href="MoveHub.html">MoveHub</a><ul class='methods'><li data-type="method" id="MoveHub-createVirtualPort-nav"><a href="MoveHub.html#createVirtualPort">createVirtualPort</a></li><li data-type="method" id="MoveHub-setName-nav"><a href="MoveHub.html#setName">setName</a></li><li data-type="method" id="MoveHub-shutdown-nav"><a href="MoveHub.html#shutdown">shutdown</a></li></ul></li><li id="MoveHubMediumLinearMotor-nav"><a href="MoveHubMediumLinearMotor.html">MoveHubMediumLinearMotor</a><ul class='methods'><li data-type="method" id="MoveHubMediumLinearMotor-rotateByDegrees-nav"><a href="MoveHubMediumLinearMotor.html#rotateByDegrees">rotateByDegrees</a></li><li data-type="method" id="MoveHubMediumLinearMotor-setAccelerationTime-nav"><a href="MoveHubMediumLinearMotor.html#setAccelerationTime">setAccelerationTime</a></li><li data-type="method" id="MoveHubMediumLinearMotor-setBrakingStyle-nav"><a href="MoveHubMediumLinearMotor.html#setBrakingStyle">setBrakingStyle</a></li><li data-type="method" id="MoveHubMediumLinearMotor-setDecelerationTime-nav"><a href="MoveHubMediumLinearMotor.html#setDecelerationTime">setDecelerationTime</a></li><li data-type="method" id="MoveHubMediumLinearMotor-setMaxPower-nav"><a href="MoveHubMediumLinearMotor.html#setMaxPower">setMaxPower</a></li><li data-type="method" id="MoveHubMediumLinearMotor-setSpeed-nav"><a href="MoveHubMediumLinearMotor.html#setSpeed">setSpeed</a></li></ul></li><li id="MoveHubTiltSensor-nav"><a href="MoveHubTiltSensor.html">MoveHubTiltSensor</a></li><li id="PiezoBuzzer-nav"><a href="PiezoBuzzer.html">PiezoBuzzer</a><ul class='methods'><li data-type="method" id="PiezoBuzzer-playTone-nav"><a href="PiezoBuzzer.html#playTone">playTone</a></li></ul></li><li id="PoweredUP-nav"><a href="PoweredUP.html">PoweredUP</a><ul class='methods'><li data-type="method" id="PoweredUP-getHubByPrimaryMACAddress-nav"><a href="PoweredUP.html#getHubByPrimaryMACAddress">getHubByPrimaryMACAddress</a></li><li data-type="method" id="PoweredUP-getHubByPrimaryMACAddress-nav"><a href="PoweredUP.html#getHubByPrimaryMACAddress">getHubByPrimaryMACAddress</a></li><li data-type="method" id="PoweredUP-getHubByUUID-nav"><a href="PoweredUP.html#getHubByUUID">getHubByUUID</a></li><li data-type="method" id="PoweredUP-getHubByUUID-nav"><a href="PoweredUP.html#getHubByUUID">getHubByUUID</a></li><li data-type="method" id="PoweredUP-getHubs-nav"><a href="PoweredUP.html#getHubs">getHubs</a></li><li data-type="method" id="PoweredUP-getHubs-nav"><a href="PoweredUP.html#getHubs">getHubs</a></li><li data-type="method" id="PoweredUP-getHubsByName-nav"><a href="PoweredUP.html#getHubsByName">getHubsByName</a></li><li data-type="method" id="PoweredUP-getHubsByName-nav"><a href="PoweredUP.html#getHubsByName">getHubsByName</a></li><li data-type="method" id="PoweredUP-getHubsByType-nav"><a href="PoweredUP.html#getHubsByType">getHubsByType</a></li><li data-type="method" id="PoweredUP-getHubsByType-nav"><a href="PoweredUP.html#getHubsByType">getHubsByType</a></li><li data-type="method" id="PoweredUP-scan-nav"><a href="PoweredUP.html#scan">scan</a></li><li data-type="method" id="PoweredUP-scan-nav"><a href="PoweredUP.html#scan">scan</a></li><li data-type="method" id="PoweredUP-stop-nav"><a href="PoweredUP.html#stop">stop</a></li></ul></li><li id="RemoteControl-nav"><a href="RemoteControl.html">RemoteControl</a><ul class='methods'><li data-type="method" id="RemoteControl-createVirtualPort-nav"><a href="RemoteControl.html#createVirtualPort">createVirtualPort</a></li><li data-type="method" id="RemoteControl-setName-nav"><a href="RemoteControl.html#setName">setName</a></li><li data-type="method" id="RemoteControl-shutdown-nav"><a href="RemoteControl.html#shutdown">shutdown</a></li></ul></li><li id="RemoteControlButton-nav"><a href="RemoteControlButton.html">RemoteControlButton</a></li><li id="SimpleMediumLinearMotor-nav"><a href="SimpleMediumLinearMotor.html">SimpleMediumLinearMotor</a></li><li id="TachoMotor-nav"><a href="TachoMotor.html">TachoMotor</a><ul class='methods'><li data-type="method" id="TachoMotor-brake-nav"><a href="TachoMotor.html#brake">brake</a></li><li data-type="method" id="TachoMotor-rampPower-nav"><a href="TachoMotor.html#rampPower">rampPower</a></li><li data-type="method" id="TachoMotor-rotateByDegrees-nav"><a href="TachoMotor.html#rotateByDegrees">rotateByDegrees</a></li><li data-type="method" id="TachoMotor-setAccelerationTime-nav"><a href="TachoMotor.html#setAccelerationTime">setAccelerationTime</a></li><li data-type="method" id="TachoMotor-setBrakingStyle-nav"><a href="TachoMotor.html#setBrakingStyle">setBrakingStyle</a></li><li data-type="method" id="TachoMotor-setDecelerationTime-nav"><a href="TachoMotor.html#setDecelerationTime">setDecelerationTime</a></li><li data-type="method" id="TachoMotor-setMaxPower-nav"><a href="TachoMotor.html#setMaxPower">setMaxPower</a></li><li data-type="method" id="TachoMotor-setPower-nav"><a href="TachoMotor.html#setPower">setPower</a></li><li data-type="method" id="TachoMotor-setSpeed-nav"><a href="TachoMotor.html#setSpeed">setSpeed</a></li><li data-type="method" id="TachoMotor-stop-nav"><a href="TachoMotor.html#stop">stop</a></li></ul></li><li id="Technic3x3ColorLightMatrix-nav"><a href="Technic3x3ColorLightMatrix.html">Technic3x3ColorLightMatrix</a><ul class='methods'><li data-type="method" id="Technic3x3ColorLightMatrix-setMatrix-nav"><a href="Technic3x3ColorLightMatrix.html#setMatrix">setMatrix</a></li></ul></li><li id="TechnicColorSensor-nav"><a href="TechnicColorSensor.html">TechnicColorSensor</a><ul class='methods'><li data-type="method" id="TechnicColorSensor-setBrightness-nav"><a href="TechnicColorSensor.html#setBrightness">setBrightness</a></li></ul></li><li id="TechnicDistanceSensor-nav"><a href="TechnicDistanceSensor.html">TechnicDistanceSensor</a><ul class='methods'><li data-type="method" id="TechnicDistanceSensor-setBrightness-nav"><a href="TechnicDistanceSensor.html#setBrightness">setBrightness</a></li></ul></li><li id="TechnicForceSensor-nav"><a href="TechnicForceSensor.html">TechnicForceSensor</a></li><li id="TechnicLargeAngularMotor-nav"><a href="TechnicLargeAngularMotor.html">TechnicLargeAngularMotor</a><ul class='methods'><li data-type="method" id="TechnicLargeAngularMotor-gotoAngle-nav"><a href="TechnicLargeAngularMotor.html#gotoAngle">gotoAngle</a></li><li data-type="method" id="TechnicLargeAngularMotor-gotoRealZero-nav"><a href="TechnicLargeAngularMotor.html#gotoRealZero">gotoRealZero</a></li><li data-type="method" id="TechnicLargeAngularMotor-resetZero-nav"><a href="TechnicLargeAngularMotor.html#resetZero">resetZero</a></li><li data-type="method" id="TechnicLargeAngularMotor-rotateByDegrees-nav"><a href="TechnicLargeAngularMotor.html#rotateByDegrees">rotateByDegrees</a></li><li data-type="method" id="TechnicLargeAngularMotor-setAccelerationTime-nav"><a href="TechnicLargeAngularMotor.html#setAccelerationTime">setAccelerationTime</a></li><li data-type="method" id="TechnicLargeAngularMotor-setBrakingStyle-nav"><a href="TechnicLargeAngularMotor.html#setBrakingStyle">setBrakingStyle</a></li><li data-type="method" id="TechnicLargeAngularMotor-setDecelerationTime-nav"><a href="TechnicLargeAngularMotor.html#setDecelerationTime">setDecelerationTime</a></li><li data-type="method" id="TechnicLargeAngularMotor-setMaxPower-nav"><a href="TechnicLargeAngularMotor.html#setMaxPower">setMaxPower</a></li><li data-type="method" id="TechnicLargeAngularMotor-setSpeed-nav"><a href="TechnicLargeAngularMotor.html#setSpeed">setSpeed</a></li></ul></li><li id="TechnicLargeLinearMotor-nav"><a href="TechnicLargeLinearMotor.html">TechnicLargeLinearMotor</a><ul class='methods'><li data-type="method" id="TechnicLargeLinearMotor-gotoAngle-nav"><a href="TechnicLargeLinearMotor.html#gotoAngle">gotoAngle</a></li><li data-type="method" id="TechnicLargeLinearMotor-gotoRealZero-nav"><a href="TechnicLargeLinearMotor.html#gotoRealZero">gotoRealZero</a></li><li data-type="method" id="TechnicLargeLinearMotor-resetZero-nav"><a href="TechnicLargeLinearMotor.html#resetZero">resetZero</a></li><li data-type="method" id="TechnicLargeLinearMotor-rotateByDegrees-nav"><a href="TechnicLargeLinearMotor.html#rotateByDegrees">rotateByDegrees</a></li><li data-type="method" id="TechnicLargeLinearMotor-setAccelerationTime-nav"><a href="TechnicLargeLinearMotor.html#setAccelerationTime">setAccelerationTime</a></li><li data-type="method" id="TechnicLargeLinearMotor-setBrakingStyle-nav"><a href="TechnicLargeLinearMotor.html#setBrakingStyle">setBrakingStyle</a></li><li data-type="method" id="TechnicLargeLinearMotor-setDecelerationTime-nav"><a href="TechnicLargeLinearMotor.html#setDecelerationTime">setDecelerationTime</a></li><li data-type="method" id="TechnicLargeLinearMotor-setMaxPower-nav"><a href="TechnicLargeLinearMotor.html#setMaxPower">setMaxPower</a></li><li data-type="method" id="TechnicLargeLinearMotor-setSpeed-nav"><a href="TechnicLargeLinearMotor.html#setSpeed">setSpeed</a></li></ul></li><li id="TechnicMediumAngularMotor-nav"><a href="TechnicMediumAngularMotor.html">TechnicMediumAngularMotor</a><ul class='methods'><li data-type="method" id="TechnicMediumAngularMotor-gotoAngle-nav"><a href="TechnicMediumAngularMotor.html#gotoAngle">gotoAngle</a></li><li data-type="method" id="TechnicMediumAngularMotor-gotoRealZero-nav"><a href="TechnicMediumAngularMotor.html#gotoRealZero">gotoRealZero</a></li><li data-type="method" id="TechnicMediumAngularMotor-resetZero-nav"><a href="TechnicMediumAngularMotor.html#resetZero">resetZero</a></li><li data-type="method" id="TechnicMediumAngularMotor-rotateByDegrees-nav"><a href="TechnicMediumAngularMotor.html#rotateByDegrees">rotateByDegrees</a></li><li data-type="method" id="TechnicMediumAngularMotor-setAccelerationTime-nav"><a href="TechnicMediumAngularMotor.html#setAccelerationTime">setAccelerationTime</a></li><li data-type="method" id="TechnicMediumAngularMotor-setBrakingStyle-nav"><a href="TechnicMediumAngularMotor.html#setBrakingStyle">setBrakingStyle</a></li><li data-type="method" id="TechnicMediumAngularMotor-setDecelerationTime-nav"><a href="TechnicMediumAngularMotor.html#setDecelerationTime">setDecelerationTime</a></li><li data-type="method" id="TechnicMediumAngularMotor-setMaxPower-nav"><a href="TechnicMediumAngularMotor.html#setMaxPower">setMaxPower</a></li><li data-type="method" id="TechnicMediumAngularMotor-setSpeed-nav"><a href="TechnicMediumAngularMotor.html#setSpeed">setSpeed</a></li></ul></li><li id="TechnicMediumHub-nav"><a href="TechnicMediumHub.html">TechnicMediumHub</a><ul class='methods'><li data-type="method" id="TechnicMediumHub-createVirtualPort-nav"><a href="TechnicMediumHub.html#createVirtualPort">createVirtualPort</a></li><li data-type="method" id="TechnicMediumHub-setName-nav"><a href="TechnicMediumHub.html#setName">setName</a></li><li data-type="method" id="TechnicMediumHub-shutdown-nav"><a href="TechnicMediumHub.html#shutdown">shutdown</a></li></ul></li><li id="TechnicMediumHubAccelerometerSensor-nav"><a href="TechnicMediumHubAccelerometerSensor.html">TechnicMediumHubAccelerometerSensor</a></li><li id="TechnicMediumHubGyroSensor-nav"><a href="TechnicMediumHubGyroSensor.html">TechnicMediumHubGyroSensor</a></li><li id="TechnicMediumHubTiltSensor-nav"><a href="TechnicMediumHubTiltSensor.html">TechnicMediumHubTiltSensor</a><ul class='methods'><li data-type="method" id="TechnicMediumHubTiltSensor-setImpactCount-nav"><a href="TechnicMediumHubTiltSensor.html#setImpactCount">setImpactCount</a></li><li data-type="method" id="TechnicMediumHubTiltSensor-setImpactHoldoff-nav"><a href="TechnicMediumHubTiltSensor.html#setImpactHoldoff">setImpactHoldoff</a></li><li data-type="method" id="TechnicMediumHubTiltSensor-setImpactThreshold-nav"><a href="TechnicMediumHubTiltSensor.html#setImpactThreshold">setImpactThreshold</a></li></ul></li><li id="TechnicSmallAngularMotor-nav"><a href="TechnicSmallAngularMotor.html">TechnicSmallAngularMotor</a><ul class='methods'><li data-type="method" id="TechnicSmallAngularMotor-gotoAngle-nav"><a href="TechnicSmallAngularMotor.html#gotoAngle">gotoAngle</a></li><li data-type="method" id="TechnicSmallAngularMotor-gotoRealZero-nav"><a href="TechnicSmallAngularMotor.html#gotoRealZero">gotoRealZero</a></li><li data-type="method" id="TechnicSmallAngularMotor-resetZero-nav"><a href="TechnicSmallAngularMotor.html#resetZero">resetZero</a></li><li data-type="method" id="TechnicSmallAngularMotor-rotateByDegrees-nav"><a href="TechnicSmallAngularMotor.html#rotateByDegrees">rotateByDegrees</a></li><li data-type="method" id="TechnicSmallAngularMotor-setAccelerationTime-nav"><a href="TechnicSmallAngularMotor.html#setAccelerationTime">setAccelerationTime</a></li><li data-type="method" id="TechnicSmallAngularMotor-setBrakingStyle-nav"><a href="TechnicSmallAngularMotor.html#setBrakingStyle">setBrakingStyle</a></li><li data-type="method" id="TechnicSmallAngularMotor-setDecelerationTime-nav"><a href="TechnicSmallAngularMotor.html#setDecelerationTime">setDecelerationTime</a></li><li data-type="method" id="TechnicSmallAngularMotor-setMaxPower-nav"><a href="TechnicSmallAngularMotor.html#setMaxPower">setMaxPower</a></li><li data-type="method" id="TechnicSmallAngularMotor-setSpeed-nav"><a href="TechnicSmallAngularMotor.html#setSpeed">setSpeed</a></li></ul></li><li id="TechnicXLargeLinearMotor-nav"><a href="TechnicXLargeLinearMotor.html">TechnicXLargeLinearMotor</a><ul class='methods'><li data-type="method" id="TechnicXLargeLinearMotor-gotoAngle-nav"><a href="TechnicXLargeLinearMotor.html#gotoAngle">gotoAngle</a></li><li data-type="method" id="TechnicXLargeLinearMotor-gotoRealZero-nav"><a href="TechnicXLargeLinearMotor.html#gotoRealZero">gotoRealZero</a></li><li data-type="method" id="TechnicXLargeLinearMotor-resetZero-nav"><a href="TechnicXLargeLinearMotor.html#resetZero">resetZero</a></li><li data-type="method" id="TechnicXLargeLinearMotor-rotateByDegrees-nav"><a href="TechnicXLargeLinearMotor.html#rotateByDegrees">rotateByDegrees</a></li><li data-type="method" id="TechnicXLargeLinearMotor-setAccelerationTime-nav"><a href="TechnicXLargeLinearMotor.html#setAccelerationTime">setAccelerationTime</a></li><li data-type="method" id="TechnicXLargeLinearMotor-setBrakingStyle-nav"><a href="TechnicXLargeLinearMotor.html#setBrakingStyle">setBrakingStyle</a></li><li data-type="method" id="TechnicXLargeLinearMotor-setDecelerationTime-nav"><a href="TechnicXLargeLinearMotor.html#setDecelerationTime">setDecelerationTime</a></li><li data-type="method" id="TechnicXLargeLinearMotor-setMaxPower-nav"><a href="TechnicXLargeLinearMotor.html#setMaxPower">setMaxPower</a></li><li data-type="method" id="TechnicXLargeLinearMotor-setSpeed-nav"><a href="TechnicXLargeLinearMotor.html#setSpeed">setSpeed</a></li></ul></li><li id="TiltSensor-nav"><a href="TiltSensor.html">TiltSensor</a></li><li id="TrainMotor-nav"><a href="TrainMotor.html">TrainMotor</a><ul class='methods'><li data-type="method" id="TrainMotor-brake-nav"><a href="TrainMotor.html#brake">brake</a></li><li data-type="method" id="TrainMotor-rampPower-nav"><a href="TrainMotor.html#rampPower">rampPower</a></li><li data-type="method" id="TrainMotor-setPower-nav"><a href="TrainMotor.html#setPower">setPower</a></li><li data-type="method" id="TrainMotor-stop-nav"><a href="TrainMotor.html#stop">stop</a></li></ul></li><li id="VoltageSensor-nav"><a href="VoltageSensor.html">VoltageSensor</a></li><li id="WeDo2SmartHub-nav"><a href="WeDo2SmartHub.html">WeDo2SmartHub</a><ul class='methods'><li data-type="method" id="WeDo2SmartHub-setName-nav"><a href="WeDo2SmartHub.html#setName">setName</a></li><li data-type="method" id="WeDo2SmartHub-shutdown-nav"><a href="WeDo2SmartHub.html#shutdown">shutdown</a></li></ul></li></ul><h3 id="global-nav"><a href="global.html">Global</a></h3>
|
|
77
|
-
</nav>
|
|
78
24
|
|
|
79
|
-
<div id="main">
|
|
80
|
-
|
|
81
|
-
<h1 class="page-title">
|
|
82
|
-
WeDo2SmartHub
|
|
83
|
-
</h1>
|
|
84
|
-
|
|
85
25
|
|
|
86
|
-
|
|
87
26
|
|
|
88
27
|
<section>
|
|
89
|
-
|
|
28
|
+
|
|
29
|
+
<header>
|
|
90
30
|
|
|
91
|
-
|
|
31
|
+
<h2><span class="attribs"><span class="type-signature"></span></span>WeDo2SmartHub<span class="signature">()</span><span class="type-signature"></span></h2>
|
|
92
32
|
|
|
93
|
-
WeDo2SmartHub
|
|
94
|
-
|
|
95
|
-
</h2>
|
|
96
|
-
|
|
97
|
-
|
|
98
33
|
|
|
99
|
-
|
|
34
|
+
</header>
|
|
100
35
|
|
|
101
|
-
|
|
36
|
+
<article>
|
|
102
37
|
<div class="container-overview">
|
|
103
|
-
|
|
38
|
+
|
|
104
39
|
|
|
105
40
|
|
|
41
|
+
|
|
106
42
|
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
<a class="link-icon" href="#WeDo2SmartHub">
|
|
111
|
-
<svg height="20" width="20" style="fill: black;">
|
|
112
|
-
<use xlink:href="#linkIcon"></use>
|
|
113
|
-
</svg>
|
|
114
|
-
</a>
|
|
115
|
-
<h4 class="name" id="WeDo2SmartHub">
|
|
116
|
-
<span class="type-signature"></span>new WeDo2SmartHub<span class="signature">()</span><span class="type-signature"></span>
|
|
117
|
-
</h4>
|
|
118
|
-
</span>
|
|
43
|
+
|
|
44
|
+
<h4 class="name" id="WeDo2SmartHub"><span class="type-signature"></span>new WeDo2SmartHub<span class="signature">()</span><span class="type-signature"></span></h4>
|
|
45
|
+
|
|
119
46
|
|
|
120
|
-
|
|
47
|
+
|
|
121
48
|
|
|
122
49
|
|
|
123
50
|
|
|
124
|
-
|
|
51
|
+
<div class="description">
|
|
125
52
|
<p>The WeDo2SmartHub is emitted if the discovered device is a WeDo 2.0 Smart Hub.</p>
|
|
126
|
-
|
|
53
|
+
</div>
|
|
54
|
+
|
|
55
|
+
|
|
56
|
+
|
|
127
57
|
|
|
128
58
|
|
|
129
59
|
|
|
@@ -136,46 +66,42 @@
|
|
|
136
66
|
|
|
137
67
|
<dl class="details">
|
|
138
68
|
|
|
139
|
-
|
|
69
|
+
|
|
140
70
|
|
|
141
|
-
|
|
71
|
+
|
|
142
72
|
|
|
143
|
-
|
|
73
|
+
|
|
144
74
|
|
|
145
|
-
|
|
75
|
+
|
|
146
76
|
|
|
147
|
-
|
|
77
|
+
|
|
148
78
|
|
|
149
|
-
|
|
79
|
+
|
|
150
80
|
|
|
151
|
-
|
|
81
|
+
|
|
152
82
|
|
|
153
|
-
|
|
83
|
+
|
|
154
84
|
|
|
155
|
-
|
|
85
|
+
|
|
156
86
|
|
|
157
|
-
|
|
87
|
+
|
|
158
88
|
|
|
159
|
-
|
|
89
|
+
|
|
160
90
|
|
|
161
|
-
|
|
91
|
+
|
|
162
92
|
|
|
163
|
-
|
|
93
|
+
|
|
164
94
|
<dt class="tag-source">Source:</dt>
|
|
165
|
-
<dd class="tag-source">
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
</li>
|
|
170
|
-
</ul>
|
|
171
|
-
</dd>
|
|
172
|
-
|
|
95
|
+
<dd class="tag-source"><ul class="dummy"><li>
|
|
96
|
+
<a href="hubs_wedo2smarthub.js.html">hubs/wedo2smarthub.js</a>, <a href="hubs_wedo2smarthub.js.html#line32">line 32</a>
|
|
97
|
+
</li></ul></dd>
|
|
98
|
+
|
|
173
99
|
|
|
174
|
-
|
|
100
|
+
|
|
175
101
|
|
|
176
|
-
|
|
102
|
+
|
|
177
103
|
|
|
178
|
-
|
|
104
|
+
|
|
179
105
|
</dl>
|
|
180
106
|
|
|
181
107
|
|
|
@@ -191,19 +117,27 @@
|
|
|
191
117
|
|
|
192
118
|
|
|
193
119
|
|
|
194
|
-
|
|
120
|
+
|
|
121
|
+
|
|
122
|
+
|
|
123
|
+
|
|
124
|
+
|
|
125
|
+
|
|
126
|
+
|
|
195
127
|
</div>
|
|
196
128
|
|
|
197
129
|
|
|
198
|
-
|
|
130
|
+
<h3 class="subsection-title">Extends</h3>
|
|
131
|
+
|
|
132
|
+
|
|
199
133
|
|
|
200
|
-
|
|
201
134
|
|
|
135
|
+
<ul>
|
|
136
|
+
<li><a href="BaseHub.html">BaseHub</a></li>
|
|
137
|
+
</ul>
|
|
202
138
|
|
|
203
|
-
<ul>
|
|
204
|
-
<li><a href="BaseHub.html">BaseHub</a></li>
|
|
205
|
-
</ul>
|
|
206
139
|
|
|
140
|
+
|
|
207
141
|
|
|
208
142
|
|
|
209
143
|
|
|
@@ -211,7 +145,7 @@
|
|
|
211
145
|
|
|
212
146
|
|
|
213
147
|
|
|
214
|
-
|
|
148
|
+
|
|
215
149
|
|
|
216
150
|
|
|
217
151
|
|
|
@@ -220,10 +154,8 @@
|
|
|
220
154
|
|
|
221
155
|
|
|
222
156
|
|
|
157
|
+
<h4 class="name" id="batteryLevel"><span class="type-signature">(readonly) </span>batteryLevel<span class="type-signature"></span></h4>
|
|
223
158
|
|
|
224
|
-
<h4 class="name" id="batteryLevel">
|
|
225
|
-
<span class="type-signature">(readonly) </span>batteryLevel<span class="type-signature"></span>
|
|
226
|
-
</h4>
|
|
227
159
|
|
|
228
160
|
|
|
229
161
|
|
|
@@ -231,59 +163,55 @@
|
|
|
231
163
|
|
|
232
164
|
|
|
233
165
|
|
|
234
|
-
<h5 class="subsection-title">Properties:</h5>
|
|
235
166
|
|
|
236
|
-
|
|
167
|
+
|
|
168
|
+
<h5 class="subsection-title">Properties:</h5>
|
|
169
|
+
|
|
170
|
+
|
|
237
171
|
|
|
238
172
|
<table class="props">
|
|
239
|
-
|
|
173
|
+
<thead>
|
|
240
174
|
<tr>
|
|
241
|
-
|
|
175
|
+
|
|
242
176
|
<th>Name</th>
|
|
243
|
-
|
|
177
|
+
|
|
244
178
|
|
|
245
|
-
|
|
179
|
+
<th>Type</th>
|
|
246
180
|
|
|
247
|
-
|
|
181
|
+
|
|
248
182
|
|
|
249
|
-
|
|
183
|
+
|
|
250
184
|
|
|
251
|
-
|
|
185
|
+
<th class="last">Description</th>
|
|
252
186
|
</tr>
|
|
253
|
-
|
|
187
|
+
</thead>
|
|
254
188
|
|
|
255
|
-
|
|
189
|
+
<tbody>
|
|
256
190
|
|
|
257
191
|
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
<td class="type">
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
<span class="param-type">
|
|
267
|
-
number
|
|
268
|
-
</span>
|
|
192
|
+
<tr>
|
|
193
|
+
|
|
194
|
+
<td class="name"><code>batteryLevel</code></td>
|
|
195
|
+
|
|
269
196
|
|
|
270
|
-
|
|
197
|
+
<td class="type">
|
|
198
|
+
|
|
199
|
+
|
|
200
|
+
<span class="param-type">number</span>
|
|
271
201
|
|
|
272
202
|
|
|
273
|
-
|
|
274
|
-
|
|
203
|
+
|
|
204
|
+
</td>
|
|
275
205
|
|
|
276
|
-
|
|
206
|
+
|
|
277
207
|
|
|
278
|
-
|
|
208
|
+
|
|
279
209
|
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
</td>
|
|
283
|
-
</tr>
|
|
210
|
+
<td class="description last"><p>Battery level of the hub (Percentage between 0-100)</p></td>
|
|
211
|
+
</tr>
|
|
284
212
|
|
|
285
|
-
|
|
286
|
-
|
|
213
|
+
|
|
214
|
+
</tbody>
|
|
287
215
|
</table>
|
|
288
216
|
|
|
289
217
|
|
|
@@ -291,55 +219,47 @@
|
|
|
291
219
|
|
|
292
220
|
<dl class="details">
|
|
293
221
|
|
|
294
|
-
|
|
222
|
+
|
|
295
223
|
|
|
296
|
-
|
|
224
|
+
|
|
297
225
|
|
|
298
|
-
|
|
226
|
+
|
|
299
227
|
<dt class="inherited-from">Inherited From:</dt>
|
|
300
|
-
<dd class="inherited-from">
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
</li>
|
|
305
|
-
</ul>
|
|
306
|
-
</dd>
|
|
307
|
-
|
|
228
|
+
<dd class="inherited-from"><ul class="dummy"><li>
|
|
229
|
+
<a href="BaseHub.html#batteryLevel">BaseHub#batteryLevel</a>
|
|
230
|
+
</li></ul></dd>
|
|
231
|
+
|
|
308
232
|
|
|
309
|
-
|
|
233
|
+
|
|
310
234
|
|
|
311
|
-
|
|
235
|
+
|
|
312
236
|
|
|
313
|
-
|
|
237
|
+
|
|
314
238
|
|
|
315
|
-
|
|
239
|
+
|
|
316
240
|
|
|
317
|
-
|
|
241
|
+
|
|
318
242
|
|
|
319
|
-
|
|
243
|
+
|
|
320
244
|
|
|
321
|
-
|
|
245
|
+
|
|
322
246
|
|
|
323
|
-
|
|
247
|
+
|
|
324
248
|
|
|
325
|
-
|
|
249
|
+
|
|
326
250
|
|
|
327
|
-
|
|
251
|
+
|
|
328
252
|
<dt class="tag-source">Source:</dt>
|
|
329
|
-
<dd class="tag-source">
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
</li>
|
|
334
|
-
</ul>
|
|
335
|
-
</dd>
|
|
336
|
-
|
|
253
|
+
<dd class="tag-source"><ul class="dummy"><li>
|
|
254
|
+
<a href="hubs_basehub.js.html">hubs/basehub.js</a>, <a href="hubs_basehub.js.html#line161">line 161</a>
|
|
255
|
+
</li></ul></dd>
|
|
256
|
+
|
|
337
257
|
|
|
338
|
-
|
|
258
|
+
|
|
339
259
|
|
|
340
|
-
|
|
260
|
+
|
|
341
261
|
|
|
342
|
-
|
|
262
|
+
|
|
343
263
|
</dl>
|
|
344
264
|
|
|
345
265
|
|
|
@@ -347,13 +267,12 @@
|
|
|
347
267
|
|
|
348
268
|
|
|
349
269
|
|
|
350
|
-
|
|
351
270
|
|
|
352
271
|
|
|
272
|
+
<h4 class="name" id="connected"><span class="type-signature">(readonly) </span>connected<span class="type-signature"></span></h4>
|
|
273
|
+
|
|
274
|
+
|
|
353
275
|
|
|
354
|
-
<h4 class="name" id="connected">
|
|
355
|
-
<span class="type-signature">(readonly) </span>connected<span class="type-signature"></span>
|
|
356
|
-
</h4>
|
|
357
276
|
|
|
358
277
|
|
|
359
278
|
|
|
@@ -361,59 +280,53 @@
|
|
|
361
280
|
|
|
362
281
|
|
|
363
282
|
|
|
364
|
-
|
|
283
|
+
<h5 class="subsection-title">Properties:</h5>
|
|
365
284
|
|
|
366
|
-
|
|
285
|
+
|
|
367
286
|
|
|
368
287
|
<table class="props">
|
|
369
|
-
|
|
288
|
+
<thead>
|
|
370
289
|
<tr>
|
|
371
|
-
|
|
290
|
+
|
|
372
291
|
<th>Name</th>
|
|
373
|
-
|
|
292
|
+
|
|
374
293
|
|
|
375
|
-
|
|
294
|
+
<th>Type</th>
|
|
376
295
|
|
|
377
|
-
|
|
296
|
+
|
|
378
297
|
|
|
379
|
-
|
|
298
|
+
|
|
380
299
|
|
|
381
|
-
|
|
300
|
+
<th class="last">Description</th>
|
|
382
301
|
</tr>
|
|
383
|
-
|
|
302
|
+
</thead>
|
|
384
303
|
|
|
385
|
-
|
|
304
|
+
<tbody>
|
|
386
305
|
|
|
387
306
|
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
<td class="type">
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
<span class="param-type">
|
|
397
|
-
string
|
|
398
|
-
</span>
|
|
307
|
+
<tr>
|
|
308
|
+
|
|
309
|
+
<td class="name"><code>connected</code></td>
|
|
310
|
+
|
|
399
311
|
|
|
400
|
-
|
|
312
|
+
<td class="type">
|
|
313
|
+
|
|
314
|
+
|
|
315
|
+
<span class="param-type">string</span>
|
|
401
316
|
|
|
402
317
|
|
|
403
|
-
|
|
404
|
-
|
|
318
|
+
|
|
319
|
+
</td>
|
|
405
320
|
|
|
406
|
-
|
|
321
|
+
|
|
407
322
|
|
|
408
|
-
|
|
323
|
+
|
|
409
324
|
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
</td>
|
|
413
|
-
</tr>
|
|
325
|
+
<td class="description last"><p>Connected status</p></td>
|
|
326
|
+
</tr>
|
|
414
327
|
|
|
415
|
-
|
|
416
|
-
|
|
328
|
+
|
|
329
|
+
</tbody>
|
|
417
330
|
</table>
|
|
418
331
|
|
|
419
332
|
|
|
@@ -421,55 +334,47 @@
|
|
|
421
334
|
|
|
422
335
|
<dl class="details">
|
|
423
336
|
|
|
424
|
-
|
|
337
|
+
|
|
425
338
|
|
|
426
|
-
|
|
339
|
+
|
|
427
340
|
|
|
428
|
-
|
|
341
|
+
|
|
429
342
|
<dt class="inherited-from">Inherited From:</dt>
|
|
430
|
-
<dd class="inherited-from">
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
</li>
|
|
435
|
-
</ul>
|
|
436
|
-
</dd>
|
|
437
|
-
|
|
343
|
+
<dd class="inherited-from"><ul class="dummy"><li>
|
|
344
|
+
<a href="BaseHub.html#connected">BaseHub#connected</a>
|
|
345
|
+
</li></ul></dd>
|
|
346
|
+
|
|
438
347
|
|
|
439
|
-
|
|
348
|
+
|
|
440
349
|
|
|
441
|
-
|
|
350
|
+
|
|
442
351
|
|
|
443
|
-
|
|
352
|
+
|
|
444
353
|
|
|
445
|
-
|
|
354
|
+
|
|
446
355
|
|
|
447
|
-
|
|
356
|
+
|
|
448
357
|
|
|
449
|
-
|
|
358
|
+
|
|
450
359
|
|
|
451
|
-
|
|
360
|
+
|
|
452
361
|
|
|
453
|
-
|
|
362
|
+
|
|
454
363
|
|
|
455
|
-
|
|
364
|
+
|
|
456
365
|
|
|
457
|
-
|
|
366
|
+
|
|
458
367
|
<dt class="tag-source">Source:</dt>
|
|
459
|
-
<dd class="tag-source">
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
</li>
|
|
464
|
-
</ul>
|
|
465
|
-
</dd>
|
|
466
|
-
|
|
368
|
+
<dd class="tag-source"><ul class="dummy"><li>
|
|
369
|
+
<a href="hubs_basehub.js.html">hubs/basehub.js</a>, <a href="hubs_basehub.js.html#line105">line 105</a>
|
|
370
|
+
</li></ul></dd>
|
|
371
|
+
|
|
467
372
|
|
|
468
|
-
|
|
373
|
+
|
|
469
374
|
|
|
470
|
-
|
|
375
|
+
|
|
471
376
|
|
|
472
|
-
|
|
377
|
+
|
|
473
378
|
</dl>
|
|
474
379
|
|
|
475
380
|
|
|
@@ -477,13 +382,10 @@
|
|
|
477
382
|
|
|
478
383
|
|
|
479
384
|
|
|
480
|
-
|
|
481
385
|
|
|
482
386
|
|
|
387
|
+
<h4 class="name" id="connecting"><span class="type-signature">(readonly) </span>connecting<span class="type-signature"></span></h4>
|
|
483
388
|
|
|
484
|
-
<h4 class="name" id="connecting">
|
|
485
|
-
<span class="type-signature">(readonly) </span>connecting<span class="type-signature"></span>
|
|
486
|
-
</h4>
|
|
487
389
|
|
|
488
390
|
|
|
489
391
|
|
|
@@ -491,59 +393,55 @@
|
|
|
491
393
|
|
|
492
394
|
|
|
493
395
|
|
|
494
|
-
<h5 class="subsection-title">Properties:</h5>
|
|
495
396
|
|
|
496
|
-
|
|
397
|
+
|
|
398
|
+
<h5 class="subsection-title">Properties:</h5>
|
|
399
|
+
|
|
400
|
+
|
|
497
401
|
|
|
498
402
|
<table class="props">
|
|
499
|
-
|
|
403
|
+
<thead>
|
|
500
404
|
<tr>
|
|
501
|
-
|
|
405
|
+
|
|
502
406
|
<th>Name</th>
|
|
503
|
-
|
|
407
|
+
|
|
504
408
|
|
|
505
|
-
|
|
409
|
+
<th>Type</th>
|
|
506
410
|
|
|
507
|
-
|
|
411
|
+
|
|
508
412
|
|
|
509
|
-
|
|
413
|
+
|
|
510
414
|
|
|
511
|
-
|
|
415
|
+
<th class="last">Description</th>
|
|
512
416
|
</tr>
|
|
513
|
-
|
|
417
|
+
</thead>
|
|
514
418
|
|
|
515
|
-
|
|
419
|
+
<tbody>
|
|
516
420
|
|
|
517
421
|
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
<td class="type">
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
<span class="param-type">
|
|
527
|
-
string
|
|
528
|
-
</span>
|
|
422
|
+
<tr>
|
|
423
|
+
|
|
424
|
+
<td class="name"><code>connecting</code></td>
|
|
425
|
+
|
|
529
426
|
|
|
530
|
-
|
|
427
|
+
<td class="type">
|
|
428
|
+
|
|
429
|
+
|
|
430
|
+
<span class="param-type">string</span>
|
|
531
431
|
|
|
532
432
|
|
|
533
|
-
|
|
534
|
-
|
|
433
|
+
|
|
434
|
+
</td>
|
|
535
435
|
|
|
536
|
-
|
|
436
|
+
|
|
537
437
|
|
|
538
|
-
|
|
438
|
+
|
|
539
439
|
|
|
540
|
-
|
|
541
|
-
|
|
542
|
-
</td>
|
|
543
|
-
</tr>
|
|
440
|
+
<td class="description last"><p>Connecting status</p></td>
|
|
441
|
+
</tr>
|
|
544
442
|
|
|
545
|
-
|
|
546
|
-
|
|
443
|
+
|
|
444
|
+
</tbody>
|
|
547
445
|
</table>
|
|
548
446
|
|
|
549
447
|
|
|
@@ -551,55 +449,47 @@
|
|
|
551
449
|
|
|
552
450
|
<dl class="details">
|
|
553
451
|
|
|
554
|
-
|
|
452
|
+
|
|
555
453
|
|
|
556
|
-
|
|
454
|
+
|
|
557
455
|
|
|
558
|
-
|
|
456
|
+
|
|
559
457
|
<dt class="inherited-from">Inherited From:</dt>
|
|
560
|
-
<dd class="inherited-from">
|
|
561
|
-
|
|
562
|
-
|
|
563
|
-
|
|
564
|
-
</li>
|
|
565
|
-
</ul>
|
|
566
|
-
</dd>
|
|
567
|
-
|
|
458
|
+
<dd class="inherited-from"><ul class="dummy"><li>
|
|
459
|
+
<a href="BaseHub.html#connecting">BaseHub#connecting</a>
|
|
460
|
+
</li></ul></dd>
|
|
461
|
+
|
|
568
462
|
|
|
569
|
-
|
|
463
|
+
|
|
570
464
|
|
|
571
|
-
|
|
465
|
+
|
|
572
466
|
|
|
573
|
-
|
|
467
|
+
|
|
574
468
|
|
|
575
|
-
|
|
469
|
+
|
|
576
470
|
|
|
577
|
-
|
|
471
|
+
|
|
578
472
|
|
|
579
|
-
|
|
473
|
+
|
|
580
474
|
|
|
581
|
-
|
|
475
|
+
|
|
582
476
|
|
|
583
|
-
|
|
477
|
+
|
|
584
478
|
|
|
585
|
-
|
|
479
|
+
|
|
586
480
|
|
|
587
|
-
|
|
481
|
+
|
|
588
482
|
<dt class="tag-source">Source:</dt>
|
|
589
|
-
<dd class="tag-source">
|
|
590
|
-
|
|
591
|
-
|
|
592
|
-
|
|
593
|
-
</li>
|
|
594
|
-
</ul>
|
|
595
|
-
</dd>
|
|
596
|
-
|
|
483
|
+
<dd class="tag-source"><ul class="dummy"><li>
|
|
484
|
+
<a href="hubs_basehub.js.html">hubs/basehub.js</a>, <a href="hubs_basehub.js.html#line112">line 112</a>
|
|
485
|
+
</li></ul></dd>
|
|
486
|
+
|
|
597
487
|
|
|
598
|
-
|
|
488
|
+
|
|
599
489
|
|
|
600
|
-
|
|
490
|
+
|
|
601
491
|
|
|
602
|
-
|
|
492
|
+
|
|
603
493
|
</dl>
|
|
604
494
|
|
|
605
495
|
|
|
@@ -607,13 +497,12 @@
|
|
|
607
497
|
|
|
608
498
|
|
|
609
499
|
|
|
610
|
-
|
|
611
500
|
|
|
612
501
|
|
|
502
|
+
<h4 class="name" id="firmwareVersion"><span class="type-signature">(readonly) </span>firmwareVersion<span class="type-signature"></span></h4>
|
|
503
|
+
|
|
504
|
+
|
|
613
505
|
|
|
614
|
-
<h4 class="name" id="firmwareVersion">
|
|
615
|
-
<span class="type-signature">(readonly) </span>firmwareVersion<span class="type-signature"></span>
|
|
616
|
-
</h4>
|
|
617
506
|
|
|
618
507
|
|
|
619
508
|
|
|
@@ -621,59 +510,53 @@
|
|
|
621
510
|
|
|
622
511
|
|
|
623
512
|
|
|
624
|
-
|
|
513
|
+
<h5 class="subsection-title">Properties:</h5>
|
|
625
514
|
|
|
626
|
-
|
|
515
|
+
|
|
627
516
|
|
|
628
517
|
<table class="props">
|
|
629
|
-
|
|
518
|
+
<thead>
|
|
630
519
|
<tr>
|
|
631
|
-
|
|
520
|
+
|
|
632
521
|
<th>Name</th>
|
|
633
|
-
|
|
522
|
+
|
|
634
523
|
|
|
635
|
-
|
|
524
|
+
<th>Type</th>
|
|
636
525
|
|
|
637
|
-
|
|
526
|
+
|
|
638
527
|
|
|
639
|
-
|
|
528
|
+
|
|
640
529
|
|
|
641
|
-
|
|
530
|
+
<th class="last">Description</th>
|
|
642
531
|
</tr>
|
|
643
|
-
|
|
532
|
+
</thead>
|
|
644
533
|
|
|
645
|
-
|
|
534
|
+
<tbody>
|
|
646
535
|
|
|
647
536
|
|
|
648
|
-
|
|
649
|
-
|
|
650
|
-
|
|
651
|
-
|
|
652
|
-
|
|
653
|
-
<td class="type">
|
|
654
|
-
|
|
655
|
-
|
|
656
|
-
<span class="param-type">
|
|
657
|
-
string
|
|
658
|
-
</span>
|
|
537
|
+
<tr>
|
|
538
|
+
|
|
539
|
+
<td class="name"><code>firmwareVersion</code></td>
|
|
540
|
+
|
|
659
541
|
|
|
660
|
-
|
|
542
|
+
<td class="type">
|
|
543
|
+
|
|
544
|
+
|
|
545
|
+
<span class="param-type">string</span>
|
|
661
546
|
|
|
662
547
|
|
|
663
|
-
|
|
664
|
-
|
|
548
|
+
|
|
549
|
+
</td>
|
|
665
550
|
|
|
666
|
-
|
|
551
|
+
|
|
667
552
|
|
|
668
|
-
|
|
553
|
+
|
|
669
554
|
|
|
670
|
-
|
|
671
|
-
|
|
672
|
-
</td>
|
|
673
|
-
</tr>
|
|
555
|
+
<td class="description last"><p>Firmware version of the hub</p></td>
|
|
556
|
+
</tr>
|
|
674
557
|
|
|
675
|
-
|
|
676
|
-
|
|
558
|
+
|
|
559
|
+
</tbody>
|
|
677
560
|
</table>
|
|
678
561
|
|
|
679
562
|
|
|
@@ -681,55 +564,47 @@
|
|
|
681
564
|
|
|
682
565
|
<dl class="details">
|
|
683
566
|
|
|
684
|
-
|
|
567
|
+
|
|
685
568
|
|
|
686
|
-
|
|
569
|
+
|
|
687
570
|
|
|
688
|
-
|
|
571
|
+
|
|
689
572
|
<dt class="inherited-from">Inherited From:</dt>
|
|
690
|
-
<dd class="inherited-from">
|
|
691
|
-
|
|
692
|
-
|
|
693
|
-
|
|
694
|
-
</li>
|
|
695
|
-
</ul>
|
|
696
|
-
</dd>
|
|
697
|
-
|
|
573
|
+
<dd class="inherited-from"><ul class="dummy"><li>
|
|
574
|
+
<a href="BaseHub.html#firmwareVersion">BaseHub#firmwareVersion</a>
|
|
575
|
+
</li></ul></dd>
|
|
576
|
+
|
|
698
577
|
|
|
699
|
-
|
|
578
|
+
|
|
700
579
|
|
|
701
|
-
|
|
580
|
+
|
|
702
581
|
|
|
703
|
-
|
|
582
|
+
|
|
704
583
|
|
|
705
|
-
|
|
584
|
+
|
|
706
585
|
|
|
707
|
-
|
|
586
|
+
|
|
708
587
|
|
|
709
|
-
|
|
588
|
+
|
|
710
589
|
|
|
711
|
-
|
|
590
|
+
|
|
712
591
|
|
|
713
|
-
|
|
592
|
+
|
|
714
593
|
|
|
715
|
-
|
|
594
|
+
|
|
716
595
|
|
|
717
|
-
|
|
596
|
+
|
|
718
597
|
<dt class="tag-source">Source:</dt>
|
|
719
|
-
<dd class="tag-source">
|
|
720
|
-
|
|
721
|
-
|
|
722
|
-
|
|
723
|
-
</li>
|
|
724
|
-
</ul>
|
|
725
|
-
</dd>
|
|
726
|
-
|
|
598
|
+
<dd class="tag-source"><ul class="dummy"><li>
|
|
599
|
+
<a href="hubs_basehub.js.html">hubs/basehub.js</a>, <a href="hubs_basehub.js.html#line133">line 133</a>
|
|
600
|
+
</li></ul></dd>
|
|
601
|
+
|
|
727
602
|
|
|
728
|
-
|
|
603
|
+
|
|
729
604
|
|
|
730
|
-
|
|
605
|
+
|
|
731
606
|
|
|
732
|
-
|
|
607
|
+
|
|
733
608
|
</dl>
|
|
734
609
|
|
|
735
610
|
|
|
@@ -737,13 +612,10 @@
|
|
|
737
612
|
|
|
738
613
|
|
|
739
614
|
|
|
740
|
-
|
|
741
615
|
|
|
742
616
|
|
|
617
|
+
<h4 class="name" id="hardwareVersion"><span class="type-signature">(readonly) </span>hardwareVersion<span class="type-signature"></span></h4>
|
|
743
618
|
|
|
744
|
-
<h4 class="name" id="hardwareVersion">
|
|
745
|
-
<span class="type-signature">(readonly) </span>hardwareVersion<span class="type-signature"></span>
|
|
746
|
-
</h4>
|
|
747
619
|
|
|
748
620
|
|
|
749
621
|
|
|
@@ -751,59 +623,55 @@
|
|
|
751
623
|
|
|
752
624
|
|
|
753
625
|
|
|
754
|
-
<h5 class="subsection-title">Properties:</h5>
|
|
755
626
|
|
|
756
|
-
|
|
627
|
+
|
|
628
|
+
<h5 class="subsection-title">Properties:</h5>
|
|
629
|
+
|
|
630
|
+
|
|
757
631
|
|
|
758
632
|
<table class="props">
|
|
759
|
-
|
|
633
|
+
<thead>
|
|
760
634
|
<tr>
|
|
761
|
-
|
|
635
|
+
|
|
762
636
|
<th>Name</th>
|
|
763
|
-
|
|
637
|
+
|
|
764
638
|
|
|
765
|
-
|
|
639
|
+
<th>Type</th>
|
|
766
640
|
|
|
767
|
-
|
|
641
|
+
|
|
768
642
|
|
|
769
|
-
|
|
643
|
+
|
|
770
644
|
|
|
771
|
-
|
|
645
|
+
<th class="last">Description</th>
|
|
772
646
|
</tr>
|
|
773
|
-
|
|
647
|
+
</thead>
|
|
774
648
|
|
|
775
|
-
|
|
649
|
+
<tbody>
|
|
776
650
|
|
|
777
651
|
|
|
778
|
-
|
|
779
|
-
|
|
780
|
-
|
|
781
|
-
|
|
782
|
-
|
|
783
|
-
<td class="type">
|
|
784
|
-
|
|
785
|
-
|
|
786
|
-
<span class="param-type">
|
|
787
|
-
string
|
|
788
|
-
</span>
|
|
652
|
+
<tr>
|
|
653
|
+
|
|
654
|
+
<td class="name"><code>hardwareVersion</code></td>
|
|
655
|
+
|
|
789
656
|
|
|
790
|
-
|
|
657
|
+
<td class="type">
|
|
658
|
+
|
|
659
|
+
|
|
660
|
+
<span class="param-type">string</span>
|
|
791
661
|
|
|
792
662
|
|
|
793
|
-
|
|
794
|
-
|
|
663
|
+
|
|
664
|
+
</td>
|
|
795
665
|
|
|
796
|
-
|
|
666
|
+
|
|
797
667
|
|
|
798
|
-
|
|
668
|
+
|
|
799
669
|
|
|
800
|
-
|
|
801
|
-
|
|
802
|
-
</td>
|
|
803
|
-
</tr>
|
|
670
|
+
<td class="description last"><p>Hardware version of the hub</p></td>
|
|
671
|
+
</tr>
|
|
804
672
|
|
|
805
|
-
|
|
806
|
-
|
|
673
|
+
|
|
674
|
+
</tbody>
|
|
807
675
|
</table>
|
|
808
676
|
|
|
809
677
|
|
|
@@ -811,55 +679,47 @@
|
|
|
811
679
|
|
|
812
680
|
<dl class="details">
|
|
813
681
|
|
|
814
|
-
|
|
682
|
+
|
|
815
683
|
|
|
816
|
-
|
|
684
|
+
|
|
817
685
|
|
|
818
|
-
|
|
686
|
+
|
|
819
687
|
<dt class="inherited-from">Inherited From:</dt>
|
|
820
|
-
<dd class="inherited-from">
|
|
821
|
-
|
|
822
|
-
|
|
823
|
-
|
|
824
|
-
</li>
|
|
825
|
-
</ul>
|
|
826
|
-
</dd>
|
|
827
|
-
|
|
688
|
+
<dd class="inherited-from"><ul class="dummy"><li>
|
|
689
|
+
<a href="BaseHub.html#hardwareVersion">BaseHub#hardwareVersion</a>
|
|
690
|
+
</li></ul></dd>
|
|
691
|
+
|
|
828
692
|
|
|
829
|
-
|
|
693
|
+
|
|
830
694
|
|
|
831
|
-
|
|
695
|
+
|
|
832
696
|
|
|
833
|
-
|
|
697
|
+
|
|
834
698
|
|
|
835
|
-
|
|
699
|
+
|
|
836
700
|
|
|
837
|
-
|
|
701
|
+
|
|
838
702
|
|
|
839
|
-
|
|
703
|
+
|
|
840
704
|
|
|
841
|
-
|
|
705
|
+
|
|
842
706
|
|
|
843
|
-
|
|
707
|
+
|
|
844
708
|
|
|
845
|
-
|
|
709
|
+
|
|
846
710
|
|
|
847
|
-
|
|
711
|
+
|
|
848
712
|
<dt class="tag-source">Source:</dt>
|
|
849
|
-
<dd class="tag-source">
|
|
850
|
-
|
|
851
|
-
|
|
852
|
-
|
|
853
|
-
</li>
|
|
854
|
-
</ul>
|
|
855
|
-
</dd>
|
|
856
|
-
|
|
713
|
+
<dd class="tag-source"><ul class="dummy"><li>
|
|
714
|
+
<a href="hubs_basehub.js.html">hubs/basehub.js</a>, <a href="hubs_basehub.js.html#line140">line 140</a>
|
|
715
|
+
</li></ul></dd>
|
|
716
|
+
|
|
857
717
|
|
|
858
|
-
|
|
718
|
+
|
|
859
719
|
|
|
860
|
-
|
|
720
|
+
|
|
861
721
|
|
|
862
|
-
|
|
722
|
+
|
|
863
723
|
</dl>
|
|
864
724
|
|
|
865
725
|
|
|
@@ -867,13 +727,11 @@
|
|
|
867
727
|
|
|
868
728
|
|
|
869
729
|
|
|
870
|
-
|
|
871
730
|
|
|
872
731
|
|
|
732
|
+
<h4 class="name" id="name"><span class="type-signature">(readonly) </span>name<span class="type-signature"></span></h4>
|
|
733
|
+
|
|
873
734
|
|
|
874
|
-
<h4 class="name" id="name">
|
|
875
|
-
<span class="type-signature">(readonly) </span>name<span class="type-signature"></span>
|
|
876
|
-
</h4>
|
|
877
735
|
|
|
878
736
|
|
|
879
737
|
|
|
@@ -881,59 +739,54 @@
|
|
|
881
739
|
|
|
882
740
|
|
|
883
741
|
|
|
884
|
-
<h5 class="subsection-title">Properties:</h5>
|
|
885
742
|
|
|
886
|
-
|
|
743
|
+
<h5 class="subsection-title">Properties:</h5>
|
|
744
|
+
|
|
745
|
+
|
|
887
746
|
|
|
888
747
|
<table class="props">
|
|
889
|
-
|
|
748
|
+
<thead>
|
|
890
749
|
<tr>
|
|
891
|
-
|
|
750
|
+
|
|
892
751
|
<th>Name</th>
|
|
893
|
-
|
|
752
|
+
|
|
894
753
|
|
|
895
|
-
|
|
754
|
+
<th>Type</th>
|
|
896
755
|
|
|
897
|
-
|
|
756
|
+
|
|
898
757
|
|
|
899
|
-
|
|
758
|
+
|
|
900
759
|
|
|
901
|
-
|
|
760
|
+
<th class="last">Description</th>
|
|
902
761
|
</tr>
|
|
903
|
-
|
|
762
|
+
</thead>
|
|
904
763
|
|
|
905
|
-
|
|
764
|
+
<tbody>
|
|
906
765
|
|
|
907
766
|
|
|
908
|
-
|
|
909
|
-
|
|
910
|
-
|
|
911
|
-
|
|
912
|
-
|
|
913
|
-
<td class="type">
|
|
914
|
-
|
|
915
|
-
|
|
916
|
-
<span class="param-type">
|
|
917
|
-
string
|
|
918
|
-
</span>
|
|
767
|
+
<tr>
|
|
768
|
+
|
|
769
|
+
<td class="name"><code>name</code></td>
|
|
770
|
+
|
|
919
771
|
|
|
920
|
-
|
|
772
|
+
<td class="type">
|
|
773
|
+
|
|
774
|
+
|
|
775
|
+
<span class="param-type">string</span>
|
|
921
776
|
|
|
922
777
|
|
|
923
|
-
|
|
924
|
-
|
|
778
|
+
|
|
779
|
+
</td>
|
|
925
780
|
|
|
926
|
-
|
|
781
|
+
|
|
927
782
|
|
|
928
|
-
|
|
783
|
+
|
|
929
784
|
|
|
930
|
-
|
|
931
|
-
|
|
932
|
-
</td>
|
|
933
|
-
</tr>
|
|
785
|
+
<td class="description last"><p>Name of the hub</p></td>
|
|
786
|
+
</tr>
|
|
934
787
|
|
|
935
|
-
|
|
936
|
-
|
|
788
|
+
|
|
789
|
+
</tbody>
|
|
937
790
|
</table>
|
|
938
791
|
|
|
939
792
|
|
|
@@ -941,55 +794,47 @@
|
|
|
941
794
|
|
|
942
795
|
<dl class="details">
|
|
943
796
|
|
|
944
|
-
|
|
797
|
+
|
|
945
798
|
|
|
946
|
-
|
|
799
|
+
|
|
947
800
|
|
|
948
|
-
|
|
801
|
+
|
|
949
802
|
<dt class="inherited-from">Inherited From:</dt>
|
|
950
|
-
<dd class="inherited-from">
|
|
951
|
-
|
|
952
|
-
|
|
953
|
-
|
|
954
|
-
</li>
|
|
955
|
-
</ul>
|
|
956
|
-
</dd>
|
|
957
|
-
|
|
803
|
+
<dd class="inherited-from"><ul class="dummy"><li>
|
|
804
|
+
<a href="BaseHub.html#name">BaseHub#name</a>
|
|
805
|
+
</li></ul></dd>
|
|
806
|
+
|
|
958
807
|
|
|
959
|
-
|
|
808
|
+
|
|
960
809
|
|
|
961
|
-
|
|
810
|
+
|
|
962
811
|
|
|
963
|
-
|
|
812
|
+
|
|
964
813
|
|
|
965
|
-
|
|
814
|
+
|
|
966
815
|
|
|
967
|
-
|
|
816
|
+
|
|
968
817
|
|
|
969
|
-
|
|
818
|
+
|
|
970
819
|
|
|
971
|
-
|
|
820
|
+
|
|
972
821
|
|
|
973
|
-
|
|
822
|
+
|
|
974
823
|
|
|
975
|
-
|
|
824
|
+
|
|
976
825
|
|
|
977
|
-
|
|
826
|
+
|
|
978
827
|
<dt class="tag-source">Source:</dt>
|
|
979
|
-
<dd class="tag-source">
|
|
980
|
-
|
|
981
|
-
|
|
982
|
-
|
|
983
|
-
</li>
|
|
984
|
-
</ul>
|
|
985
|
-
</dd>
|
|
986
|
-
|
|
828
|
+
<dd class="tag-source"><ul class="dummy"><li>
|
|
829
|
+
<a href="hubs_basehub.js.html">hubs/basehub.js</a>, <a href="hubs_basehub.js.html#line98">line 98</a>
|
|
830
|
+
</li></ul></dd>
|
|
831
|
+
|
|
987
832
|
|
|
988
|
-
|
|
833
|
+
|
|
989
834
|
|
|
990
|
-
|
|
835
|
+
|
|
991
836
|
|
|
992
|
-
|
|
837
|
+
|
|
993
838
|
</dl>
|
|
994
839
|
|
|
995
840
|
|
|
@@ -997,13 +842,11 @@
|
|
|
997
842
|
|
|
998
843
|
|
|
999
844
|
|
|
1000
|
-
|
|
1001
845
|
|
|
1002
846
|
|
|
847
|
+
<h4 class="name" id="ports"><span class="type-signature">(readonly) </span>ports<span class="type-signature"></span></h4>
|
|
848
|
+
|
|
1003
849
|
|
|
1004
|
-
<h4 class="name" id="ports">
|
|
1005
|
-
<span class="type-signature">(readonly) </span>ports<span class="type-signature"></span>
|
|
1006
|
-
</h4>
|
|
1007
850
|
|
|
1008
851
|
|
|
1009
852
|
|
|
@@ -1011,59 +854,54 @@
|
|
|
1011
854
|
|
|
1012
855
|
|
|
1013
856
|
|
|
1014
|
-
<h5 class="subsection-title">Properties:</h5>
|
|
1015
857
|
|
|
1016
|
-
|
|
858
|
+
<h5 class="subsection-title">Properties:</h5>
|
|
859
|
+
|
|
860
|
+
|
|
1017
861
|
|
|
1018
862
|
<table class="props">
|
|
1019
|
-
|
|
863
|
+
<thead>
|
|
1020
864
|
<tr>
|
|
1021
|
-
|
|
865
|
+
|
|
1022
866
|
<th>Name</th>
|
|
1023
|
-
|
|
867
|
+
|
|
1024
868
|
|
|
1025
|
-
|
|
869
|
+
<th>Type</th>
|
|
1026
870
|
|
|
1027
|
-
|
|
871
|
+
|
|
1028
872
|
|
|
1029
|
-
|
|
873
|
+
|
|
1030
874
|
|
|
1031
|
-
|
|
875
|
+
<th class="last">Description</th>
|
|
1032
876
|
</tr>
|
|
1033
|
-
|
|
877
|
+
</thead>
|
|
1034
878
|
|
|
1035
|
-
|
|
879
|
+
<tbody>
|
|
1036
880
|
|
|
1037
881
|
|
|
1038
|
-
|
|
1039
|
-
|
|
1040
|
-
|
|
1041
|
-
|
|
1042
|
-
|
|
1043
|
-
<td class="type">
|
|
1044
|
-
|
|
1045
|
-
|
|
1046
|
-
<span class="param-type">
|
|
1047
|
-
Array.<string>
|
|
1048
|
-
</span>
|
|
882
|
+
<tr>
|
|
883
|
+
|
|
884
|
+
<td class="name"><code>ports</code></td>
|
|
885
|
+
|
|
1049
886
|
|
|
1050
|
-
|
|
887
|
+
<td class="type">
|
|
888
|
+
|
|
889
|
+
|
|
890
|
+
<span class="param-type">Array.<string></span>
|
|
1051
891
|
|
|
1052
892
|
|
|
1053
|
-
|
|
1054
|
-
|
|
893
|
+
|
|
894
|
+
</td>
|
|
1055
895
|
|
|
1056
|
-
|
|
896
|
+
|
|
1057
897
|
|
|
1058
|
-
|
|
898
|
+
|
|
1059
899
|
|
|
1060
|
-
|
|
1061
|
-
|
|
1062
|
-
</td>
|
|
1063
|
-
</tr>
|
|
900
|
+
<td class="description last"><p>Array of port names</p></td>
|
|
901
|
+
</tr>
|
|
1064
902
|
|
|
1065
|
-
|
|
1066
|
-
|
|
903
|
+
|
|
904
|
+
</tbody>
|
|
1067
905
|
</table>
|
|
1068
906
|
|
|
1069
907
|
|
|
@@ -1071,55 +909,47 @@
|
|
|
1071
909
|
|
|
1072
910
|
<dl class="details">
|
|
1073
911
|
|
|
1074
|
-
|
|
912
|
+
|
|
1075
913
|
|
|
1076
|
-
|
|
914
|
+
|
|
1077
915
|
|
|
1078
|
-
|
|
916
|
+
|
|
1079
917
|
<dt class="inherited-from">Inherited From:</dt>
|
|
1080
|
-
<dd class="inherited-from">
|
|
1081
|
-
|
|
1082
|
-
|
|
1083
|
-
|
|
1084
|
-
</li>
|
|
1085
|
-
</ul>
|
|
1086
|
-
</dd>
|
|
1087
|
-
|
|
918
|
+
<dd class="inherited-from"><ul class="dummy"><li>
|
|
919
|
+
<a href="BaseHub.html#ports">BaseHub#ports</a>
|
|
920
|
+
</li></ul></dd>
|
|
921
|
+
|
|
1088
922
|
|
|
1089
|
-
|
|
923
|
+
|
|
1090
924
|
|
|
1091
|
-
|
|
925
|
+
|
|
1092
926
|
|
|
1093
|
-
|
|
927
|
+
|
|
1094
928
|
|
|
1095
|
-
|
|
929
|
+
|
|
1096
930
|
|
|
1097
|
-
|
|
931
|
+
|
|
1098
932
|
|
|
1099
|
-
|
|
933
|
+
|
|
1100
934
|
|
|
1101
|
-
|
|
935
|
+
|
|
1102
936
|
|
|
1103
|
-
|
|
937
|
+
|
|
1104
938
|
|
|
1105
|
-
|
|
939
|
+
|
|
1106
940
|
|
|
1107
|
-
|
|
941
|
+
|
|
1108
942
|
<dt class="tag-source">Source:</dt>
|
|
1109
|
-
<dd class="tag-source">
|
|
1110
|
-
|
|
1111
|
-
|
|
1112
|
-
|
|
1113
|
-
</li>
|
|
1114
|
-
</ul>
|
|
1115
|
-
</dd>
|
|
1116
|
-
|
|
943
|
+
<dd class="tag-source"><ul class="dummy"><li>
|
|
944
|
+
<a href="hubs_basehub.js.html">hubs/basehub.js</a>, <a href="hubs_basehub.js.html#line126">line 126</a>
|
|
945
|
+
</li></ul></dd>
|
|
946
|
+
|
|
1117
947
|
|
|
1118
|
-
|
|
948
|
+
|
|
1119
949
|
|
|
1120
|
-
|
|
950
|
+
|
|
1121
951
|
|
|
1122
|
-
|
|
952
|
+
|
|
1123
953
|
</dl>
|
|
1124
954
|
|
|
1125
955
|
|
|
@@ -1127,13 +957,10 @@
|
|
|
1127
957
|
|
|
1128
958
|
|
|
1129
959
|
|
|
1130
|
-
|
|
1131
960
|
|
|
1132
961
|
|
|
962
|
+
<h4 class="name" id="primaryMACAddress"><span class="type-signature">(readonly) </span>primaryMACAddress<span class="type-signature"></span></h4>
|
|
1133
963
|
|
|
1134
|
-
<h4 class="name" id="primaryMACAddress">
|
|
1135
|
-
<span class="type-signature">(readonly) </span>primaryMACAddress<span class="type-signature"></span>
|
|
1136
|
-
</h4>
|
|
1137
964
|
|
|
1138
965
|
|
|
1139
966
|
|
|
@@ -1141,59 +968,55 @@
|
|
|
1141
968
|
|
|
1142
969
|
|
|
1143
970
|
|
|
1144
|
-
<h5 class="subsection-title">Properties:</h5>
|
|
1145
971
|
|
|
1146
|
-
|
|
972
|
+
|
|
973
|
+
<h5 class="subsection-title">Properties:</h5>
|
|
974
|
+
|
|
975
|
+
|
|
1147
976
|
|
|
1148
977
|
<table class="props">
|
|
1149
|
-
|
|
978
|
+
<thead>
|
|
1150
979
|
<tr>
|
|
1151
|
-
|
|
980
|
+
|
|
1152
981
|
<th>Name</th>
|
|
1153
|
-
|
|
982
|
+
|
|
1154
983
|
|
|
1155
|
-
|
|
984
|
+
<th>Type</th>
|
|
1156
985
|
|
|
1157
|
-
|
|
986
|
+
|
|
1158
987
|
|
|
1159
|
-
|
|
988
|
+
|
|
1160
989
|
|
|
1161
|
-
|
|
990
|
+
<th class="last">Description</th>
|
|
1162
991
|
</tr>
|
|
1163
|
-
|
|
992
|
+
</thead>
|
|
1164
993
|
|
|
1165
|
-
|
|
994
|
+
<tbody>
|
|
1166
995
|
|
|
1167
996
|
|
|
1168
|
-
|
|
1169
|
-
|
|
1170
|
-
|
|
1171
|
-
|
|
1172
|
-
|
|
1173
|
-
<td class="type">
|
|
1174
|
-
|
|
1175
|
-
|
|
1176
|
-
<span class="param-type">
|
|
1177
|
-
string
|
|
1178
|
-
</span>
|
|
997
|
+
<tr>
|
|
998
|
+
|
|
999
|
+
<td class="name"><code>primaryMACAddress</code></td>
|
|
1000
|
+
|
|
1179
1001
|
|
|
1180
|
-
|
|
1002
|
+
<td class="type">
|
|
1003
|
+
|
|
1004
|
+
|
|
1005
|
+
<span class="param-type">string</span>
|
|
1181
1006
|
|
|
1182
1007
|
|
|
1183
|
-
|
|
1184
|
-
|
|
1008
|
+
|
|
1009
|
+
</td>
|
|
1185
1010
|
|
|
1186
|
-
|
|
1011
|
+
|
|
1187
1012
|
|
|
1188
|
-
|
|
1013
|
+
|
|
1189
1014
|
|
|
1190
|
-
|
|
1191
|
-
|
|
1192
|
-
</td>
|
|
1193
|
-
</tr>
|
|
1015
|
+
<td class="description last"><p>Primary MAC address of the hub</p></td>
|
|
1016
|
+
</tr>
|
|
1194
1017
|
|
|
1195
|
-
|
|
1196
|
-
|
|
1018
|
+
|
|
1019
|
+
</tbody>
|
|
1197
1020
|
</table>
|
|
1198
1021
|
|
|
1199
1022
|
|
|
@@ -1201,55 +1024,47 @@
|
|
|
1201
1024
|
|
|
1202
1025
|
<dl class="details">
|
|
1203
1026
|
|
|
1204
|
-
|
|
1027
|
+
|
|
1205
1028
|
|
|
1206
|
-
|
|
1029
|
+
|
|
1207
1030
|
|
|
1208
|
-
|
|
1031
|
+
|
|
1209
1032
|
<dt class="inherited-from">Inherited From:</dt>
|
|
1210
|
-
<dd class="inherited-from">
|
|
1211
|
-
|
|
1212
|
-
|
|
1213
|
-
|
|
1214
|
-
</li>
|
|
1215
|
-
</ul>
|
|
1216
|
-
</dd>
|
|
1217
|
-
|
|
1033
|
+
<dd class="inherited-from"><ul class="dummy"><li>
|
|
1034
|
+
<a href="BaseHub.html#primaryMACAddress">BaseHub#primaryMACAddress</a>
|
|
1035
|
+
</li></ul></dd>
|
|
1036
|
+
|
|
1218
1037
|
|
|
1219
|
-
|
|
1038
|
+
|
|
1220
1039
|
|
|
1221
|
-
|
|
1040
|
+
|
|
1222
1041
|
|
|
1223
|
-
|
|
1042
|
+
|
|
1224
1043
|
|
|
1225
|
-
|
|
1044
|
+
|
|
1226
1045
|
|
|
1227
|
-
|
|
1046
|
+
|
|
1228
1047
|
|
|
1229
|
-
|
|
1048
|
+
|
|
1230
1049
|
|
|
1231
|
-
|
|
1050
|
+
|
|
1232
1051
|
|
|
1233
|
-
|
|
1052
|
+
|
|
1234
1053
|
|
|
1235
|
-
|
|
1054
|
+
|
|
1236
1055
|
|
|
1237
|
-
|
|
1056
|
+
|
|
1238
1057
|
<dt class="tag-source">Source:</dt>
|
|
1239
|
-
<dd class="tag-source">
|
|
1240
|
-
|
|
1241
|
-
|
|
1242
|
-
|
|
1243
|
-
</li>
|
|
1244
|
-
</ul>
|
|
1245
|
-
</dd>
|
|
1246
|
-
|
|
1058
|
+
<dd class="tag-source"><ul class="dummy"><li>
|
|
1059
|
+
<a href="hubs_basehub.js.html">hubs/basehub.js</a>, <a href="hubs_basehub.js.html#line147">line 147</a>
|
|
1060
|
+
</li></ul></dd>
|
|
1061
|
+
|
|
1247
1062
|
|
|
1248
|
-
|
|
1063
|
+
|
|
1249
1064
|
|
|
1250
|
-
|
|
1065
|
+
|
|
1251
1066
|
|
|
1252
|
-
|
|
1067
|
+
|
|
1253
1068
|
</dl>
|
|
1254
1069
|
|
|
1255
1070
|
|
|
@@ -1257,13 +1072,10 @@
|
|
|
1257
1072
|
|
|
1258
1073
|
|
|
1259
1074
|
|
|
1260
|
-
|
|
1261
1075
|
|
|
1262
1076
|
|
|
1077
|
+
<h4 class="name" id="rssi"><span class="type-signature">(readonly) </span>rssi<span class="type-signature"></span></h4>
|
|
1263
1078
|
|
|
1264
|
-
<h4 class="name" id="rssi">
|
|
1265
|
-
<span class="type-signature">(readonly) </span>rssi<span class="type-signature"></span>
|
|
1266
|
-
</h4>
|
|
1267
1079
|
|
|
1268
1080
|
|
|
1269
1081
|
|
|
@@ -1271,59 +1083,55 @@
|
|
|
1271
1083
|
|
|
1272
1084
|
|
|
1273
1085
|
|
|
1274
|
-
<h5 class="subsection-title">Properties:</h5>
|
|
1275
1086
|
|
|
1276
|
-
|
|
1087
|
+
|
|
1088
|
+
<h5 class="subsection-title">Properties:</h5>
|
|
1089
|
+
|
|
1090
|
+
|
|
1277
1091
|
|
|
1278
1092
|
<table class="props">
|
|
1279
|
-
|
|
1093
|
+
<thead>
|
|
1280
1094
|
<tr>
|
|
1281
|
-
|
|
1095
|
+
|
|
1282
1096
|
<th>Name</th>
|
|
1283
|
-
|
|
1097
|
+
|
|
1284
1098
|
|
|
1285
|
-
|
|
1099
|
+
<th>Type</th>
|
|
1286
1100
|
|
|
1287
|
-
|
|
1101
|
+
|
|
1288
1102
|
|
|
1289
|
-
|
|
1103
|
+
|
|
1290
1104
|
|
|
1291
|
-
|
|
1105
|
+
<th class="last">Description</th>
|
|
1292
1106
|
</tr>
|
|
1293
|
-
|
|
1107
|
+
</thead>
|
|
1294
1108
|
|
|
1295
|
-
|
|
1109
|
+
<tbody>
|
|
1296
1110
|
|
|
1297
1111
|
|
|
1298
|
-
|
|
1299
|
-
|
|
1300
|
-
|
|
1301
|
-
|
|
1302
|
-
|
|
1303
|
-
<td class="type">
|
|
1304
|
-
|
|
1305
|
-
|
|
1306
|
-
<span class="param-type">
|
|
1307
|
-
number
|
|
1308
|
-
</span>
|
|
1112
|
+
<tr>
|
|
1113
|
+
|
|
1114
|
+
<td class="name"><code>rssi</code></td>
|
|
1115
|
+
|
|
1309
1116
|
|
|
1310
|
-
|
|
1117
|
+
<td class="type">
|
|
1118
|
+
|
|
1119
|
+
|
|
1120
|
+
<span class="param-type">number</span>
|
|
1311
1121
|
|
|
1312
1122
|
|
|
1313
|
-
|
|
1314
|
-
|
|
1123
|
+
|
|
1124
|
+
</td>
|
|
1315
1125
|
|
|
1316
|
-
|
|
1126
|
+
|
|
1317
1127
|
|
|
1318
|
-
|
|
1128
|
+
|
|
1319
1129
|
|
|
1320
|
-
|
|
1321
|
-
|
|
1322
|
-
</td>
|
|
1323
|
-
</tr>
|
|
1130
|
+
<td class="description last"><p>Signal strength of the hub</p></td>
|
|
1131
|
+
</tr>
|
|
1324
1132
|
|
|
1325
|
-
|
|
1326
|
-
|
|
1133
|
+
|
|
1134
|
+
</tbody>
|
|
1327
1135
|
</table>
|
|
1328
1136
|
|
|
1329
1137
|
|
|
@@ -1331,55 +1139,47 @@
|
|
|
1331
1139
|
|
|
1332
1140
|
<dl class="details">
|
|
1333
1141
|
|
|
1334
|
-
|
|
1142
|
+
|
|
1335
1143
|
|
|
1336
|
-
|
|
1144
|
+
|
|
1337
1145
|
|
|
1338
|
-
|
|
1146
|
+
|
|
1339
1147
|
<dt class="inherited-from">Inherited From:</dt>
|
|
1340
|
-
<dd class="inherited-from">
|
|
1341
|
-
|
|
1342
|
-
|
|
1343
|
-
|
|
1344
|
-
</li>
|
|
1345
|
-
</ul>
|
|
1346
|
-
</dd>
|
|
1347
|
-
|
|
1148
|
+
<dd class="inherited-from"><ul class="dummy"><li>
|
|
1149
|
+
<a href="BaseHub.html#rssi">BaseHub#rssi</a>
|
|
1150
|
+
</li></ul></dd>
|
|
1151
|
+
|
|
1348
1152
|
|
|
1349
|
-
|
|
1153
|
+
|
|
1350
1154
|
|
|
1351
|
-
|
|
1155
|
+
|
|
1352
1156
|
|
|
1353
|
-
|
|
1157
|
+
|
|
1354
1158
|
|
|
1355
|
-
|
|
1159
|
+
|
|
1356
1160
|
|
|
1357
|
-
|
|
1161
|
+
|
|
1358
1162
|
|
|
1359
|
-
|
|
1163
|
+
|
|
1360
1164
|
|
|
1361
|
-
|
|
1165
|
+
|
|
1362
1166
|
|
|
1363
|
-
|
|
1167
|
+
|
|
1364
1168
|
|
|
1365
|
-
|
|
1169
|
+
|
|
1366
1170
|
|
|
1367
|
-
|
|
1171
|
+
|
|
1368
1172
|
<dt class="tag-source">Source:</dt>
|
|
1369
|
-
<dd class="tag-source">
|
|
1370
|
-
|
|
1371
|
-
|
|
1372
|
-
|
|
1373
|
-
</li>
|
|
1374
|
-
</ul>
|
|
1375
|
-
</dd>
|
|
1376
|
-
|
|
1173
|
+
<dd class="tag-source"><ul class="dummy"><li>
|
|
1174
|
+
<a href="hubs_basehub.js.html">hubs/basehub.js</a>, <a href="hubs_basehub.js.html#line168">line 168</a>
|
|
1175
|
+
</li></ul></dd>
|
|
1176
|
+
|
|
1377
1177
|
|
|
1378
|
-
|
|
1178
|
+
|
|
1379
1179
|
|
|
1380
|
-
|
|
1180
|
+
|
|
1381
1181
|
|
|
1382
|
-
|
|
1182
|
+
|
|
1383
1183
|
</dl>
|
|
1384
1184
|
|
|
1385
1185
|
|
|
@@ -1387,13 +1187,11 @@
|
|
|
1387
1187
|
|
|
1388
1188
|
|
|
1389
1189
|
|
|
1390
|
-
|
|
1391
1190
|
|
|
1392
1191
|
|
|
1192
|
+
<h4 class="name" id="type"><span class="type-signature">(readonly) </span>type<span class="type-signature"></span></h4>
|
|
1193
|
+
|
|
1393
1194
|
|
|
1394
|
-
<h4 class="name" id="type">
|
|
1395
|
-
<span class="type-signature">(readonly) </span>type<span class="type-signature"></span>
|
|
1396
|
-
</h4>
|
|
1397
1195
|
|
|
1398
1196
|
|
|
1399
1197
|
|
|
@@ -1401,59 +1199,54 @@
|
|
|
1401
1199
|
|
|
1402
1200
|
|
|
1403
1201
|
|
|
1404
|
-
<h5 class="subsection-title">Properties:</h5>
|
|
1405
1202
|
|
|
1406
|
-
|
|
1203
|
+
<h5 class="subsection-title">Properties:</h5>
|
|
1204
|
+
|
|
1205
|
+
|
|
1407
1206
|
|
|
1408
1207
|
<table class="props">
|
|
1409
|
-
|
|
1208
|
+
<thead>
|
|
1410
1209
|
<tr>
|
|
1411
|
-
|
|
1210
|
+
|
|
1412
1211
|
<th>Name</th>
|
|
1413
|
-
|
|
1212
|
+
|
|
1414
1213
|
|
|
1415
|
-
|
|
1214
|
+
<th>Type</th>
|
|
1416
1215
|
|
|
1417
|
-
|
|
1216
|
+
|
|
1418
1217
|
|
|
1419
|
-
|
|
1218
|
+
|
|
1420
1219
|
|
|
1421
|
-
|
|
1220
|
+
<th class="last">Description</th>
|
|
1422
1221
|
</tr>
|
|
1423
|
-
|
|
1222
|
+
</thead>
|
|
1424
1223
|
|
|
1425
|
-
|
|
1224
|
+
<tbody>
|
|
1426
1225
|
|
|
1427
1226
|
|
|
1428
|
-
|
|
1429
|
-
|
|
1430
|
-
|
|
1431
|
-
|
|
1432
|
-
|
|
1433
|
-
<td class="type">
|
|
1434
|
-
|
|
1435
|
-
|
|
1436
|
-
<span class="param-type">
|
|
1437
|
-
string
|
|
1438
|
-
</span>
|
|
1227
|
+
<tr>
|
|
1228
|
+
|
|
1229
|
+
<td class="name"><code>type</code></td>
|
|
1230
|
+
|
|
1439
1231
|
|
|
1440
|
-
|
|
1232
|
+
<td class="type">
|
|
1233
|
+
|
|
1234
|
+
|
|
1235
|
+
<span class="param-type">string</span>
|
|
1441
1236
|
|
|
1442
1237
|
|
|
1443
|
-
|
|
1444
|
-
|
|
1238
|
+
|
|
1239
|
+
</td>
|
|
1445
1240
|
|
|
1446
|
-
|
|
1241
|
+
|
|
1447
1242
|
|
|
1448
|
-
|
|
1243
|
+
|
|
1449
1244
|
|
|
1450
|
-
|
|
1451
|
-
|
|
1452
|
-
</td>
|
|
1453
|
-
</tr>
|
|
1245
|
+
<td class="description last"><p>Hub type</p></td>
|
|
1246
|
+
</tr>
|
|
1454
1247
|
|
|
1455
|
-
|
|
1456
|
-
|
|
1248
|
+
|
|
1249
|
+
</tbody>
|
|
1457
1250
|
</table>
|
|
1458
1251
|
|
|
1459
1252
|
|
|
@@ -1461,55 +1254,47 @@
|
|
|
1461
1254
|
|
|
1462
1255
|
<dl class="details">
|
|
1463
1256
|
|
|
1464
|
-
|
|
1257
|
+
|
|
1465
1258
|
|
|
1466
|
-
|
|
1259
|
+
|
|
1467
1260
|
|
|
1468
|
-
|
|
1261
|
+
|
|
1469
1262
|
<dt class="inherited-from">Inherited From:</dt>
|
|
1470
|
-
<dd class="inherited-from">
|
|
1471
|
-
|
|
1472
|
-
|
|
1473
|
-
|
|
1474
|
-
</li>
|
|
1475
|
-
</ul>
|
|
1476
|
-
</dd>
|
|
1477
|
-
|
|
1263
|
+
<dd class="inherited-from"><ul class="dummy"><li>
|
|
1264
|
+
<a href="BaseHub.html#type">BaseHub#type</a>
|
|
1265
|
+
</li></ul></dd>
|
|
1266
|
+
|
|
1478
1267
|
|
|
1479
|
-
|
|
1268
|
+
|
|
1480
1269
|
|
|
1481
|
-
|
|
1270
|
+
|
|
1482
1271
|
|
|
1483
|
-
|
|
1272
|
+
|
|
1484
1273
|
|
|
1485
|
-
|
|
1274
|
+
|
|
1486
1275
|
|
|
1487
|
-
|
|
1276
|
+
|
|
1488
1277
|
|
|
1489
|
-
|
|
1278
|
+
|
|
1490
1279
|
|
|
1491
|
-
|
|
1280
|
+
|
|
1492
1281
|
|
|
1493
|
-
|
|
1282
|
+
|
|
1494
1283
|
|
|
1495
|
-
|
|
1284
|
+
|
|
1496
1285
|
|
|
1497
|
-
|
|
1286
|
+
|
|
1498
1287
|
<dt class="tag-source">Source:</dt>
|
|
1499
|
-
<dd class="tag-source">
|
|
1500
|
-
|
|
1501
|
-
|
|
1502
|
-
|
|
1503
|
-
</li>
|
|
1504
|
-
</ul>
|
|
1505
|
-
</dd>
|
|
1506
|
-
|
|
1288
|
+
<dd class="tag-source"><ul class="dummy"><li>
|
|
1289
|
+
<a href="hubs_basehub.js.html">hubs/basehub.js</a>, <a href="hubs_basehub.js.html#line119">line 119</a>
|
|
1290
|
+
</li></ul></dd>
|
|
1291
|
+
|
|
1507
1292
|
|
|
1508
|
-
|
|
1293
|
+
|
|
1509
1294
|
|
|
1510
|
-
|
|
1295
|
+
|
|
1511
1296
|
|
|
1512
|
-
|
|
1297
|
+
|
|
1513
1298
|
</dl>
|
|
1514
1299
|
|
|
1515
1300
|
|
|
@@ -1517,13 +1302,11 @@
|
|
|
1517
1302
|
|
|
1518
1303
|
|
|
1519
1304
|
|
|
1520
|
-
|
|
1521
1305
|
|
|
1522
1306
|
|
|
1307
|
+
<h4 class="name" id="uuid"><span class="type-signature">(readonly) </span>uuid<span class="type-signature"></span></h4>
|
|
1308
|
+
|
|
1523
1309
|
|
|
1524
|
-
<h4 class="name" id="uuid">
|
|
1525
|
-
<span class="type-signature">(readonly) </span>uuid<span class="type-signature"></span>
|
|
1526
|
-
</h4>
|
|
1527
1310
|
|
|
1528
1311
|
|
|
1529
1312
|
|
|
@@ -1531,59 +1314,54 @@
|
|
|
1531
1314
|
|
|
1532
1315
|
|
|
1533
1316
|
|
|
1534
|
-
<h5 class="subsection-title">Properties:</h5>
|
|
1535
1317
|
|
|
1536
|
-
|
|
1318
|
+
<h5 class="subsection-title">Properties:</h5>
|
|
1319
|
+
|
|
1320
|
+
|
|
1537
1321
|
|
|
1538
1322
|
<table class="props">
|
|
1539
|
-
|
|
1323
|
+
<thead>
|
|
1540
1324
|
<tr>
|
|
1541
|
-
|
|
1325
|
+
|
|
1542
1326
|
<th>Name</th>
|
|
1543
|
-
|
|
1327
|
+
|
|
1544
1328
|
|
|
1545
|
-
|
|
1329
|
+
<th>Type</th>
|
|
1546
1330
|
|
|
1547
|
-
|
|
1331
|
+
|
|
1548
1332
|
|
|
1549
|
-
|
|
1333
|
+
|
|
1550
1334
|
|
|
1551
|
-
|
|
1335
|
+
<th class="last">Description</th>
|
|
1552
1336
|
</tr>
|
|
1553
|
-
|
|
1337
|
+
</thead>
|
|
1554
1338
|
|
|
1555
|
-
|
|
1339
|
+
<tbody>
|
|
1556
1340
|
|
|
1557
1341
|
|
|
1558
|
-
|
|
1559
|
-
|
|
1560
|
-
|
|
1561
|
-
|
|
1562
|
-
|
|
1563
|
-
<td class="type">
|
|
1564
|
-
|
|
1565
|
-
|
|
1566
|
-
<span class="param-type">
|
|
1567
|
-
string
|
|
1568
|
-
</span>
|
|
1342
|
+
<tr>
|
|
1343
|
+
|
|
1344
|
+
<td class="name"><code>uuid</code></td>
|
|
1345
|
+
|
|
1569
1346
|
|
|
1570
|
-
|
|
1347
|
+
<td class="type">
|
|
1348
|
+
|
|
1349
|
+
|
|
1350
|
+
<span class="param-type">string</span>
|
|
1571
1351
|
|
|
1572
1352
|
|
|
1573
|
-
|
|
1574
|
-
|
|
1353
|
+
|
|
1354
|
+
</td>
|
|
1575
1355
|
|
|
1576
|
-
|
|
1356
|
+
|
|
1577
1357
|
|
|
1578
|
-
|
|
1358
|
+
|
|
1579
1359
|
|
|
1580
|
-
|
|
1581
|
-
|
|
1582
|
-
</td>
|
|
1583
|
-
</tr>
|
|
1360
|
+
<td class="description last"><p>UUID of the hub</p></td>
|
|
1361
|
+
</tr>
|
|
1584
1362
|
|
|
1585
|
-
|
|
1586
|
-
|
|
1363
|
+
|
|
1364
|
+
</tbody>
|
|
1587
1365
|
</table>
|
|
1588
1366
|
|
|
1589
1367
|
|
|
@@ -1591,55 +1369,47 @@
|
|
|
1591
1369
|
|
|
1592
1370
|
<dl class="details">
|
|
1593
1371
|
|
|
1594
|
-
|
|
1372
|
+
|
|
1595
1373
|
|
|
1596
|
-
|
|
1374
|
+
|
|
1597
1375
|
|
|
1598
|
-
|
|
1376
|
+
|
|
1599
1377
|
<dt class="inherited-from">Inherited From:</dt>
|
|
1600
|
-
<dd class="inherited-from">
|
|
1601
|
-
|
|
1602
|
-
|
|
1603
|
-
|
|
1604
|
-
</li>
|
|
1605
|
-
</ul>
|
|
1606
|
-
</dd>
|
|
1607
|
-
|
|
1378
|
+
<dd class="inherited-from"><ul class="dummy"><li>
|
|
1379
|
+
<a href="BaseHub.html#uuid">BaseHub#uuid</a>
|
|
1380
|
+
</li></ul></dd>
|
|
1381
|
+
|
|
1608
1382
|
|
|
1609
|
-
|
|
1383
|
+
|
|
1610
1384
|
|
|
1611
|
-
|
|
1385
|
+
|
|
1612
1386
|
|
|
1613
|
-
|
|
1387
|
+
|
|
1614
1388
|
|
|
1615
|
-
|
|
1389
|
+
|
|
1616
1390
|
|
|
1617
|
-
|
|
1391
|
+
|
|
1618
1392
|
|
|
1619
|
-
|
|
1393
|
+
|
|
1620
1394
|
|
|
1621
|
-
|
|
1395
|
+
|
|
1622
1396
|
|
|
1623
|
-
|
|
1397
|
+
|
|
1624
1398
|
|
|
1625
|
-
|
|
1399
|
+
|
|
1626
1400
|
|
|
1627
|
-
|
|
1401
|
+
|
|
1628
1402
|
<dt class="tag-source">Source:</dt>
|
|
1629
|
-
<dd class="tag-source">
|
|
1630
|
-
|
|
1631
|
-
|
|
1632
|
-
|
|
1633
|
-
</li>
|
|
1634
|
-
</ul>
|
|
1635
|
-
</dd>
|
|
1636
|
-
|
|
1403
|
+
<dd class="tag-source"><ul class="dummy"><li>
|
|
1404
|
+
<a href="hubs_basehub.js.html">hubs/basehub.js</a>, <a href="hubs_basehub.js.html#line154">line 154</a>
|
|
1405
|
+
</li></ul></dd>
|
|
1406
|
+
|
|
1637
1407
|
|
|
1638
|
-
|
|
1408
|
+
|
|
1639
1409
|
|
|
1640
|
-
|
|
1410
|
+
|
|
1641
1411
|
|
|
1642
|
-
|
|
1412
|
+
|
|
1643
1413
|
</dl>
|
|
1644
1414
|
|
|
1645
1415
|
|
|
@@ -1647,37 +1417,28 @@
|
|
|
1647
1417
|
|
|
1648
1418
|
|
|
1649
1419
|
|
|
1650
|
-
|
|
1651
1420
|
|
|
1652
1421
|
|
|
1653
1422
|
|
|
1654
1423
|
|
|
1655
|
-
|
|
1424
|
+
<h3 class="subsection-title">Methods</h3>
|
|
1656
1425
|
|
|
1657
|
-
|
|
1658
1426
|
|
|
1427
|
+
|
|
1659
1428
|
|
|
1429
|
+
|
|
1660
1430
|
|
|
1661
|
-
|
|
1662
|
-
|
|
1663
|
-
|
|
1664
|
-
<a class="link-icon" href="#setName">
|
|
1665
|
-
<svg height="20" width="20" style="fill: black;">
|
|
1666
|
-
<use xlink:href="#linkIcon"></use>
|
|
1667
|
-
</svg>
|
|
1668
|
-
</a>
|
|
1669
|
-
<h4 class="name" id="setName">
|
|
1670
|
-
<span class="type-signature"></span>setName<span class="signature">(name)</span><span class="type-signature"> → {Promise}</span>
|
|
1671
|
-
</h4>
|
|
1672
|
-
</span>
|
|
1431
|
+
|
|
1432
|
+
<h4 class="name" id="setName"><span class="type-signature"></span>setName<span class="signature">(name)</span><span class="type-signature"> → {Promise}</span></h4>
|
|
1433
|
+
|
|
1673
1434
|
|
|
1674
|
-
|
|
1435
|
+
|
|
1675
1436
|
|
|
1676
1437
|
|
|
1677
1438
|
|
|
1678
|
-
|
|
1439
|
+
<div class="description">
|
|
1679
1440
|
<p>Set the name of the Hub.</p>
|
|
1680
|
-
|
|
1441
|
+
</div>
|
|
1681
1442
|
|
|
1682
1443
|
|
|
1683
1444
|
|
|
@@ -1685,106 +1446,99 @@
|
|
|
1685
1446
|
|
|
1686
1447
|
|
|
1687
1448
|
|
|
1688
|
-
|
|
1689
|
-
|
|
1449
|
+
|
|
1450
|
+
|
|
1451
|
+
<h5>Parameters:</h5>
|
|
1452
|
+
|
|
1690
1453
|
|
|
1691
1454
|
<table class="params">
|
|
1692
|
-
|
|
1455
|
+
<thead>
|
|
1693
1456
|
<tr>
|
|
1694
|
-
|
|
1457
|
+
|
|
1695
1458
|
<th>Name</th>
|
|
1696
|
-
|
|
1459
|
+
|
|
1697
1460
|
|
|
1698
|
-
|
|
1461
|
+
<th>Type</th>
|
|
1699
1462
|
|
|
1700
|
-
|
|
1463
|
+
|
|
1701
1464
|
|
|
1702
|
-
|
|
1465
|
+
|
|
1703
1466
|
|
|
1704
|
-
|
|
1467
|
+
<th class="last">Description</th>
|
|
1705
1468
|
</tr>
|
|
1706
|
-
|
|
1469
|
+
</thead>
|
|
1707
1470
|
|
|
1708
|
-
|
|
1471
|
+
<tbody>
|
|
1709
1472
|
|
|
1710
|
-
<tr>
|
|
1711
|
-
|
|
1712
|
-
<td class="name"><code>name</code></td>
|
|
1713
|
-
|
|
1714
1473
|
|
|
1715
|
-
<
|
|
1716
|
-
|
|
1474
|
+
<tr>
|
|
1475
|
+
|
|
1476
|
+
<td class="name"><code>name</code></td>
|
|
1717
1477
|
|
|
1718
|
-
<span class="param-type">
|
|
1719
|
-
string
|
|
1720
|
-
</span>
|
|
1721
1478
|
|
|
1722
|
-
|
|
1479
|
+
<td class="type">
|
|
1480
|
+
|
|
1481
|
+
|
|
1482
|
+
<span class="param-type">string</span>
|
|
1723
1483
|
|
|
1724
1484
|
|
|
1725
|
-
|
|
1726
|
-
|
|
1485
|
+
|
|
1486
|
+
</td>
|
|
1727
1487
|
|
|
1728
|
-
|
|
1488
|
+
|
|
1729
1489
|
|
|
1730
|
-
|
|
1490
|
+
|
|
1731
1491
|
|
|
1732
|
-
|
|
1733
|
-
|
|
1734
|
-
|
|
1735
|
-
</td>
|
|
1736
|
-
</tr>
|
|
1492
|
+
<td class="description last"><p>New name of the hub (14 characters or less, ASCII only).</p></td>
|
|
1493
|
+
</tr>
|
|
1737
1494
|
|
|
1738
1495
|
|
|
1739
|
-
|
|
1496
|
+
</tbody>
|
|
1740
1497
|
</table>
|
|
1741
1498
|
|
|
1742
1499
|
|
|
1743
1500
|
|
|
1744
1501
|
|
|
1745
1502
|
|
|
1503
|
+
|
|
1746
1504
|
<dl class="details">
|
|
1747
1505
|
|
|
1748
|
-
|
|
1506
|
+
|
|
1749
1507
|
|
|
1750
|
-
|
|
1508
|
+
|
|
1751
1509
|
|
|
1752
|
-
|
|
1510
|
+
|
|
1753
1511
|
|
|
1754
|
-
|
|
1512
|
+
|
|
1755
1513
|
|
|
1756
|
-
|
|
1514
|
+
|
|
1757
1515
|
|
|
1758
|
-
|
|
1516
|
+
|
|
1759
1517
|
|
|
1760
|
-
|
|
1518
|
+
|
|
1761
1519
|
|
|
1762
|
-
|
|
1520
|
+
|
|
1763
1521
|
|
|
1764
|
-
|
|
1522
|
+
|
|
1765
1523
|
|
|
1766
|
-
|
|
1524
|
+
|
|
1767
1525
|
|
|
1768
|
-
|
|
1526
|
+
|
|
1769
1527
|
|
|
1770
|
-
|
|
1528
|
+
|
|
1771
1529
|
|
|
1772
|
-
|
|
1530
|
+
|
|
1773
1531
|
<dt class="tag-source">Source:</dt>
|
|
1774
|
-
<dd class="tag-source">
|
|
1775
|
-
|
|
1776
|
-
|
|
1777
|
-
|
|
1778
|
-
</li>
|
|
1779
|
-
</ul>
|
|
1780
|
-
</dd>
|
|
1781
|
-
|
|
1532
|
+
<dd class="tag-source"><ul class="dummy"><li>
|
|
1533
|
+
<a href="hubs_wedo2smarthub.js.html">hubs/wedo2smarthub.js</a>, <a href="hubs_wedo2smarthub.js.html#line111">line 111</a>
|
|
1534
|
+
</li></ul></dd>
|
|
1535
|
+
|
|
1782
1536
|
|
|
1783
|
-
|
|
1537
|
+
|
|
1784
1538
|
|
|
1785
|
-
|
|
1539
|
+
|
|
1786
1540
|
|
|
1787
|
-
|
|
1541
|
+
|
|
1788
1542
|
</dl>
|
|
1789
1543
|
|
|
1790
1544
|
|
|
@@ -1800,30 +1554,53 @@
|
|
|
1800
1554
|
|
|
1801
1555
|
|
|
1802
1556
|
|
|
1803
|
-
|
|
1557
|
+
|
|
1558
|
+
<h5>Returns:</h5>
|
|
1559
|
+
|
|
1560
|
+
|
|
1561
|
+
<div class="param-desc">
|
|
1562
|
+
<p>Resolved upon successful issuance of command.</p>
|
|
1563
|
+
</div>
|
|
1564
|
+
|
|
1565
|
+
|
|
1566
|
+
|
|
1567
|
+
<dl>
|
|
1568
|
+
<dt>
|
|
1569
|
+
Type
|
|
1570
|
+
</dt>
|
|
1571
|
+
<dd>
|
|
1804
1572
|
|
|
1573
|
+
<span class="param-type">Promise</span>
|
|
1805
1574
|
|
|
1806
1575
|
|
|
1807
|
-
|
|
1576
|
+
</dd>
|
|
1577
|
+
</dl>
|
|
1578
|
+
|
|
1579
|
+
|
|
1808
1580
|
|
|
1809
|
-
<span class='name-container'>
|
|
1810
|
-
<a class="link-icon" href="#shutdown">
|
|
1811
|
-
<svg height="20" width="20" style="fill: black;">
|
|
1812
|
-
<use xlink:href="#linkIcon"></use>
|
|
1813
|
-
</svg>
|
|
1814
|
-
</a>
|
|
1815
|
-
<h4 class="name" id="shutdown">
|
|
1816
|
-
<span class="type-signature"></span>shutdown<span class="signature">()</span><span class="type-signature"> → {Promise}</span>
|
|
1817
|
-
</h4>
|
|
1818
|
-
</span>
|
|
1819
1581
|
|
|
1820
|
-
|
|
1821
1582
|
|
|
1822
1583
|
|
|
1823
1584
|
|
|
1824
|
-
|
|
1585
|
+
|
|
1586
|
+
|
|
1587
|
+
|
|
1588
|
+
|
|
1589
|
+
|
|
1590
|
+
|
|
1591
|
+
<h4 class="name" id="shutdown"><span class="type-signature"></span>shutdown<span class="signature">()</span><span class="type-signature"> → {Promise}</span></h4>
|
|
1592
|
+
|
|
1593
|
+
|
|
1594
|
+
|
|
1595
|
+
|
|
1596
|
+
|
|
1597
|
+
|
|
1598
|
+
<div class="description">
|
|
1825
1599
|
<p>Shutdown the Hub.</p>
|
|
1826
|
-
|
|
1600
|
+
</div>
|
|
1601
|
+
|
|
1602
|
+
|
|
1603
|
+
|
|
1827
1604
|
|
|
1828
1605
|
|
|
1829
1606
|
|
|
@@ -1836,46 +1613,42 @@
|
|
|
1836
1613
|
|
|
1837
1614
|
<dl class="details">
|
|
1838
1615
|
|
|
1839
|
-
|
|
1616
|
+
|
|
1840
1617
|
|
|
1841
|
-
|
|
1618
|
+
|
|
1842
1619
|
|
|
1843
|
-
|
|
1620
|
+
|
|
1844
1621
|
|
|
1845
|
-
|
|
1622
|
+
|
|
1846
1623
|
|
|
1847
|
-
|
|
1624
|
+
|
|
1848
1625
|
|
|
1849
|
-
|
|
1626
|
+
|
|
1850
1627
|
|
|
1851
|
-
|
|
1628
|
+
|
|
1852
1629
|
|
|
1853
|
-
|
|
1630
|
+
|
|
1854
1631
|
|
|
1855
|
-
|
|
1632
|
+
|
|
1856
1633
|
|
|
1857
|
-
|
|
1634
|
+
|
|
1858
1635
|
|
|
1859
|
-
|
|
1636
|
+
|
|
1860
1637
|
|
|
1861
|
-
|
|
1638
|
+
|
|
1862
1639
|
|
|
1863
|
-
|
|
1640
|
+
|
|
1864
1641
|
<dt class="tag-source">Source:</dt>
|
|
1865
|
-
<dd class="tag-source">
|
|
1866
|
-
|
|
1867
|
-
|
|
1868
|
-
|
|
1869
|
-
</li>
|
|
1870
|
-
</ul>
|
|
1871
|
-
</dd>
|
|
1872
|
-
|
|
1642
|
+
<dd class="tag-source"><ul class="dummy"><li>
|
|
1643
|
+
<a href="hubs_wedo2smarthub.js.html">hubs/wedo2smarthub.js</a>, <a href="hubs_wedo2smarthub.js.html#line103">line 103</a>
|
|
1644
|
+
</li></ul></dd>
|
|
1645
|
+
|
|
1873
1646
|
|
|
1874
|
-
|
|
1647
|
+
|
|
1875
1648
|
|
|
1876
|
-
|
|
1649
|
+
|
|
1877
1650
|
|
|
1878
|
-
|
|
1651
|
+
|
|
1879
1652
|
</dl>
|
|
1880
1653
|
|
|
1881
1654
|
|
|
@@ -1891,38 +1664,60 @@
|
|
|
1891
1664
|
|
|
1892
1665
|
|
|
1893
1666
|
|
|
1894
|
-
|
|
1667
|
+
|
|
1668
|
+
<h5>Returns:</h5>
|
|
1669
|
+
|
|
1670
|
+
|
|
1671
|
+
<div class="param-desc">
|
|
1672
|
+
<p>Resolved upon successful disconnect.</p>
|
|
1673
|
+
</div>
|
|
1674
|
+
|
|
1675
|
+
|
|
1676
|
+
|
|
1677
|
+
<dl>
|
|
1678
|
+
<dt>
|
|
1679
|
+
Type
|
|
1680
|
+
</dt>
|
|
1681
|
+
<dd>
|
|
1682
|
+
|
|
1683
|
+
<span class="param-type">Promise</span>
|
|
1684
|
+
|
|
1685
|
+
|
|
1686
|
+
</dd>
|
|
1687
|
+
</dl>
|
|
1688
|
+
|
|
1689
|
+
|
|
1690
|
+
|
|
1691
|
+
|
|
1692
|
+
|
|
1693
|
+
|
|
1694
|
+
|
|
1695
|
+
|
|
1895
1696
|
|
|
1896
1697
|
|
|
1897
1698
|
|
|
1898
1699
|
|
|
1899
1700
|
|
|
1900
|
-
|
|
1701
|
+
<h3 class="subsection-title">Events</h3>
|
|
1901
1702
|
|
|
1902
|
-
|
|
1903
1703
|
|
|
1704
|
+
|
|
1904
1705
|
|
|
1706
|
+
|
|
1905
1707
|
|
|
1906
|
-
|
|
1907
|
-
|
|
1908
|
-
|
|
1909
|
-
<a class="link-icon" href="#event:button">
|
|
1910
|
-
<svg height="20" width="20" style="fill: black;">
|
|
1911
|
-
<use xlink:href="#linkIcon"></use>
|
|
1912
|
-
</svg>
|
|
1913
|
-
</a>
|
|
1914
|
-
<h4 class="name" id="event:button">
|
|
1915
|
-
<span class="type-signature"></span>button<span class="type-signature"></span>
|
|
1916
|
-
</h4>
|
|
1917
|
-
</span>
|
|
1708
|
+
|
|
1709
|
+
<h4 class="name" id="event:button">button</h4>
|
|
1710
|
+
|
|
1918
1711
|
|
|
1919
|
-
|
|
1712
|
+
|
|
1920
1713
|
|
|
1921
1714
|
|
|
1922
1715
|
|
|
1923
|
-
|
|
1716
|
+
<div class="description">
|
|
1924
1717
|
<p>Emits when a button is pressed.</p>
|
|
1925
|
-
|
|
1718
|
+
</div>
|
|
1719
|
+
|
|
1720
|
+
|
|
1926
1721
|
|
|
1927
1722
|
|
|
1928
1723
|
|
|
@@ -1930,135 +1725,120 @@
|
|
|
1930
1725
|
|
|
1931
1726
|
|
|
1932
1727
|
|
|
1933
|
-
|
|
1934
|
-
|
|
1728
|
+
<h5>Parameters:</h5>
|
|
1729
|
+
|
|
1935
1730
|
|
|
1936
1731
|
<table class="params">
|
|
1937
|
-
|
|
1732
|
+
<thead>
|
|
1938
1733
|
<tr>
|
|
1939
|
-
|
|
1734
|
+
|
|
1940
1735
|
<th>Name</th>
|
|
1941
|
-
|
|
1736
|
+
|
|
1942
1737
|
|
|
1943
|
-
|
|
1738
|
+
<th>Type</th>
|
|
1944
1739
|
|
|
1945
|
-
|
|
1740
|
+
|
|
1946
1741
|
|
|
1947
|
-
|
|
1742
|
+
|
|
1948
1743
|
|
|
1949
|
-
|
|
1744
|
+
<th class="last">Description</th>
|
|
1950
1745
|
</tr>
|
|
1951
|
-
|
|
1746
|
+
</thead>
|
|
1952
1747
|
|
|
1953
|
-
|
|
1748
|
+
<tbody>
|
|
1954
1749
|
|
|
1955
|
-
<tr>
|
|
1956
|
-
|
|
1957
|
-
<td class="name"><code>button</code></td>
|
|
1958
|
-
|
|
1959
1750
|
|
|
1960
|
-
<
|
|
1961
|
-
|
|
1751
|
+
<tr>
|
|
1752
|
+
|
|
1753
|
+
<td class="name"><code>button</code></td>
|
|
1962
1754
|
|
|
1963
|
-
<span class="param-type">
|
|
1964
|
-
string
|
|
1965
|
-
</span>
|
|
1966
1755
|
|
|
1967
|
-
|
|
1756
|
+
<td class="type">
|
|
1757
|
+
|
|
1758
|
+
|
|
1759
|
+
<span class="param-type">string</span>
|
|
1968
1760
|
|
|
1969
1761
|
|
|
1970
|
-
|
|
1971
|
-
|
|
1762
|
+
|
|
1763
|
+
</td>
|
|
1972
1764
|
|
|
1973
|
-
|
|
1765
|
+
|
|
1974
1766
|
|
|
1975
|
-
|
|
1767
|
+
|
|
1976
1768
|
|
|
1977
|
-
|
|
1978
|
-
|
|
1979
|
-
|
|
1980
|
-
</td>
|
|
1981
|
-
</tr>
|
|
1769
|
+
<td class="description last"></td>
|
|
1770
|
+
</tr>
|
|
1982
1771
|
|
|
1983
1772
|
|
|
1984
|
-
<tr>
|
|
1985
|
-
|
|
1986
|
-
<td class="name"><code>state</code></td>
|
|
1987
|
-
|
|
1988
1773
|
|
|
1989
|
-
<
|
|
1990
|
-
|
|
1774
|
+
<tr>
|
|
1775
|
+
|
|
1776
|
+
<td class="name"><code>state</code></td>
|
|
1991
1777
|
|
|
1992
|
-
<span class="param-type">
|
|
1993
|
-
<a href="global.html#ButtonState">ButtonState</a>
|
|
1994
|
-
</span>
|
|
1995
1778
|
|
|
1996
|
-
|
|
1779
|
+
<td class="type">
|
|
1780
|
+
|
|
1781
|
+
|
|
1782
|
+
<span class="param-type"><a href="global.html#ButtonState">ButtonState</a></span>
|
|
1997
1783
|
|
|
1998
1784
|
|
|
1999
|
-
|
|
2000
|
-
|
|
1785
|
+
|
|
1786
|
+
</td>
|
|
2001
1787
|
|
|
2002
|
-
|
|
1788
|
+
|
|
2003
1789
|
|
|
2004
|
-
|
|
1790
|
+
|
|
2005
1791
|
|
|
2006
|
-
|
|
2007
|
-
|
|
2008
|
-
|
|
2009
|
-
</td>
|
|
2010
|
-
</tr>
|
|
1792
|
+
<td class="description last"></td>
|
|
1793
|
+
</tr>
|
|
2011
1794
|
|
|
2012
1795
|
|
|
2013
|
-
|
|
1796
|
+
</tbody>
|
|
2014
1797
|
</table>
|
|
2015
1798
|
|
|
2016
1799
|
|
|
2017
1800
|
|
|
2018
1801
|
|
|
2019
1802
|
|
|
1803
|
+
|
|
2020
1804
|
<dl class="details">
|
|
2021
1805
|
|
|
2022
|
-
|
|
1806
|
+
|
|
2023
1807
|
|
|
2024
|
-
|
|
1808
|
+
|
|
2025
1809
|
|
|
2026
|
-
|
|
1810
|
+
|
|
2027
1811
|
|
|
2028
|
-
|
|
1812
|
+
|
|
2029
1813
|
|
|
2030
|
-
|
|
1814
|
+
|
|
2031
1815
|
|
|
2032
|
-
|
|
1816
|
+
|
|
2033
1817
|
|
|
2034
|
-
|
|
1818
|
+
|
|
2035
1819
|
|
|
2036
|
-
|
|
1820
|
+
|
|
2037
1821
|
|
|
2038
|
-
|
|
1822
|
+
|
|
2039
1823
|
|
|
2040
|
-
|
|
1824
|
+
|
|
2041
1825
|
|
|
2042
|
-
|
|
1826
|
+
|
|
2043
1827
|
|
|
2044
|
-
|
|
1828
|
+
|
|
2045
1829
|
|
|
2046
|
-
|
|
1830
|
+
|
|
2047
1831
|
<dt class="tag-source">Source:</dt>
|
|
2048
|
-
<dd class="tag-source">
|
|
2049
|
-
|
|
2050
|
-
|
|
2051
|
-
|
|
2052
|
-
</li>
|
|
2053
|
-
</ul>
|
|
2054
|
-
</dd>
|
|
2055
|
-
|
|
1832
|
+
<dd class="tag-source"><ul class="dummy"><li>
|
|
1833
|
+
<a href="hubs_wedo2smarthub.js.html">hubs/wedo2smarthub.js</a>, <a href="hubs_wedo2smarthub.js.html#line186">line 186</a>
|
|
1834
|
+
</li></ul></dd>
|
|
1835
|
+
|
|
2056
1836
|
|
|
2057
|
-
|
|
1837
|
+
|
|
2058
1838
|
|
|
2059
|
-
|
|
1839
|
+
|
|
2060
1840
|
|
|
2061
|
-
|
|
1841
|
+
|
|
2062
1842
|
</dl>
|
|
2063
1843
|
|
|
2064
1844
|
|
|
@@ -2074,26 +1854,34 @@
|
|
|
2074
1854
|
|
|
2075
1855
|
|
|
2076
1856
|
|
|
2077
|
-
|
|
1857
|
+
|
|
1858
|
+
|
|
1859
|
+
|
|
1860
|
+
|
|
1861
|
+
|
|
1862
|
+
|
|
1863
|
+
|
|
2078
1864
|
|
|
2079
|
-
|
|
2080
|
-
</section>
|
|
1865
|
+
</article>
|
|
2081
1866
|
|
|
1867
|
+
</section>
|
|
2082
1868
|
|
|
2083
1869
|
|
|
2084
1870
|
|
|
2085
|
-
</div>
|
|
2086
1871
|
|
|
2087
|
-
|
|
1872
|
+
</div>
|
|
2088
1873
|
|
|
2089
|
-
|
|
2090
|
-
|
|
2091
|
-
|
|
1874
|
+
<nav>
|
|
1875
|
+
<h2><a href="index.html">Home</a></h2><h3>Classes</h3><ul><li><a href="AbsoluteMotor.html">AbsoluteMotor</a></li><li><a href="BaseHub.html">BaseHub</a></li><li><a href="BasicMotor.html">BasicMotor</a></li><li><a href="ColorDistanceSensor.html">ColorDistanceSensor</a></li><li><a href="CurrentSensor.html">CurrentSensor</a></li><li><a href="Device.html">Device</a></li><li><a href="DuploTrainBase.html">DuploTrainBase</a></li><li><a href="DuploTrainBaseColorSensor.html">DuploTrainBaseColorSensor</a></li><li><a href="DuploTrainBaseMotor.html">DuploTrainBaseMotor</a></li><li><a href="DuploTrainBaseSpeaker.html">DuploTrainBaseSpeaker</a></li><li><a href="DuploTraniBaseSpeedometer.html">DuploTraniBaseSpeedometer</a></li><li><a href="Hub.html">Hub</a></li><li><a href="HubLED.html">HubLED</a></li><li><a href="LPF2Hub.html">LPF2Hub</a></li><li><a href="Light.html">Light</a></li><li><a href="Mario.html">Mario</a></li><li><a href="MarioAccelerometer.html">MarioAccelerometer</a></li><li><a href="MarioBarcodeSensor.html">MarioBarcodeSensor</a></li><li><a href="MarioPantsSensor.html">MarioPantsSensor</a></li><li><a href="MediumLinearMotor.html">MediumLinearMotor</a></li><li><a href="MotionSensor.html">MotionSensor</a></li><li><a href="MoveHub.html">MoveHub</a></li><li><a href="MoveHubMediumLinearMotor.html">MoveHubMediumLinearMotor</a></li><li><a href="MoveHubTiltSensor.html">MoveHubTiltSensor</a></li><li><a href="PiezoBuzzer.html">PiezoBuzzer</a></li><li><a href="PoweredUP.html">PoweredUP</a></li><li><a href="RemoteControl.html">RemoteControl</a></li><li><a href="RemoteControlButton.html">RemoteControlButton</a></li><li><a href="SimpleMediumLinearMotor.html">SimpleMediumLinearMotor</a></li><li><a href="TachoMotor.html">TachoMotor</a></li><li><a href="Technic3x3ColorLightMatrix.html">Technic3x3ColorLightMatrix</a></li><li><a href="TechnicColorSensor.html">TechnicColorSensor</a></li><li><a href="TechnicDistanceSensor.html">TechnicDistanceSensor</a></li><li><a href="TechnicForceSensor.html">TechnicForceSensor</a></li><li><a href="TechnicLargeAngularMotor.html">TechnicLargeAngularMotor</a></li><li><a href="TechnicLargeLinearMotor.html">TechnicLargeLinearMotor</a></li><li><a href="TechnicMediumAngularMotor.html">TechnicMediumAngularMotor</a></li><li><a href="TechnicMediumHub.html">TechnicMediumHub</a></li><li><a href="TechnicMediumHubAccelerometerSensor.html">TechnicMediumHubAccelerometerSensor</a></li><li><a href="TechnicMediumHubGyroSensor.html">TechnicMediumHubGyroSensor</a></li><li><a href="TechnicMediumHubTiltSensor.html">TechnicMediumHubTiltSensor</a></li><li><a href="TechnicSmallAngularMotor.html">TechnicSmallAngularMotor</a></li><li><a href="TechnicXLargeLinearMotor.html">TechnicXLargeLinearMotor</a></li><li><a href="TiltSensor.html">TiltSensor</a></li><li><a href="TrainMotor.html">TrainMotor</a></li><li><a href="VoltageSensor.html">VoltageSensor</a></li><li><a href="WeDo2SmartHub.html">WeDo2SmartHub</a></li></ul><h3>Events</h3><ul><li><a href="AbsoluteMotor.html#event:absolute">absolute</a></li><li><a href="AbsoluteMotor.html#event:rotate">rotate</a></li><li><a href="ColorDistanceSensor.html#event:ambient">ambient</a></li><li><a href="ColorDistanceSensor.html#event:color">color</a></li><li><a href="ColorDistanceSensor.html#event:colorAndDistance">colorAndDistance</a></li><li><a href="ColorDistanceSensor.html#event:distance">distance</a></li><li><a href="ColorDistanceSensor.html#event:distanceCount">distanceCount</a></li><li><a href="ColorDistanceSensor.html#event:reflect">reflect</a></li><li><a href="ColorDistanceSensor.html#event:rgbIntensity">rgbIntensity</a></li><li><a href="CurrentSensor.html#event:current">current</a></li><li><a href="DuploTrainBase.html#event:button">button</a></li><li><a href="DuploTrainBaseColorSensor.html#event:color">color</a></li><li><a href="DuploTrainBaseColorSensor.html#event:intensity">intensity</a></li><li><a href="DuploTrainBaseColorSensor.html#event:reflect">reflect</a></li><li><a href="DuploTrainBaseColorSensor.html#event:rgb">rgb</a></li><li><a href="DuploTrainBaseSpeedometer.html#event:speed">speed</a></li><li><a href="Hub.html#event:attach">attach</a></li><li><a href="Hub.html#event:button">button</a></li><li><a href="Hub.html#event:detach">detach</a></li><li><a href="Hub.html#event:disconnect">disconnect</a></li><li><a href="LPF2Hub.html#event:button">button</a></li><li><a href="Mario.html#event:button">button</a></li><li><a href="MarioAccelerometer.html#event:accel">accel</a></li><li><a href="MarioAccelerometer.html#event:gest">gest</a></li><li><a href="MarioBarcodeSensor.html#event:barcode">barcode</a></li><li><a href="MarioBarcodeSensor.html#event:rgb">rgb</a></li><li><a href="MarioPantsSensor.html#event:pants">pants</a></li><li><a href="MediumLinearMotor.html#event:rotate">rotate</a></li><li><a href="MotionSensor.html#event:distance">distance</a></li><li><a href="MoveHub.html#event:button">button</a></li><li><a href="MoveHubMediumLinearMotor.html#event:rotate">rotate</a></li><li><a href="MoveHubTiltSensor.html#event:tilt">tilt</a></li><li><a href="PoweredUP.html#event:discover">discover</a></li><li><a href="RemoteControl.html#event:button">button</a></li><li><a href="RemoteControlButton.html#event:remoteButton">remoteButton</a></li><li><a href="TachoMotor.html#event:rotate">rotate</a></li><li><a href="TechnicColorSensor.html#event:ambient">ambient</a></li><li><a href="TechnicColorSensor.html#event:color">color</a></li><li><a href="TechnicColorSensor.html#event:reflect">reflect</a></li><li><a href="TechnicDistanceSensor.html#event:distance">distance</a></li><li><a href="TechnicDistanceSensor.html#event:fastDistance">fastDistance</a></li><li><a href="TechnicForceSensor.html#event:force">force</a></li><li><a href="TechnicForceSensor.html#event:tapped">tapped</a></li><li><a href="TechnicForceSensor.html#event:touch">touch</a></li><li><a href="TechnicLargeAngularMotor.html#event:absolute">absolute</a></li><li><a href="TechnicLargeAngularMotor.html#event:rotate">rotate</a></li><li><a href="TechnicLargeLinearMotor.html#event:absolute">absolute</a></li><li><a href="TechnicLargeLinearMotor.html#event:rotate">rotate</a></li><li><a href="TechnicMediumAngularMotor.html#event:absolute">absolute</a></li><li><a href="TechnicMediumAngularMotor.html#event:rotate">rotate</a></li><li><a href="TechnicMediumHub.html#event:button">button</a></li><li><a href="TechnicMediumHubAccelerometerSensor.html#event:accel">accel</a></li><li><a href="TechnicMediumHubGyroSensor.html#event:gyro">gyro</a></li><li><a href="TechnicMediumHubTiltSensor.html#event:impactCount">impactCount</a></li><li><a href="TechnicMediumHubTiltSensor.html#event:tilt">tilt</a></li><li><a href="TechnicSmallAngularMotor.html#event:absolute">absolute</a></li><li><a href="TechnicSmallAngularMotor.html#event:rotate">rotate</a></li><li><a href="TechnicXLargeLinearMotor.html#event:absolute">absolute</a></li><li><a href="TechnicXLargeLinearMotor.html#event:rotate">rotate</a></li><li><a href="TiltSensor.html#event:tilt">tilt</a></li><li><a href="VoltageSensor.html#event:voltage">voltage</a></li><li><a href="WeDo2SmartHub.html#event:button">button</a></li></ul><h3><a href="global.html">Global</a></h3>
|
|
1876
|
+
</nav>
|
|
2092
1877
|
|
|
2093
|
-
|
|
2094
|
-
<script src="scripts/pagelocation.js"></script>
|
|
1878
|
+
<br class="clear">
|
|
2095
1879
|
|
|
2096
|
-
|
|
1880
|
+
<footer>
|
|
1881
|
+
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 4.0.2</a> on Fri Apr 26 2024 00:11:37 GMT+0000 (Coordinated Universal Time)
|
|
1882
|
+
</footer>
|
|
2097
1883
|
|
|
1884
|
+
<script> prettyPrint(); </script>
|
|
1885
|
+
<script src="scripts/linenumber.js"> </script>
|
|
2098
1886
|
</body>
|
|
2099
1887
|
</html>
|