node-poweredup 6.11.0 → 8.0.1

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