The flow and associated conffile, defines a very simple flow using the heartrate node. With soletta already installed you just run it, something like this: $ sol-fbp-runner heartrate.fbp It will look for the sol-flow.conf (which would define options for the nodes) in the current directory. --- peripheral/soletta/heartrate.fbp | 1 + peripheral/soletta/sol-flow.json | 8 ++++++++ 2 files changed, 9 insertions(+) create mode 100644 peripheral/soletta/heartrate.fbp create mode 100644 peripheral/soletta/sol-flow.json diff --git a/peripheral/soletta/heartrate.fbp b/peripheral/soletta/heartrate.fbp new file mode 100644 index 0000000..63185c4 --- /dev/null +++ b/peripheral/soletta/heartrate.fbp @@ -0,0 +1 @@ +Timer(timer:interval=1000) OUT -> IN Heartrate(heartrate) diff --git a/peripheral/soletta/sol-flow.json b/peripheral/soletta/sol-flow.json new file mode 100644 index 0000000..c1f8fca --- /dev/null +++ b/peripheral/soletta/sol-flow.json @@ -0,0 +1,8 @@ +{ + "nodetypes": [ + { + "name": "Heartrate", + "type": "heartrate" + } + ] +} -- 2.4.6 -- To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html