node-red-node-physical-web: Added msg.advertising = true/false to enable/disable advertising (#204)

* Added msg.advertising = true/false to enable/disable advertising

* Fixed comparison with bool
This commit is contained in:
Nathanaël Lécaudé
2016-05-02 16:58:40 -04:00
committed by Dave Conway-Jones
parent 32282ec528
commit b0c5c8c8f4
2 changed files with 41 additions and 3 deletions

View File

@@ -136,6 +136,9 @@
For example, to set a 20ms interval, you would need to type <code>sudo BLENO_ADVERTISING_INTERVAL=20 node-red</code></p>
<p>Linux users should <a href="https://github.com/sandeepmistry/bleno#running-on-linux" target="_new">READ THIS</a>.</p>
<p>Sending <code>msg.advestising = false</code> will stop advertisement, sending <code>msg.advestising = true</code> will
resume it.</p>
</script>
<script type="text/javascript">