From 847f0731c81498511fd6e08584f6b7e5ac04f68f Mon Sep 17 00:00:00 2001 From: Jon Maddox Date: Wed, 24 Jun 2015 22:20:12 -0400 Subject: [PATCH] read in the onRead --- app.js | 1 + 1 file changed, 1 insertion(+) diff --git a/app.js b/app.js index 15828ab..4f94b23 100644 --- a/app.js +++ b/app.js @@ -123,6 +123,7 @@ function createHAPServer(name, services) { //loop through characteristics for (var k = 0; k < services[j].characteristics.length; k++) { var options = { + onRead: services[j].characteristics[k].onRead, type: services[j].characteristics[k].cType, perms: services[j].characteristics[k].perms, format: services[j].characteristics[k].format,