You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/locales/en-US/generic-ble.html
+18-2Lines changed: 18 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -22,12 +22,28 @@ <h3>Inputs</h3>
22
22
<p>
23
23
Expects a message used for peripheral connecting/disconnecting operation, triggering <code>Read</code> operation, or subscribing <code>Notify</code> events.
24
24
<dl>
25
-
<dt>For <code>Connect</code> operation:</dt>
25
+
<dt>For <code>scanStart</code> operation:</dt>
26
+
<dd>
27
+
In order to start BLE scanning to discover peripheral devices, set <code>msg.topic</code> to <code>scanStart</code>.
28
+
<code>msg.payload</code> is always ignored. This operation doesn't emit anything from the Output port.
29
+
</dd>
30
+
<dt>For <code>scanStop</code> operation:</dt>
31
+
<dd>
32
+
In order to stop BLE scanning, set <code>msg.topic</code> to <code>scanStop</code>.
33
+
<code>msg.payload</code> is always ignored. This operation doesn't emit anything from the Output port.
34
+
</dd>
35
+
<dt>For <code>scanRestart</code> operation:</dt>
36
+
<dd>
37
+
In order to restart BLE scanning, set <code>msg.topic</code> to <code>scanRestart</code>.
38
+
This operation performs <code>ScanStop</code> then <code>ScanStart</code>.
39
+
<code>msg.payload</code> is always ignored. This operation doesn't emit anything from the Output port.
40
+
</dd>
41
+
<dt>For <code>connect</code> operation:</dt>
26
42
<dd>
27
43
In order to connect a peripheral device, set <code>msg.topic</code> to <code>connect</code>.
28
44
<code>msg.payload</code> is always ignored. This operation doesn't emit anything from the Output port.
29
45
</dd>
30
-
<dt>For <code>Disonnect</code> operation:</dt>
46
+
<dt>For <code>disconnect</code> operation:</dt>
31
47
<dd>
32
48
In order to disconnect a peripheral device, set <code>msg.topic</code> to <code>disconnect</code>.
33
49
<code>msg.payload</code> is always ignored. This operation doesn't emit anything from the Output port.
0 commit comments