[RFC BlueZ 13/13] soletta: Add a sample flow using the heartrate node

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.
---
 soletta/heartrate.fbp | 1 +
 soletta/sol-flow.conf | 2 ++
 2 files changed, 3 insertions(+)
 create mode 100644 soletta/heartrate.fbp
 create mode 100644 soletta/sol-flow.conf

diff --git a/soletta/heartrate.fbp b/soletta/heartrate.fbp
new file mode 100644
index 0000000..63185c4
--- /dev/null
+++ b/soletta/heartrate.fbp
@@ -0,0 +1 @@
+Timer(timer:interval=1000) OUT -> IN Heartrate(heartrate)
diff --git a/soletta/sol-flow.conf b/soletta/sol-flow.conf
new file mode 100644
index 0000000..08ea12e
--- /dev/null
+++ b/soletta/sol-flow.conf
@@ -0,0 +1,2 @@
+[SolettaNodeEntry Heartrate]
+Type=heartrate
-- 
2.4.5

--
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



[Index of Archives]     [Bluez Devel]     [Linux Wireless Networking]     [Linux Wireless Personal Area Networking]     [Linux ATH6KL]     [Linux USB Devel]     [Linux Media Drivers]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux