This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
### | |
# Register Export Client | |
### | |
printf "\n> Registering Export Client\n" | |
curl http://localhost:48071/api/v1/registration -X POST -s -S -d @- <<EOF | |
{ | |
"name":"myMqttPublisher", | |
"addressable":{ | |
"name":"myMqttBroker", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
### | |
# Add Events | |
### | |
printf "\n> Creating Events\n" | |
curl http://localhost:48080/api/v1/event -X POST -s -S -d @- <<EOF | |
{ | |
"device":"countcamera1", | |
"readings":[ | |
{ | |
"name":"humancount", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
curl http://localhost:48082/api/v1/device/5b8ae4da6b950a5e3c029f6f/command/5b8ae0c16b950a5e3c029f6a -X PUT -s -S -d @- <<EOF | |
{ | |
"depth":"9" | |
} | |
EOF |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"id": "5b8ae4da6b950a5e3c029f6f", | |
"name": "countcamera1", | |
"adminState": "UNLOCKED", | |
"operatingState": "ENABLED", | |
"lastConnected": 0, | |
"lastReported": 0, | |
"labels": [ | |
"camera", | |
"counter" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# | |
# Copyright (c) 2018 | |
# Dell | |
# Mainflux | |
# | |
# SPDX-License-Identifier: Apache-2.0 | |
# | |
# File taken from https://docs.edgexfoundry.org/Ch-WalkthroughDeviceProfile.html |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# | |
# Copyright (c) 2018 | |
# Mainflux | |
# | |
# SPDX-License-Identifier: Apache-2.0 | |
# | |
### | |
# Core Metadata |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
go get github.com/edgexfoundry/edgex-go | |
cd $GOPATH/src/github.com/edgexfoundry/edgex-go | |
# Pull the 3rd party / vendor packages (executes `glide install`) | |
make prepare | |
# Build the microservices | |
make build | |
# Run the services |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import tornado.httpserver | |
import tornado.websocket | |
import tornado.ioloop | |
import tornado.web | |
import tornado.options | |
import sockjs.tornado | |
### | |
# Tornado Websocket Client Class |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Please apply following patch to Carambola2 mainline to fix the issue: | |
From 1defc360fbe0ae43eefee020b8f7d2f7875c68e8 Mon Sep 17 00:00:00 2001 | |
From: Drasko DRASKOVIC <drasko.draskovic@gmail.com> | |
Date: Wed, 15 Jan 2014 21:54:29 +0100 | |
Subject: [PATCH] Fixes bug in texinfo for Debian builds | |
--- | |
.../gcc/patches/4.7-linaro/010-documentation.patch | 23 ++++++++++++++++++++++ | |
1 file changed, 23 insertions(+) |