summaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
authorRomain Forlot <romain.forlot@iot.bzh>2017-09-22 18:16:57 +0200
committerRomain Forlot <romain.forlot@iot.bzh>2017-12-14 11:00:25 +0100
commit51ee5299a7db41e52da2cf52dd9cd9c05b76740a (patch)
treeecdc922c7c7573ddb0dc091c9cbc3b111a0cc981 /plugins
parenta758f4a632adc7fff4769d97379264de6c68685d (diff)
Finalize subscription to be a simple relay for now
Adding new object holding signals subscribed and afb event that observes Signals using Reactive response observer design pattern Change-Id: I96647d36e0d27c25a399c1b3789621a803a845b6 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
Diffstat (limited to 'plugins')
-rw-r--r--plugins/low-can.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/low-can.cpp b/plugins/low-can.cpp
index c1fbd60..62f10f3 100644
--- a/plugins/low-can.cpp
+++ b/plugins/low-can.cpp
@@ -129,7 +129,7 @@ CTLP_CAPI (subscribeToLow, source, argsJ, eventJ, context) {
CTLP_CAPI (isOpen, source, argsJ, eventJ, context) {
const char *eventName = nullptr;
int eventStatus;
- double timestamp;
+ uint64_t timestamp;
lowCANCtxT *pluginCtx=(lowCANCtxT*)source->context;
int err = wrap_json_unpack(eventJ, "{ss,sb,s?F}",