node-poweredup/docs/global.html
Nathan Kellenicki abecb5385b
Some checks failed
continuous-integration/drone/push Build is failing
Updated
2024-04-25 16:38:57 -07:00

3996 lines
55 KiB
HTML

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>JSDoc: Global</title>
<script src="scripts/prettify/prettify.js"> </script>
<script src="scripts/prettify/lang-css.js"> </script>
<!--[if lt IE 9]>
<script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->
<link type="text/css" rel="stylesheet" href="styles/prettify-tomorrow.css">
<link type="text/css" rel="stylesheet" href="styles/jsdoc-default.css">
</head>
<body>
<div id="main">
<h1 class="page-title">Global</h1>
<section>
<header>
<h2></h2>
</header>
<article>
<div class="container-overview">
<dl class="details">
</dl>
</div>
<h3 class="subsection-title">Type Definitions</h3>
<h4 class="name" id="ActionType">ActionType</h4>
<div class="description">
<p>https://lego.github.io/lego-ble-wireless-protocol-docs/index.html#action-types</p>
</div>
<dl class="details">
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="consts.js.html">consts.js</a>, <a href="consts.js.html#line374">line 374</a>
</li></ul></dd>
</dl>
<h4 class="name" id="AlertOperation">AlertOperation</h4>
<div class="description">
<p>https://lego.github.io/lego-ble-wireless-protocol-docs/index.html#alert-operation</p>
</div>
<dl class="details">
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="consts.js.html">consts.js</a>, <a href="consts.js.html#line416">line 416</a>
</li></ul></dd>
</dl>
<h4 class="name" id="AlertPayload">AlertPayload</h4>
<div class="description">
<p>https://lego.github.io/lego-ble-wireless-protocol-docs/index.html#alert-payload</p>
</div>
<dl class="details">
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="consts.js.html">consts.js</a>, <a href="consts.js.html#line431">line 431</a>
</li></ul></dd>
</dl>
<h4 class="name" id="AlertType">AlertType</h4>
<div class="description">
<p>https://lego.github.io/lego-ble-wireless-protocol-docs/index.html#alert-type</p>
</div>
<dl class="details">
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="consts.js.html">consts.js</a>, <a href="consts.js.html#line401">line 401</a>
</li></ul></dd>
</dl>
<h4 class="name" id="BrakingStyle">BrakingStyle</h4>
<h5 class="subsection-title">Properties:</h5>
<table class="props">
<thead>
<tr>
<th>Name</th>
<th>Type</th>
<th class="last">Description</th>
</tr>
</thead>
<tbody>
<tr>
<td class="name"><code>FLOAT</code></td>
<td class="type">
<span class="param-type">number</span>
</td>
<td class="description last"><p>0</p></td>
</tr>
<tr>
<td class="name"><code>HOLD</code></td>
<td class="type">
<span class="param-type">number</span>
</td>
<td class="description last"><p>127</p></td>
</tr>
<tr>
<td class="name"><code>BRAKE</code></td>
<td class="type">
<span class="param-type">number</span>
</td>
<td class="description last"><p>128</p></td>
</tr>
</tbody>
</table>
<dl class="details">
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="consts.js.html">consts.js</a>, <a href="consts.js.html#line164">line 164</a>
</li></ul></dd>
</dl>
<h4 class="name" id="ButtonState">ButtonState</h4>
<h5 class="subsection-title">Properties:</h5>
<table class="props">
<thead>
<tr>
<th>Name</th>
<th>Type</th>
<th class="last">Description</th>
</tr>
</thead>
<tbody>
<tr>
<td class="name"><code>PRESSED</code></td>
<td class="type">
<span class="param-type">number</span>
</td>
<td class="description last"><p>2</p></td>
</tr>
<tr>
<td class="name"><code>RELEASED</code></td>
<td class="type">
<span class="param-type">number</span>
</td>
<td class="description last"><p>0</p></td>
</tr>
<tr>
<td class="name"><code>UP</code></td>
<td class="type">
<span class="param-type">number</span>
</td>
<td class="description last"><p>1</p></td>
</tr>
<tr>
<td class="name"><code>DOWN</code></td>
<td class="type">
<span class="param-type">number</span>
</td>
<td class="description last"><p>255</p></td>
</tr>
<tr>
<td class="name"><code>STOP</code></td>
<td class="type">
<span class="param-type">number</span>
</td>
<td class="description last"><p>127</p></td>
</tr>
</tbody>
</table>
<dl class="details">
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="consts.js.html">consts.js</a>, <a href="consts.js.html#line148">line 148</a>
</li></ul></dd>
</dl>
<h4 class="name" id="Color">Color</h4>
<h5 class="subsection-title">Properties:</h5>
<table class="props">
<thead>
<tr>
<th>Name</th>
<th>Type</th>
<th class="last">Description</th>
</tr>
</thead>
<tbody>
<tr>
<td class="name"><code>BLACK</code></td>
<td class="type">
<span class="param-type">number</span>
</td>
<td class="description last"><p>0</p></td>
</tr>
<tr>
<td class="name"><code>PINK</code></td>
<td class="type">
<span class="param-type">number</span>
</td>
<td class="description last"><p>1</p></td>
</tr>
<tr>
<td class="name"><code>PURPLE</code></td>
<td class="type">
<span class="param-type">number</span>
</td>
<td class="description last"><p>2</p></td>
</tr>
<tr>
<td class="name"><code>BLUE</code></td>
<td class="type">
<span class="param-type">number</span>
</td>
<td class="description last"><p>3</p></td>
</tr>
<tr>
<td class="name"><code>LIGHT_BLUE</code></td>
<td class="type">
<span class="param-type">number</span>
</td>
<td class="description last"><p>4</p></td>
</tr>
<tr>
<td class="name"><code>CYAN</code></td>
<td class="type">
<span class="param-type">number</span>
</td>
<td class="description last"><p>5</p></td>
</tr>
<tr>
<td class="name"><code>GREEN</code></td>
<td class="type">
<span class="param-type">number</span>
</td>
<td class="description last"><p>6</p></td>
</tr>
<tr>
<td class="name"><code>YELLOW</code></td>
<td class="type">
<span class="param-type">number</span>
</td>
<td class="description last"><p>7</p></td>
</tr>
<tr>
<td class="name"><code>ORANGE</code></td>
<td class="type">
<span class="param-type">number</span>
</td>
<td class="description last"><p>8</p></td>
</tr>
<tr>
<td class="name"><code>RED</code></td>
<td class="type">
<span class="param-type">number</span>
</td>
<td class="description last"><p>9</p></td>
</tr>
<tr>
<td class="name"><code>WHITE</code></td>
<td class="type">
<span class="param-type">number</span>
</td>
<td class="description last"><p>10</p></td>
</tr>
<tr>
<td class="name"><code>NONE</code></td>
<td class="type">
<span class="param-type">number</span>
</td>
<td class="description last"><p>255</p></td>
</tr>
</tbody>
</table>
<dl class="details">
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="consts.js.html">consts.js</a>, <a href="consts.js.html#line116">line 116</a>
</li></ul></dd>
</dl>
<h4 class="name" id="DeviceType">DeviceType</h4>
<h5 class="subsection-title">Properties:</h5>
<table class="props">
<thead>
<tr>
<th>Name</th>
<th>Type</th>
<th class="last">Description</th>
</tr>
</thead>
<tbody>
<tr>
<td class="name"><code>UNKNOWN</code></td>
<td class="type">
<span class="param-type">number</span>
</td>
<td class="description last"><p>0</p></td>
</tr>
<tr>
<td class="name"><code>SIMPLE_MEDIUM_LINEAR_MOTOR</code></td>
<td class="type">
<span class="param-type">number</span>
</td>
<td class="description last"><p>1</p></td>
</tr>
<tr>
<td class="name"><code>TRAIN_MOTOR</code></td>
<td class="type">
<span class="param-type">number</span>
</td>
<td class="description last"><p>2</p></td>
</tr>
<tr>
<td class="name"><code>LIGHT</code></td>
<td class="type">
<span class="param-type">number</span>
</td>
<td class="description last"><p>8</p></td>
</tr>
<tr>
<td class="name"><code>VOLTAGE_SENSOR</code></td>
<td class="type">
<span class="param-type">number</span>
</td>
<td class="description last"><p>20</p></td>
</tr>
<tr>
<td class="name"><code>CURRENT_SENSOR</code></td>
<td class="type">
<span class="param-type">number</span>
</td>
<td class="description last"><p>21</p></td>
</tr>
<tr>
<td class="name"><code>PIEZO_BUZZER</code></td>
<td class="type">
<span class="param-type">number</span>
</td>
<td class="description last"><p>22</p></td>
</tr>
<tr>
<td class="name"><code>HUB_LED</code></td>
<td class="type">
<span class="param-type">number</span>
</td>
<td class="description last"><p>23</p></td>
</tr>
<tr>
<td class="name"><code>TILT_SENSOR</code></td>
<td class="type">
<span class="param-type">number</span>
</td>
<td class="description last"><p>34</p></td>
</tr>
<tr>
<td class="name"><code>MOTION_SENSOR</code></td>
<td class="type">
<span class="param-type">number</span>
</td>
<td class="description last"><p>35</p></td>
</tr>
<tr>
<td class="name"><code>COLOR_DISTANCE_SENSOR</code></td>
<td class="type">
<span class="param-type">number</span>
</td>
<td class="description last"><p>37</p></td>
</tr>
<tr>
<td class="name"><code>MEDIUM_LINEAR_MOTOR</code></td>
<td class="type">
<span class="param-type">number</span>
</td>
<td class="description last"><p>38</p></td>
</tr>
<tr>
<td class="name"><code>MOVE_HUB_MEDIUM_LINEAR_MOTOR</code></td>
<td class="type">
<span class="param-type">number</span>
</td>
<td class="description last"><p>39</p></td>
</tr>
<tr>
<td class="name"><code>MOVE_HUB_TILT_SENSOR</code></td>
<td class="type">
<span class="param-type">number</span>
</td>
<td class="description last"><p>40</p></td>
</tr>
<tr>
<td class="name"><code>DUPLO_TRAIN_BASE_MOTOR</code></td>
<td class="type">
<span class="param-type">number</span>
</td>
<td class="description last"><p>41</p></td>
</tr>
<tr>
<td class="name"><code>DUPLO_TRAIN_BASE_SPEAKER</code></td>
<td class="type">
<span class="param-type">number</span>
</td>
<td class="description last"><p>42</p></td>
</tr>
<tr>
<td class="name"><code>DUPLO_TRAIN_BASE_COLOR_SENSOR</code></td>
<td class="type">
<span class="param-type">number</span>
</td>
<td class="description last"><p>43</p></td>
</tr>
<tr>
<td class="name"><code>DUPLO_TRAIN_BASE_SPEEDOMETER</code></td>
<td class="type">
<span class="param-type">number</span>
</td>
<td class="description last"><p>44</p></td>
</tr>
<tr>
<td class="name"><code>TECHNIC_LARGE_LINEAR_MOTOR</code></td>
<td class="type">
<span class="param-type">number</span>
</td>
<td class="description last"><p>46</p></td>
</tr>
<tr>
<td class="name"><code>TECHNIC_XLARGE_LINEAR_MOTOR</code></td>
<td class="type">
<span class="param-type">number</span>
</td>
<td class="description last"><p>47</p></td>
</tr>
<tr>
<td class="name"><code>TECHNIC_MEDIUM_ANGULAR_MOTOR</code></td>
<td class="type">
<span class="param-type">number</span>
</td>
<td class="description last"><p>48</p></td>
</tr>
<tr>
<td class="name"><code>TECHNIC_LARGE_ANGULAR_MOTOR</code></td>
<td class="type">
<span class="param-type">number</span>
</td>
<td class="description last"><p>49</p></td>
</tr>
<tr>
<td class="name"><code>TECHNIC_MEDIUM_HUB_GEST_SENSOR</code></td>
<td class="type">
<span class="param-type">number</span>
</td>
<td class="description last"><p>54</p></td>
</tr>
<tr>
<td class="name"><code>REMOTE_CONTROL_BUTTON</code></td>
<td class="type">
<span class="param-type">number</span>
</td>
<td class="description last"><p>55</p></td>
</tr>
<tr>
<td class="name"><code>REMOTE_CONTROL_RSSI</code></td>
<td class="type">
<span class="param-type">number</span>
</td>
<td class="description last"><p>56</p></td>
</tr>
<tr>
<td class="name"><code>TECHNIC_MEDIUM_HUB_ACCELEROMETER</code></td>
<td class="type">
<span class="param-type">number</span>
</td>
<td class="description last"><p>57</p></td>
</tr>
<tr>
<td class="name"><code>TECHNIC_MEDIUM_HUB_GYRO_SENSOR</code></td>
<td class="type">
<span class="param-type">number</span>
</td>
<td class="description last"><p>58</p></td>
</tr>
<tr>
<td class="name"><code>TECHNIC_MEDIUM_HUB_TILT_SENSOR</code></td>
<td class="type">
<span class="param-type">number</span>
</td>
<td class="description last"><p>59</p></td>
</tr>
<tr>
<td class="name"><code>TECHNIC_MEDIUM_HUB_TEMPERATURE_SENSOR</code></td>
<td class="type">
<span class="param-type">number</span>
</td>
<td class="description last"><p>60</p></td>
</tr>
<tr>
<td class="name"><code>TECHNIC_COLOR_SENSOR</code></td>
<td class="type">
<span class="param-type">number</span>
</td>
<td class="description last"><p>61</p></td>
</tr>
<tr>
<td class="name"><code>TECHNIC_DISTANCE_SENSOR</code></td>
<td class="type">
<span class="param-type">number</span>
</td>
<td class="description last"><p>62</p></td>
</tr>
<tr>
<td class="name"><code>TECHNIC_FORCE_SENSOR</code></td>
<td class="type">
<span class="param-type">number</span>
</td>
<td class="description last"><p>63</p></td>
</tr>
<tr>
<td class="name"><code>TECHNIC_3X3_COLOR_LIGHT_MATRIX</code></td>
<td class="type">
<span class="param-type">number</span>
</td>
<td class="description last"><p>64</p></td>
</tr>
<tr>
<td class="name"><code>TECHNIC_SMALL_ANGULAR_MOTOR</code></td>
<td class="type">
<span class="param-type">number</span>
</td>
<td class="description last"><p>65</p></td>
</tr>
<tr>
<td class="name"><code>MARIO_ACCELEROMETER</code></td>
<td class="type">
<span class="param-type">number</span>
</td>
<td class="description last"><p>71</p></td>
</tr>
<tr>
<td class="name"><code>MARIO_BARCODE_SENSOR</code></td>
<td class="type">
<span class="param-type">number</span>
</td>
<td class="description last"><p>73</p></td>
</tr>
<tr>
<td class="name"><code>MARIO_PANTS_SENSOR</code></td>
<td class="type">
<span class="param-type">number</span>
</td>
<td class="description last"><p>74</p></td>
</tr>
<tr>
<td class="name"><code>TECHNIC_MEDIUM_ANGULAR_MOTOR_GREY</code></td>
<td class="type">
<span class="param-type">number</span>
</td>
<td class="description last"><p>75</p></td>
</tr>
<tr>
<td class="name"><code>TECHNIC_LARGE_ANGULAR_MOTOR_GREY</code></td>
<td class="type">
<span class="param-type">number</span>
</td>
<td class="description last"><p>76</p></td>
</tr>
</tbody>
</table>
<dl class="details">
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="consts.js.html">consts.js</a>, <a href="consts.js.html#line30">line 30</a>
</li></ul></dd>
</dl>
<h4 class="name" id="DuploTrainBaseSound">DuploTrainBaseSound</h4>
<h5 class="subsection-title">Properties:</h5>
<table class="props">
<thead>
<tr>
<th>Name</th>
<th>Type</th>
<th class="last">Description</th>
</tr>
</thead>
<tbody>
<tr>
<td class="name"><code>BRAKE</code></td>
<td class="type">
<span class="param-type">number</span>
</td>
<td class="description last"><p>3</p></td>
</tr>
<tr>
<td class="name"><code>STATION_DEPARTURE</code></td>
<td class="type">
<span class="param-type">number</span>
</td>
<td class="description last"><p>5</p></td>
</tr>
<tr>
<td class="name"><code>WATER_REFILL</code></td>
<td class="type">
<span class="param-type">number</span>
</td>
<td class="description last"><p>7</p></td>
</tr>
<tr>
<td class="name"><code>HORN</code></td>
<td class="type">
<span class="param-type">number</span>
</td>
<td class="description last"><p>9</p></td>
</tr>
<tr>
<td class="name"><code>STEAM</code></td>
<td class="type">
<span class="param-type">number</span>
</td>
<td class="description last"><p>10</p></td>
</tr>
</tbody>
</table>
<dl class="details">
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="consts.js.html">consts.js</a>, <a href="consts.js.html#line176">line 176</a>
</li></ul></dd>
</dl>
<h4 class="name" id="ErrorCode">ErrorCode</h4>
<div class="description">
<p>https://lego.github.io/lego-ble-wireless-protocol-docs/index.html#error-codes</p>
</div>
<dl class="details">
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="consts.js.html">consts.js</a>, <a href="consts.js.html#line490">line 490</a>
</li></ul></dd>
</dl>
<h4 class="name" id="Event">Event</h4>
<div class="description">
<p>https://lego.github.io/lego-ble-wireless-protocol-docs/index.html#event</p>
</div>
<dl class="details">
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="consts.js.html">consts.js</a>, <a href="consts.js.html#line442">line 442</a>
</li></ul></dd>
</dl>
<h4 class="name" id="HWNetWorkCommandType">HWNetWorkCommandType</h4>
<div class="description">
<p>https://lego.github.io/lego-ble-wireless-protocol-docs/index.html#h-w-network-command-type</p>
</div>
<dl class="details">
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="consts.js.html">consts.js</a>, <a href="consts.js.html#line513">line 513</a>
</li></ul></dd>
</dl>
<h4 class="name" id="HWNetworkFamily">HWNetworkFamily</h4>
<div class="description">
<p>https://lego.github.io/lego-ble-wireless-protocol-docs/index.html#h-w-network-family</p>
</div>
<dl class="details">
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="consts.js.html">consts.js</a>, <a href="consts.js.html#line546">line 546</a>
</li></ul></dd>
</dl>
<h4 class="name" id="HWNetworkSubFamily">HWNetworkSubFamily</h4>
<div class="description">
<p>https://lego.github.io/lego-ble-wireless-protocol-docs/index.html#h-w-network-sub-family</p>
</div>
<dl class="details">
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="consts.js.html">consts.js</a>, <a href="consts.js.html#line571">line 571</a>
</li></ul></dd>
</dl>
<h4 class="name" id="HubPropertyOperation">HubPropertyOperation</h4>
<div class="description">
<p>https://lego.github.io/lego-ble-wireless-protocol-docs/index.html#hub-property-reference</p>
</div>
<dl class="details">
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="consts.js.html">consts.js</a>, <a href="consts.js.html#line318">line 318</a>
</li></ul></dd>
</dl>
<h4 class="name" id="HubPropertyPayload">HubPropertyPayload</h4>
<div class="description">
<p>https://lego.github.io/lego-ble-wireless-protocol-docs/index.html#hub-property-reference</p>
</div>
<dl class="details">
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="consts.js.html">consts.js</a>, <a href="consts.js.html#line337">line 337</a>
</li></ul></dd>
</dl>
<h4 class="name" id="HubPropertyReference">HubPropertyReference</h4>
<div class="description">
<p>https://lego.github.io/lego-ble-wireless-protocol-docs/index.html#hub-property-reference</p>
</div>
<dl class="details">
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="consts.js.html">consts.js</a>, <a href="consts.js.html#line281">line 281</a>
</li></ul></dd>
</dl>
<h4 class="name" id="HubType">HubType</h4>
<h5 class="subsection-title">Properties:</h5>
<table class="props">
<thead>
<tr>
<th>Name</th>
<th>Type</th>
<th class="last">Description</th>
</tr>
</thead>
<tbody>
<tr>
<td class="name"><code>UNKNOWN</code></td>
<td class="type">
<span class="param-type">number</span>
</td>
<td class="description last"><p>0</p></td>
</tr>
<tr>
<td class="name"><code>WEDO2_SMART_HUB</code></td>
<td class="type">
<span class="param-type">number</span>
</td>
<td class="description last"><p>1</p></td>
</tr>
<tr>
<td class="name"><code>MOVE_HUB</code></td>
<td class="type">
<span class="param-type">number</span>
</td>
<td class="description last"><p>2</p></td>
</tr>
<tr>
<td class="name"><code>HUB</code></td>
<td class="type">
<span class="param-type">number</span>
</td>
<td class="description last"><p>3</p></td>
</tr>
<tr>
<td class="name"><code>REMOTE_CONTROL</code></td>
<td class="type">
<span class="param-type">number</span>
</td>
<td class="description last"><p>4</p></td>
</tr>
<tr>
<td class="name"><code>DUPLO_TRAIN_BASE</code></td>
<td class="type">
<span class="param-type">number</span>
</td>
<td class="description last"><p>5</p></td>
</tr>
<tr>
<td class="name"><code>TECHNIC_MEDIUM_HUB</code></td>
<td class="type">
<span class="param-type">number</span>
</td>
<td class="description last"><p>6</p></td>
</tr>
<tr>
<td class="name"><code>MARIO</code></td>
<td class="type">
<span class="param-type">number</span>
</td>
<td class="description last"><p>7</p></td>
</tr>
<tr>
<td class="name"><code>TECHNIC_SMALL_HUB</code></td>
<td class="type">
<span class="param-type">number</span>
</td>
<td class="description last"><p>8</p></td>
</tr>
</tbody>
</table>
<dl class="details">
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="consts.js.html">consts.js</a>, <a href="consts.js.html#line4">line 4</a>
</li></ul></dd>
</dl>
<h4 class="name" id="IOTypeID">IOTypeID</h4>
<div class="description">
<p>https://lego.github.io/lego-ble-wireless-protocol-docs/index.html#io-type-id</p>
</div>
<dl class="details">
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="consts.js.html">consts.js</a>, <a href="consts.js.html#line455">line 455</a>
</li></ul></dd>
</dl>
<h4 class="name" id="MarioColor">MarioColor</h4>
<dl class="details">
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="consts.js.html">consts.js</a>, <a href="consts.js.html#line656">line 656</a>
</li></ul></dd>
</dl>
<h4 class="name" id="MarioPantsType">MarioPantsType</h4>
<dl class="details">
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="consts.js.html">consts.js</a>, <a href="consts.js.html#line638">line 638</a>
</li></ul></dd>
</dl>
<h4 class="name" id="MessageType">MessageType</h4>
<div class="description">
<p>https://lego.github.io/lego-ble-wireless-protocol-docs/index.html#message-types</p>
</div>
<h5 class="subsection-title">Properties:</h5>
<table class="props">
<thead>
<tr>
<th>Name</th>
<th>Type</th>
<th class="last">Description</th>
</tr>
</thead>
<tbody>
<tr>
<td class="name"><code>HUB_PROPERTIES</code></td>
<td class="type">
<span class="param-type">number</span>
</td>
<td class="description last"><p>0x01</p></td>
</tr>
<tr>
<td class="name"><code>HUB_ACTIONS</code></td>
<td class="type">
<span class="param-type">number</span>
</td>
<td class="description last"><p>0x02</p></td>
</tr>
<tr>
<td class="name"><code>HUB_ALERTS</code></td>
<td class="type">
<span class="param-type">number</span>
</td>
<td class="description last"><p>0x03</p></td>
</tr>
<tr>
<td class="name"><code>HUB_ATTACHED_IO</code></td>
<td class="type">
<span class="param-type">number</span>
</td>
<td class="description last"><p>0x04</p></td>
</tr>
<tr>
<td class="name"><code>GENERIC_ERROR_MESSAGES</code></td>
<td class="type">
<span class="param-type">number</span>
</td>
<td class="description last"><p>0x05</p></td>
</tr>
<tr>
<td class="name"><code>HW_NETWORK_COMMANDS</code></td>
<td class="type">
<span class="param-type">number</span>
</td>
<td class="description last"><p>0x08</p></td>
</tr>
<tr>
<td class="name"><code>FW_UPDATE_GO_INTO_BOOT_MODE</code></td>
<td class="type">
<span class="param-type">number</span>
</td>
<td class="description last"><p>0x10</p></td>
</tr>
<tr>
<td class="name"><code>FW_UPDATE_LOCK_MEMORY</code></td>
<td class="type">
<span class="param-type">number</span>
</td>
<td class="description last"><p>0x11</p></td>
</tr>
<tr>
<td class="name"><code>FW_UPDATE_LOCK_STATUS_REQUEST</code></td>
<td class="type">
<span class="param-type">number</span>
</td>
<td class="description last"><p>0x12</p></td>
</tr>
<tr>
<td class="name"><code>FW_LOCK_STATUS</code></td>
<td class="type">
<span class="param-type">number</span>
</td>
<td class="description last"><p>0x13</p></td>
</tr>
<tr>
<td class="name"><code>PORT_INFORMATION_REQUEST</code></td>
<td class="type">
<span class="param-type">number</span>
</td>
<td class="description last"><p>0x21</p></td>
</tr>
<tr>
<td class="name"><code>PORT_MODE_INFORMATION_REQUEST</code></td>
<td class="type">
<span class="param-type">number</span>
</td>
<td class="description last"><p>0x22</p></td>
</tr>
<tr>
<td class="name"><code>PORT_INPUT_FORMAT_SETUP_SINGLE</code></td>
<td class="type">
<span class="param-type">number</span>
</td>
<td class="description last"><p>0x41</p></td>
</tr>
<tr>
<td class="name"><code>PORT_INPUT_FORMAT_SETUP_COMBINEDMODE</code></td>
<td class="type">
<span class="param-type">number</span>
</td>
<td class="description last"><p>0x42</p></td>
</tr>
<tr>
<td class="name"><code>PORT_INFORMATION</code></td>
<td class="type">
<span class="param-type">number</span>
</td>
<td class="description last"><p>0x43</p></td>
</tr>
<tr>
<td class="name"><code>PORT_MODE_INFORMATION</code></td>
<td class="type">
<span class="param-type">number</span>
</td>
<td class="description last"><p>0x44</p></td>
</tr>
<tr>
<td class="name"><code>PORT_VALUE_SINGLE</code></td>
<td class="type">
<span class="param-type">number</span>
</td>
<td class="description last"><p>0x45</p></td>
</tr>
<tr>
<td class="name"><code>PORT_VALUE_COMBINEDMODE</code></td>
<td class="type">
<span class="param-type">number</span>
</td>
<td class="description last"><p>0x46</p></td>
</tr>
<tr>
<td class="name"><code>PORT_INPUT_FORMAT_SINGLE</code></td>
<td class="type">
<span class="param-type">number</span>
</td>
<td class="description last"><p>0x47</p></td>
</tr>
<tr>
<td class="name"><code>PORT_INPUT_FORMAT_COMBINEDMODE</code></td>
<td class="type">
<span class="param-type">number</span>
</td>
<td class="description last"><p>0x48</p></td>
</tr>
<tr>
<td class="name"><code>VIRTUAL_PORT_SETUP</code></td>
<td class="type">
<span class="param-type">number</span>
</td>
<td class="description last"><p>0x61</p></td>
</tr>
<tr>
<td class="name"><code>PORT_OUTPUT_COMMAND</code></td>
<td class="type">
<span class="param-type">number</span>
</td>
<td class="description last"><p>0x81</p></td>
</tr>
<tr>
<td class="name"><code>PORT_OUTPUT_COMMAND_FEEDBACK</code></td>
<td class="type">
<span class="param-type">number</span>
</td>
<td class="description last"><p>0x82</p></td>
</tr>
</tbody>
</table>
<dl class="details">
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="consts.js.html">consts.js</a>, <a href="consts.js.html#line228">line 228</a>
</li></ul></dd>
</dl>
<h4 class="name" id="ModeInformationType">ModeInformationType</h4>
<div class="description">
<p>https://lego.github.io/lego-ble-wireless-protocol-docs/index.html#mode-information-types</p>
</div>
<dl class="details">
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="consts.js.html">consts.js</a>, <a href="consts.js.html#line592">line 592</a>
</li></ul></dd>
</dl>
<h4 class="name" id="PortInputFormatSetupSubCommand">PortInputFormatSetupSubCommand</h4>
<div class="description">
<p>https://lego.github.io/lego-ble-wireless-protocol-docs/index.html#port-input-format-setup-sub-commands</p>
</div>
<dl class="details">
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="consts.js.html">consts.js</a>, <a href="consts.js.html#line619">line 619</a>
</li></ul></dd>
</dl>
</article>
</section>
</div>
<nav>
<h2><a href="index.html">Home</a></h2><h3>Classes</h3><ul><li><a href="AbsoluteMotor.html">AbsoluteMotor</a></li><li><a href="BaseHub.html">BaseHub</a></li><li><a href="BasicMotor.html">BasicMotor</a></li><li><a href="ColorDistanceSensor.html">ColorDistanceSensor</a></li><li><a href="CurrentSensor.html">CurrentSensor</a></li><li><a href="Device.html">Device</a></li><li><a href="DuploTrainBase.html">DuploTrainBase</a></li><li><a href="DuploTrainBaseColorSensor.html">DuploTrainBaseColorSensor</a></li><li><a href="DuploTrainBaseMotor.html">DuploTrainBaseMotor</a></li><li><a href="DuploTrainBaseSpeaker.html">DuploTrainBaseSpeaker</a></li><li><a href="DuploTraniBaseSpeedometer.html">DuploTraniBaseSpeedometer</a></li><li><a href="Hub.html">Hub</a></li><li><a href="HubLED.html">HubLED</a></li><li><a href="LPF2Hub.html">LPF2Hub</a></li><li><a href="Light.html">Light</a></li><li><a href="Mario.html">Mario</a></li><li><a href="MarioAccelerometer.html">MarioAccelerometer</a></li><li><a href="MarioBarcodeSensor.html">MarioBarcodeSensor</a></li><li><a href="MarioPantsSensor.html">MarioPantsSensor</a></li><li><a href="MediumLinearMotor.html">MediumLinearMotor</a></li><li><a href="MotionSensor.html">MotionSensor</a></li><li><a href="MoveHub.html">MoveHub</a></li><li><a href="MoveHubMediumLinearMotor.html">MoveHubMediumLinearMotor</a></li><li><a href="MoveHubTiltSensor.html">MoveHubTiltSensor</a></li><li><a href="PiezoBuzzer.html">PiezoBuzzer</a></li><li><a href="PoweredUP.html">PoweredUP</a></li><li><a href="RemoteControl.html">RemoteControl</a></li><li><a href="RemoteControlButton.html">RemoteControlButton</a></li><li><a href="SimpleMediumLinearMotor.html">SimpleMediumLinearMotor</a></li><li><a href="TachoMotor.html">TachoMotor</a></li><li><a href="Technic3x3ColorLightMatrix.html">Technic3x3ColorLightMatrix</a></li><li><a href="TechnicColorSensor.html">TechnicColorSensor</a></li><li><a href="TechnicDistanceSensor.html">TechnicDistanceSensor</a></li><li><a href="TechnicForceSensor.html">TechnicForceSensor</a></li><li><a href="TechnicLargeAngularMotor.html">TechnicLargeAngularMotor</a></li><li><a href="TechnicLargeLinearMotor.html">TechnicLargeLinearMotor</a></li><li><a href="TechnicMediumAngularMotor.html">TechnicMediumAngularMotor</a></li><li><a href="TechnicMediumHub.html">TechnicMediumHub</a></li><li><a href="TechnicMediumHubAccelerometerSensor.html">TechnicMediumHubAccelerometerSensor</a></li><li><a href="TechnicMediumHubGyroSensor.html">TechnicMediumHubGyroSensor</a></li><li><a href="TechnicMediumHubTiltSensor.html">TechnicMediumHubTiltSensor</a></li><li><a href="TechnicSmallAngularMotor.html">TechnicSmallAngularMotor</a></li><li><a href="TechnicXLargeLinearMotor.html">TechnicXLargeLinearMotor</a></li><li><a href="TiltSensor.html">TiltSensor</a></li><li><a href="TrainMotor.html">TrainMotor</a></li><li><a href="VoltageSensor.html">VoltageSensor</a></li><li><a href="WeDo2SmartHub.html">WeDo2SmartHub</a></li></ul><h3>Events</h3><ul><li><a href="AbsoluteMotor.html#event:absolute">absolute</a></li><li><a href="AbsoluteMotor.html#event:rotate">rotate</a></li><li><a href="ColorDistanceSensor.html#event:ambient">ambient</a></li><li><a href="ColorDistanceSensor.html#event:color">color</a></li><li><a href="ColorDistanceSensor.html#event:colorAndDistance">colorAndDistance</a></li><li><a href="ColorDistanceSensor.html#event:distance">distance</a></li><li><a href="ColorDistanceSensor.html#event:distanceCount">distanceCount</a></li><li><a href="ColorDistanceSensor.html#event:reflect">reflect</a></li><li><a href="ColorDistanceSensor.html#event:rgbIntensity">rgbIntensity</a></li><li><a href="CurrentSensor.html#event:current">current</a></li><li><a href="DuploTrainBase.html#event:button">button</a></li><li><a href="DuploTrainBaseColorSensor.html#event:color">color</a></li><li><a href="DuploTrainBaseColorSensor.html#event:intensity">intensity</a></li><li><a href="DuploTrainBaseColorSensor.html#event:reflect">reflect</a></li><li><a href="DuploTrainBaseColorSensor.html#event:rgb">rgb</a></li><li><a href="DuploTrainBaseSpeedometer.html#event:speed">speed</a></li><li><a href="Hub.html#event:attach">attach</a></li><li><a href="Hub.html#event:button">button</a></li><li><a href="Hub.html#event:detach">detach</a></li><li><a href="Hub.html#event:disconnect">disconnect</a></li><li><a href="LPF2Hub.html#event:button">button</a></li><li><a href="Mario.html#event:button">button</a></li><li><a href="MarioAccelerometer.html#event:accel">accel</a></li><li><a href="MarioAccelerometer.html#event:gest">gest</a></li><li><a href="MarioBarcodeSensor.html#event:barcode">barcode</a></li><li><a href="MarioBarcodeSensor.html#event:rgb">rgb</a></li><li><a href="MarioPantsSensor.html#event:pants">pants</a></li><li><a href="MediumLinearMotor.html#event:rotate">rotate</a></li><li><a href="MotionSensor.html#event:distance">distance</a></li><li><a href="MoveHub.html#event:button">button</a></li><li><a href="MoveHubMediumLinearMotor.html#event:rotate">rotate</a></li><li><a href="MoveHubTiltSensor.html#event:tilt">tilt</a></li><li><a href="PoweredUP.html#event:discover">discover</a></li><li><a href="RemoteControl.html#event:button">button</a></li><li><a href="RemoteControlButton.html#event:button">button</a></li><li><a href="TachoMotor.html#event:rotate">rotate</a></li><li><a href="TechnicColorSensor.html#event:ambient">ambient</a></li><li><a href="TechnicColorSensor.html#event:color">color</a></li><li><a href="TechnicColorSensor.html#event:reflect">reflect</a></li><li><a href="TechnicDistanceSensor.html#event:distance">distance</a></li><li><a href="TechnicDistanceSensor.html#event:fastDistance">fastDistance</a></li><li><a href="TechnicForceSensor.html#event:force">force</a></li><li><a href="TechnicForceSensor.html#event:tapped">tapped</a></li><li><a href="TechnicForceSensor.html#event:touch">touch</a></li><li><a href="TechnicLargeAngularMotor.html#event:absolute">absolute</a></li><li><a href="TechnicLargeAngularMotor.html#event:rotate">rotate</a></li><li><a href="TechnicLargeLinearMotor.html#event:absolute">absolute</a></li><li><a href="TechnicLargeLinearMotor.html#event:rotate">rotate</a></li><li><a href="TechnicMediumAngularMotor.html#event:absolute">absolute</a></li><li><a href="TechnicMediumAngularMotor.html#event:rotate">rotate</a></li><li><a href="TechnicMediumHub.html#event:button">button</a></li><li><a href="TechnicMediumHubAccelerometerSensor.html#event:accel">accel</a></li><li><a href="TechnicMediumHubGyroSensor.html#event:gyro">gyro</a></li><li><a href="TechnicMediumHubTiltSensor.html#event:impactCount">impactCount</a></li><li><a href="TechnicMediumHubTiltSensor.html#event:tilt">tilt</a></li><li><a href="TechnicSmallAngularMotor.html#event:absolute">absolute</a></li><li><a href="TechnicSmallAngularMotor.html#event:rotate">rotate</a></li><li><a href="TechnicXLargeLinearMotor.html#event:absolute">absolute</a></li><li><a href="TechnicXLargeLinearMotor.html#event:rotate">rotate</a></li><li><a href="TiltSensor.html#event:tilt">tilt</a></li><li><a href="VoltageSensor.html#event:voltage">voltage</a></li><li><a href="WeDo2SmartHub.html#event:button">button</a></li></ul><h3><a href="global.html">Global</a></h3>
</nav>
<br class="clear">
<footer>
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 4.0.2</a> on Thu Apr 25 2024 16:38:07 GMT-0700 (Pacific Daylight Time)
</footer>
<script> prettyPrint(); </script>
<script src="scripts/linenumber.js"> </script>
</body>
</html>