From 966e7a520b1fac9ad7d8ce3526e51fc77e8de65a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nathana=C3=ABl=20L=C3=A9caud=C3=A9?= Date: Fri, 20 May 2016 11:00:52 -0400 Subject: [PATCH] Physical-web: Added status (found, updated and lost) as msg.topic (#206) Added msg.advertising = true/false to enable/disable advertising Added status (lost, updated, found) as msg.topic, if not already set Added checkbox to allow duplicates or not. * Re-added optional topic to avoid breaking compatibility * Cleaner topic slection --- hardware/physical-web/package.json | 2 +- hardware/physical-web/physical-web.html | 55 ++++++++++++++----------- hardware/physical-web/physical-web.js | 24 +++++++---- 3 files changed, 48 insertions(+), 33 deletions(-) diff --git a/hardware/physical-web/package.json b/hardware/physical-web/package.json index 18801f81..958d90bf 100644 --- a/hardware/physical-web/package.json +++ b/hardware/physical-web/package.json @@ -1,6 +1,6 @@ { "name": "node-red-node-physical-web", - "version": "0.0.12", + "version": "0.0.13", "description": "Node-RED nodes to interact with the Physical Web", "main": "physical-web.js", "scripts": { diff --git a/hardware/physical-web/physical-web.html b/hardware/physical-web/physical-web.html index 381d20d0..4cb548b3 100644 --- a/hardware/physical-web/physical-web.html +++ b/hardware/physical-web/physical-web.html @@ -15,7 +15,11 @@ -
+
+ + + Check this to allow duplicate messages +
@@ -24,33 +28,35 @@