Skip to content

Introducing Soletta peripheral node-type

Vinicius Costa Gomes linux-bluetooth 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest15 patches 0 repliesNew

Changes from the RFC from the cover letter

- Added a README;
- Added a sample Makefile for building an binary implementing the behaviour expressed in the .fbp file;

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/15build: Add configure-time checks for solettaconfigure.ac+38 -00 replies
2/15shared: Add a mainloop implementation using solettaMakefile.am src/shared/io-soletta.c src/shared/timeout-soletta.c+435 -10 replies
3/15peripheral/gatt: Fix usage of mainloop_ functionsperipheral/gatt.c+43 -290 replies
4/15peripheral/gatt: Add a way to external services to register servicesperipheral/gatt.c peripheral/gatt.h+53 -00 replies
5/15peripheral/gap: Fix missing includesperipheral/gap.c+6 -00 replies
6/15peripheral/gap: Init the gatt_serverperipheral/gap.c+2 -00 replies
7/15peripheral: Disable support for static random addressesperipheral/gap.c peripheral/gatt.c+2 -30 replies
8/15peripheral/gap: Set the discoverable flag in the advertisingperipheral/gap.c+1 -10 replies
9/15peripheral/gatt: Use LOW security levelperipheral/gatt.c+1 -10 replies
10/15soletta/heartrate: Add a node-type for the Heartrate profileperipheral/soletta/heartrate-genspec.json peripheral/soletta/heartrate.c+301 -00 replies
11/15.gitignore: Ignore soletta generated files.gitignore+5 -00 replies
12/15build: Add heartrate soletta node type to the build systemMakefile.tools+20 -00 replies
13/15soletta: Add a sample flow using the heartrate nodeperipheral/soletta/heartrate.fbp peripheral/soletta/sol-flow.json+9 -00 replies
14/15peripheral: Add a README for the Soletta supportperipheral/soletta/README+140 -00 replies
15/15peripheral: Add a Makefile for building a binary using solettaperipheral/soletta/Makefile+22 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH BlueZ v1 00/15] Introducing Soletta peripheral node-type

Hi,

Sorry for the delay, Soletta is now using kbuild as a build system, the format of the configuration files changed and a few other changes, so it was needed some time for the dust to settle.

Changes from the RFC:
- Added a README;
- Added a sample Makefile for building an binary implementing the behaviour expressed in the .fbp file;

Cheers,

Vinicius Costa Gomes (15):
build: Add configure-time checks for soletta
shared: Add a mainloop implementation using soletta peripheral/gatt: Fix usage of mainloop_ functions peripheral/gatt: Add a way to external services to register services peripheral/gap: Fix missing includes
peripheral/gap: Init the gatt_server
peripheral: Disable support for static random addresses peripheral/gap: Set the discoverable flag in the advertising peripheral/gatt: Use LOW security level soletta/heartrate: Add a node-type for the Heartrate profile .gitignore: Ignore soletta generated files
build: Add heartrate soletta node type to the build system
soletta: Add a sample flow using the heartrate node
peripheral: Add a README for the Soletta support
peripheral: Add a Makefile for building a binary using soletta

 .gitignore                                |   5 +
 Makefile.am                               |   8 +-
 Makefile.tools                            |  20 ++
 configure.ac                              |  38 ++++
 peripheral/gap.c                          |  12 +-
 peripheral/gatt.c                         | 124 +++++++++---
 peripheral/gatt.h                         |   6 +
 peripheral/soletta/Makefile               |  22 +++
 peripheral/soletta/README                 | 140 +++++++++++++
 peripheral/soletta/heartrate-genspec.json |  31 +++
 peripheral/soletta/heartrate.c            | 270 +++++++++++++++++++++++++
 peripheral/soletta/heartrate.fbp          |   1 +
 peripheral/soletta/sol-flow.json          |   8 +
 src/shared/io-soletta.c                   | 317 ++++++++++++++++++++++++++++++
 src/shared/timeout-soletta.c              | 111 +++++++++++
 15 files changed, 1078 insertions(+), 35 deletions(-)
 create mode 100644 peripheral/soletta/Makefile
 create mode 100644 peripheral/soletta/README
 create mode 100644 peripheral/soletta/heartrate-genspec.json
 create mode 100644 peripheral/soletta/heartrate.c
 create mode 100644 peripheral/soletta/heartrate.fbp
 create mode 100644 peripheral/soletta/sol-flow.json
 create mode 100644 src/shared/io-soletta.c
 create mode 100644 src/shared/timeout-soletta.c

--
2.4.6