Skip to content

RFC client: Add support for GATT API

Luiz Augusto von Dentz linux-bluetooth 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest9 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/9client: Add support for GattService1Makefile.tools client/gatt.c client/gatt.h +1 more+124 -30 replies
2/9client: Add support for GattCharacteristic1client/gatt.c client/gatt.h client/main.c+73 -00 replies
3/9client: Add support for GattDescriptor1client/gatt.c client/gatt.h client/main.c+73 -00 replies
4/9client: Make commands relative to deviceclient/main.c+85 -680 replies
5/9client: Add command list-attributesclient/gatt.c client/gatt.h client/main.c+45 -00 replies
6/9client: Add command select-attributeclient/gatt.c client/gatt.h client/main.c+144 -150 replies
7/9client/display: Add rl_hexdumpclient/display.c client/display.h+42 -00 replies
8/9client: Add read commandclient/gatt.c client/gatt.h client/main.c+72 -00 replies
9/9client: Add write commandclient/gatt.c client/gatt.h client/main.c+98 -00 replies

Reviews trailers per patch

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

Read the v1 thread

Cover letter [RFC 0/9] client: Add support for GATT API

From: Luiz Augusto von Dentz <[email protected]>

This adds basic support for GATT API, the main idea is that one can navigate into the attributes and read and write values to them.

Im sending as RFC to figure if this is the way forward and if the command are good enough, there are a couple of things missing and it might be a good idea to have command categories/subparses.

Luiz Augusto von Dentz (9):
client: Add support for GattService1
client: Add support for GattCharacteristic1
client: Add support for GattDescriptor1
client: Make commands relative to device
client: Add command list-attributes
client: Add command select-attribute
client/display: Add rl_hexdump
client: Add read command
client: Add write command

 Makefile.tools                           |   1 +
 client/display.c                         |  41 +++
 client/display.h                         |   1 +
 client/gatt.c                            | 460 +++++++++++++++++++++++++++++++
 tools/parser/ericsson.c => client/gatt.h |  39 +--
 client/main.c                            | 286 ++++++++++++++-----
 6 files changed, 735 insertions(+), 93 deletions(-)
 create mode 100644 client/gatt.c
 copy tools/parser/ericsson.c => client/gatt.h (56%)
Signature · 1 line
2.1.0