projects
/
openhab-process.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
33e4de6
)
Незначительные исправления в обработке строк
author
Roman Bazalevskiy
<rvb@rvb.name>
Sun, 16 Sep 2018 18:30:33 +0000
(21:30 +0300)
committer
Roman Bazalevskiy
<rvb@rvb.name>
Sun, 16 Sep 2018 18:30:33 +0000
(21:30 +0300)
mqtt-bt/scan-beacons
patch
|
blob
|
history
diff --git
a/mqtt-bt/scan-beacons
b/mqtt-bt/scan-beacons
index 17e553308c15a067544f4b337a62603469215b39..fd50f9d06acdbd83d3d93f78059b8bb5ca66f630 100644
(file)
--- a/
mqtt-bt/scan-beacons
+++ b/
mqtt-bt/scan-beacons
@@
-64,7
+64,7
@@
end
function printLog(str)
if logging=="yes" then
- capture("logger -t beaconmon
"..str
)
+ capture("logger -t beaconmon
\""..str.."\""
)
else
print(str)
end
@@
-101,7
+101,7
@@
end
function mqtt_pub(path,value)
res=mqtt_client:publish(path,value)
- printLog("Pub "..path.."
"..value.."
returned "..res);
+ printLog("Pub "..path.." returned "..res);
return res
end