linux-bluetooth.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH BlueZ v0 00/16] Add basic GATT characteristics
@ 2014-03-10 18:50 Claudio Takahasi
  2014-03-10 18:50 ` [PATCH BlueZ v0 01/16] gatt: Add function to create constant attributes Claudio Takahasi
                   ` (16 more replies)
  0 siblings, 17 replies; 153+ messages in thread
From: Claudio Takahasi @ 2014-03-10 18:50 UTC (permalink / raw)
  To: linux-bluetooth; +Cc: claudio.takahasi

This patchset adds the following features:
  * register external characteristics
  * basic read or write external characteristics

Usage of glib is being avoided inside src/gatt.c. Properties/flags is not
implemented yet.

How to test:
It is possible to test the implemented features using a modified
gatttool version. Unix socket is used as transport to allow basic
ATT operations: 
git://git.infradead.org/users/cktakahasi/bluez.git gatt-api-forupstream-group2-patchv0-testing

$gatttool -I -L
[LOCAL][LE]> connect
Local connection
Connection successful
[LOCAL][LE]> primary
attr handle: 0x0001, end grp handle: 0x0003 uuid: 000034fb-0000-1000-8000-00805f9b34fb
[LOCAL][LE]> characteristics
handle: 0x0002, char properties: 0x00, char value handle: 0x0003, uuid: 00002a06-0000-1000-8000-00805f9b34fb
[LOCAL][LE]> char-read-hnd 0x0003
Characteristic value/descriptor: 00 
[LOCAL][LE]> char-write-req 0x0003 02
Characteristic value was written successfully
[LOCAL][LE]> char-read-hnd 0x0003
Characteristic value/descriptor: 02 

Alvaro Silva (3):
  tools: Add Alert Level characteristic to gatt-service
  tools: Add reading Value property of gatt-service
  tools: Add setting Value property of gatt-service

Andre Guedes (2):
  gatt: Add function to create constant attributes
  gatt: Add helper for creating GATT characteristics

Claudio Takahasi (11):
  gatt: Add characteristic to the database
  gatt: Add hash table of GDBusProxy objects
  gatt: Add read callback to btd_gatt_add_char helper
  gatt: Assign read callback for external services
  gatt: Add helper for reading characteristics
  gatt: Add write callback to btd_gatt_add_char helper
  gdbus: Add g_dbus_proxy_set_property_array
  gatt: Assign write callback for external services
  gatt: Add result callback for Write Request
  gatt: Add Write Request handling for GDBusProxy
  tools: Emit property changed when Value changes

 gdbus/client.c       |  85 +++++++++++++++++++++++
 gdbus/gdbus.h        |   5 ++
 src/gatt-dbus.c      | 189 +++++++++++++++++++++++++++++++++++++++++++++++++--
 src/gatt.c           | 138 +++++++++++++++++++++++++++++++++++--
 src/gatt.h           |  52 ++++++++++++++
 tools/gatt-service.c | 157 ++++++++++++++++++++++++++++++++++++++----
 6 files changed, 604 insertions(+), 22 deletions(-)

-- 
1.8.3.1


^ permalink raw reply	[flat|nested] 153+ messages in thread

end of thread, other threads:[~2014-03-24 13:43 UTC | newest]

Thread overview: 153+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-03-10 18:50 [PATCH BlueZ v0 00/16] Add basic GATT characteristics Claudio Takahasi
2014-03-10 18:50 ` [PATCH BlueZ v0 01/16] gatt: Add function to create constant attributes Claudio Takahasi
2014-03-10 18:50 ` [PATCH BlueZ v0 02/16] gatt: Add helper for creating GATT characteristics Claudio Takahasi
2014-03-10 18:50 ` [PATCH BlueZ v0 03/16] gatt: Add characteristic to the database Claudio Takahasi
2014-03-10 18:50 ` [PATCH BlueZ v0 04/16] gatt: Add hash table of GDBusProxy objects Claudio Takahasi
2014-03-10 18:50 ` [PATCH BlueZ v0 05/16] gatt: Add read callback to btd_gatt_add_char helper Claudio Takahasi
2014-03-10 18:50 ` [PATCH BlueZ v0 06/16] gatt: Assign read callback for external services Claudio Takahasi
2014-03-10 18:50 ` [PATCH BlueZ v0 07/16] gatt: Add helper for reading characteristics Claudio Takahasi
2014-03-10 18:50 ` [PATCH BlueZ v0 08/16] gatt: Add write callback to btd_gatt_add_char helper Claudio Takahasi
2014-03-10 18:50 ` [PATCH BlueZ v0 09/16] gdbus: Add g_dbus_proxy_set_property_array Claudio Takahasi
2014-03-10 18:50 ` [PATCH BlueZ v0 10/16] gatt: Assign write callback for external services Claudio Takahasi
2014-03-10 18:50 ` [PATCH BlueZ v0 11/16] gatt: Add result callback for Write Request Claudio Takahasi
2014-03-10 18:50 ` [PATCH BlueZ v0 12/16] gatt: Add Write Request handling for GDBusProxy Claudio Takahasi
2014-03-10 18:50 ` [PATCH BlueZ v0 13/16] tools: Add Alert Level characteristic to gatt-service Claudio Takahasi
2014-03-10 18:50 ` [PATCH BlueZ v0 14/16] tools: Add reading Value property of gatt-service Claudio Takahasi
2014-03-10 18:50 ` [PATCH BlueZ v0 15/16] tools: Add setting " Claudio Takahasi
2014-03-10 18:50 ` [PATCH BlueZ v0 16/16] tools: Emit property changed when Value changes Claudio Takahasi
2014-03-12 16:26 ` [PATCH BlueZ v1 00/15] Add basic GATT characteristics Claudio Takahasi
2014-03-12 16:26   ` [PATCH BlueZ v1 01/15] gatt: Add function to create constant attributes Claudio Takahasi
2014-03-13  8:30     ` Johan Hedberg
2014-03-13 13:10       ` Claudio Takahasi
2014-03-12 16:26   ` [PATCH BlueZ v1 02/15] gatt: Add helper for creating GATT characteristics Claudio Takahasi
2014-03-13  8:32     ` Johan Hedberg
2014-03-12 16:26   ` [PATCH BlueZ v1 03/15] gatt: Add characteristic to the database Claudio Takahasi
2014-03-12 16:27   ` [PATCH BlueZ v1 04/15] gatt: Add hash table of GDBusProxy objects Claudio Takahasi
2014-03-12 16:27   ` [PATCH BlueZ v1 05/15] gatt: Add read callback to btd_gatt_add_char helper Claudio Takahasi
2014-03-12 16:27   ` [PATCH BlueZ v1 06/15] gatt: Assign read callback for external services Claudio Takahasi
2014-03-12 16:27   ` [PATCH BlueZ v1 07/15] gatt: Add write callback to btd_gatt_add_char helper Claudio Takahasi
2014-03-12 16:27   ` [PATCH BlueZ v1 08/15] gdbus: Add g_dbus_proxy_set_property_array Claudio Takahasi
2014-03-12 16:27   ` [PATCH BlueZ v1 09/15] gatt: Assign write callback for external services Claudio Takahasi
2014-03-12 16:27   ` [PATCH BlueZ v1 10/15] gatt: Add result callback for Write Request Claudio Takahasi
2014-03-12 16:27   ` [PATCH BlueZ v1 11/15] gatt: Add Write Request handling for GDBusProxy Claudio Takahasi
2014-03-12 16:27   ` [PATCH BlueZ v1 12/15] tools: Add Alert Level characteristic to gatt-service Claudio Takahasi
2014-03-12 16:27   ` [PATCH BlueZ v1 13/15] tools: Add reading Value property of gatt-service Claudio Takahasi
2014-03-12 16:27   ` [PATCH BlueZ v1 14/15] tools: Add setting " Claudio Takahasi
2014-03-12 16:27   ` [PATCH BlueZ v1 15/15] tools: Emit property changed when Value changes Claudio Takahasi
2014-03-13 14:38   ` [PATCH BlueZ v2 00/17] Add basic GATT characteristics Claudio Takahasi
2014-03-13 14:38     ` [PATCH BlueZ v2 01/17] shared: Add put_uuid() Claudio Takahasi
2014-03-13 14:38     ` [PATCH BlueZ v2 02/17] gatt: Add function to create constant attributes Claudio Takahasi
2014-03-13 14:38     ` [PATCH BlueZ v2 03/17] shared: Add put_le16() Claudio Takahasi
2014-03-13 14:38     ` [PATCH BlueZ v2 04/17] gatt: Add helper for creating GATT characteristics Claudio Takahasi
2014-03-13 14:38     ` [PATCH BlueZ v2 05/17] gatt: Add characteristic to the database Claudio Takahasi
2014-03-13 14:38     ` [PATCH BlueZ v2 06/17] gatt: Add hash table of GDBusProxy objects Claudio Takahasi
2014-03-13 14:38     ` [PATCH BlueZ v2 07/17] gatt: Add read callback to btd_gatt_add_char helper Claudio Takahasi
2014-03-13 14:38     ` [PATCH BlueZ v2 08/17] gatt: Assign read callback for external services Claudio Takahasi
2014-03-13 14:38     ` [PATCH BlueZ v2 09/17] gatt: Add write callback to btd_gatt_add_char helper Claudio Takahasi
2014-03-13 14:38     ` [PATCH BlueZ v2 10/17] gdbus: Add g_dbus_proxy_set_property_array Claudio Takahasi
2014-03-13 14:38     ` [PATCH BlueZ v2 11/17] gatt: Assign write callback for external services Claudio Takahasi
2014-03-13 14:38     ` [PATCH BlueZ v2 12/17] gatt: Add result callback for Write Request Claudio Takahasi
2014-03-13 14:38     ` [PATCH BlueZ v2 13/17] gatt: Add Write Request handling for GDBusProxy Claudio Takahasi
2014-03-13 14:38     ` [PATCH BlueZ v2 14/17] tools: Add Alert Level characteristic to gatt-service Claudio Takahasi
2014-03-13 14:38     ` [PATCH BlueZ v2 15/17] tools: Add reading Value property of gatt-service Claudio Takahasi
2014-03-13 14:38     ` [PATCH BlueZ v2 16/17] tools: Add setting " Claudio Takahasi
2014-03-13 14:38     ` [PATCH BlueZ v2 17/17] tools: Emit property changed when Value changes Claudio Takahasi
2014-03-13 20:22     ` [PATCH BlueZ v3 00/20] Add basic GATT characteristics Claudio Takahasi
2014-03-13 20:22       ` [PATCH BlueZ v3 01/20] shared: Add put_le16() Claudio Takahasi
2014-03-13 20:22       ` [PATCH BlueZ v3 02/20] lib: Remove bt_put_le16() Claudio Takahasi
2014-03-14 10:23         ` Johan Hedberg
2014-03-13 20:22       ` [PATCH BlueZ v3 03/20] shared: Add put_le32() Claudio Takahasi
2014-03-13 20:22       ` [PATCH BlueZ v3 04/20] lib: Remove bt_put_le32() Claudio Takahasi
2014-03-13 20:22       ` [PATCH BlueZ v3 05/20] shared: Add put_le128() Claudio Takahasi
2014-03-13 20:22       ` [PATCH BlueZ v3 06/20] gatt: Add function to create constant attributes Claudio Takahasi
2014-03-13 20:22       ` [PATCH BlueZ v3 07/20] gatt: Add helper for creating GATT characteristics Claudio Takahasi
2014-03-13 20:22       ` [PATCH BlueZ v3 08/20] gatt: Add characteristic to the database Claudio Takahasi
2014-03-13 20:22       ` [PATCH BlueZ v3 09/20] gatt: Add hash table of GDBusProxy objects Claudio Takahasi
2014-03-13 20:22       ` [PATCH BlueZ v3 10/20] gatt: Add read callback to btd_gatt_add_char helper Claudio Takahasi
2014-03-13 20:22       ` [PATCH BlueZ v3 11/20] gatt: Assign read callback for external services Claudio Takahasi
2014-03-13 20:22       ` [PATCH BlueZ v3 12/20] gatt: Add write callback to btd_gatt_add_char helper Claudio Takahasi
2014-03-13 20:22       ` [PATCH BlueZ v3 13/20] gdbus: Add g_dbus_proxy_set_property_array Claudio Takahasi
2014-03-13 20:22       ` [PATCH BlueZ v3 14/20] gatt: Assign write callback for external services Claudio Takahasi
2014-03-13 20:22       ` [PATCH BlueZ v3 15/20] gatt: Add result callback for Write Request Claudio Takahasi
2014-03-13 20:22       ` [PATCH BlueZ v3 16/20] gatt: Add Write Request handling for GDBusProxy Claudio Takahasi
2014-03-13 20:22       ` [PATCH BlueZ v3 17/20] tools: Add Alert Level characteristic to gatt-service Claudio Takahasi
2014-03-13 20:22       ` [PATCH BlueZ v3 18/20] tools: Add reading Value property of gatt-service Claudio Takahasi
2014-03-13 20:22       ` [PATCH BlueZ v3 19/20] tools: Add setting " Claudio Takahasi
2014-03-13 20:22       ` [PATCH BlueZ v3 20/20] tools: Emit property changed when Value changes Claudio Takahasi
2014-03-14 13:13       ` [PATCH BlueZ v4 00/20] Add basic GATT characteristics Claudio Takahasi
2014-03-14 13:13         ` [PATCH BlueZ v4 01/20] shared: Add put_le16() Claudio Takahasi
2014-03-14 13:13         ` [PATCH BlueZ v4 02/20] Replace bt_put_le16() by put_le16() Claudio Takahasi
2014-03-14 13:13         ` [PATCH BlueZ v4 03/20] shared: Add put_le32() Claudio Takahasi
2014-03-14 13:13         ` [PATCH BlueZ v4 04/20] Replace bt_put_le32() by put_le32() Claudio Takahasi
2014-03-14 13:13         ` [PATCH BlueZ v4 05/20] shared: Add put_le128() Claudio Takahasi
2014-03-14 13:54           ` Johan Hedberg
2014-03-14 13:13         ` [PATCH BlueZ v4 06/20] gatt: Add function to create constant attributes Claudio Takahasi
2014-03-14 13:13         ` [PATCH BlueZ v4 07/20] gatt: Add helper for creating GATT characteristics Claudio Takahasi
2014-03-14 13:13         ` [PATCH BlueZ v4 08/20] gatt: Add characteristic to the database Claudio Takahasi
2014-03-14 13:13         ` [PATCH BlueZ v4 09/20] gatt: Add hash table of GDBusProxy objects Claudio Takahasi
2014-03-14 13:13         ` [PATCH BlueZ v4 10/20] gatt: Add read callback to btd_gatt_add_char helper Claudio Takahasi
2014-03-14 13:13         ` [PATCH BlueZ v4 11/20] gatt: Assign read callback for external services Claudio Takahasi
2014-03-14 13:13         ` [PATCH BlueZ v4 12/20] gatt: Add write callback to btd_gatt_add_char helper Claudio Takahasi
2014-03-14 13:13         ` [PATCH BlueZ v4 13/20] gdbus: Add g_dbus_proxy_set_property_array Claudio Takahasi
2014-03-14 13:13         ` [PATCH BlueZ v4 14/20] gatt: Assign write callback for external services Claudio Takahasi
2014-03-14 13:13         ` [PATCH BlueZ v4 15/20] gatt: Add result callback for Write Request Claudio Takahasi
2014-03-14 13:13         ` [PATCH BlueZ v4 16/20] gatt: Add Write Request handling for GDBusProxy Claudio Takahasi
2014-03-14 13:13         ` [PATCH BlueZ v4 17/20] tools: Add Alert Level characteristic to gatt-service Claudio Takahasi
2014-03-14 13:13         ` [PATCH BlueZ v4 18/20] tools: Add reading Value property of gatt-service Claudio Takahasi
2014-03-14 13:13         ` [PATCH BlueZ v4 19/20] tools: Add setting " Claudio Takahasi
2014-03-14 13:13         ` [PATCH BlueZ v4 20/20] tools: Emit property changed when Value changes Claudio Takahasi
2014-03-18 20:26         ` [PATCH BlueZ v5 00/16] Add basic GATT characteristics Claudio Takahasi
2014-03-18 20:26           ` [PATCH BlueZ v5 01/16] shared: Add bswap_128() Claudio Takahasi
2014-03-18 20:26           ` [PATCH BlueZ v5 02/16] gatt: Add function to create constant attributes Claudio Takahasi
2014-03-18 20:26           ` [PATCH BlueZ v5 03/16] gatt: Add helper for creating GATT characteristics Claudio Takahasi
2014-03-18 20:26           ` [PATCH BlueZ v5 04/16] gatt: Add characteristic to the database Claudio Takahasi
2014-03-18 20:26           ` [PATCH BlueZ v5 05/16] gatt: Add hash table of GDBusProxy objects Claudio Takahasi
2014-03-18 20:26           ` [PATCH BlueZ v5 06/16] gatt: Add read callback to btd_gatt_add_char helper Claudio Takahasi
2014-03-18 20:26           ` [PATCH BlueZ v5 07/16] gatt: Assign read callback for external services Claudio Takahasi
2014-03-20 17:41             ` Johan Hedberg
2014-03-18 20:26           ` [PATCH BlueZ v5 08/16] gatt: Add write callback to btd_gatt_add_char helper Claudio Takahasi
2014-03-18 20:26           ` [PATCH BlueZ v5 09/16] gdbus: Add g_dbus_proxy_set_property_array Claudio Takahasi
2014-03-21  8:49             ` Johan Hedberg
2014-03-21 14:29               ` Claudio Takahasi
2014-03-18 20:26           ` [PATCH BlueZ v5 10/16] gatt: Assign write callback for external services Claudio Takahasi
2014-03-18 20:26           ` [PATCH BlueZ v5 11/16] gatt: Add result callback for Write Request Claudio Takahasi
2014-03-18 20:26           ` [PATCH BlueZ v5 12/16] gatt: Add Write Request handling for GDBusProxy Claudio Takahasi
2014-03-18 20:26           ` [PATCH BlueZ v5 13/16] tools: Add Alert Level characteristic to gatt-service Claudio Takahasi
2014-03-18 20:26           ` [PATCH BlueZ v5 14/16] tools: Add reading Value property of gatt-service Claudio Takahasi
2014-03-18 20:26           ` [PATCH BlueZ v5 15/16] tools: Add setting " Claudio Takahasi
2014-03-18 20:26           ` [PATCH BlueZ v5 16/16] tools: Emit property changed when Value changes Claudio Takahasi
2014-03-21 14:58           ` [PATCH BlueZ v6 00/10] Add basic GATT characteristics Claudio Takahasi
2014-03-21 14:58             ` [PATCH BlueZ v6 01/10] gatt: Assign read callback for external services Claudio Takahasi
2014-03-21 14:58             ` [PATCH BlueZ v6 02/10] gatt: Add write callback to btd_gatt_add_char helper Claudio Takahasi
2014-03-21 14:58             ` [PATCH BlueZ v6 03/10] gdbus: Add g_dbus_proxy_set_property_array Claudio Takahasi
2014-03-21 14:58             ` [PATCH BlueZ v6 04/10] gatt: Assign write callback for external services Claudio Takahasi
2014-03-21 14:58             ` [PATCH BlueZ v6 05/10] gatt: Add result callback for Write Request Claudio Takahasi
2014-03-21 14:58             ` [PATCH BlueZ v6 06/10] gatt: Add Write Request handling for GDBusProxy Claudio Takahasi
2014-03-21 14:58             ` [PATCH BlueZ v6 07/10] tools: Add Alert Level characteristic to gatt-service Claudio Takahasi
2014-03-21 14:58             ` [PATCH BlueZ v6 08/10] tools: Add reading Value property of gatt-service Claudio Takahasi
2014-03-21 14:58             ` [PATCH BlueZ v6 09/10] tools: Add setting " Claudio Takahasi
2014-03-21 14:58             ` [PATCH BlueZ v6 10/10] tools: Emit property changed when Value changes Claudio Takahasi
2014-03-21 19:16             ` [PATCH BlueZ v7 00/10] Add basic GATT characteristics Claudio Takahasi
2014-03-21 19:16               ` [PATCH BlueZ v7 01/10] gatt: Assign read callback for external services Claudio Takahasi
2014-03-21 19:16               ` [PATCH BlueZ v7 02/10] gatt: Add write callback to btd_gatt_add_char helper Claudio Takahasi
2014-03-24  8:58                 ` Johan Hedberg
2014-03-24 11:52                   ` Claudio Takahasi
2014-03-21 19:16               ` [PATCH BlueZ v7 03/10] gdbus: Add g_dbus_proxy_set_property_array Claudio Takahasi
2014-03-24  9:02                 ` Johan Hedberg
2014-03-21 19:16               ` [PATCH BlueZ v7 04/10] gatt: Assign write callback for external services Claudio Takahasi
2014-03-21 19:16               ` [PATCH BlueZ v7 05/10] gatt: Add result callback for Write Request Claudio Takahasi
2014-03-21 19:16               ` [PATCH BlueZ v7 06/10] gatt: Add Write Request handling for GDBusProxy Claudio Takahasi
2014-03-21 19:16               ` [PATCH BlueZ v7 07/10] tools: Add Alert Level characteristic to gatt-service Claudio Takahasi
2014-03-21 19:16               ` [PATCH BlueZ v7 08/10] tools: Add reading Value property of gatt-service Claudio Takahasi
2014-03-21 19:16               ` [PATCH BlueZ v7 09/10] tools: Add setting " Claudio Takahasi
2014-03-21 19:16               ` [PATCH BlueZ v7 10/10] tools: Emit property changed when Value changes Claudio Takahasi
2014-03-24 13:30               ` [PATCH BlueZ v8 0/8] Add basic GATT characteristics Claudio Takahasi
2014-03-24 13:30                 ` [PATCH BlueZ v8 1/8] gatt: Add write callback to btd_gatt_add_char helper Claudio Takahasi
2014-03-24 13:30                 ` [PATCH BlueZ v8 2/8] gatt: Assign write callback for external services Claudio Takahasi
2014-03-24 13:30                 ` [PATCH BlueZ v8 3/8] gatt: Add result callback for Write Request Claudio Takahasi
2014-03-24 13:30                 ` [PATCH BlueZ v8 4/8] gatt: Add Write Request handling for GDBusProxy Claudio Takahasi
2014-03-24 13:30                 ` [PATCH BlueZ v8 5/8] tools: Add Alert Level characteristic to gatt-service Claudio Takahasi
2014-03-24 13:30                 ` [PATCH BlueZ v8 6/8] tools: Add reading Value property of gatt-service Claudio Takahasi
2014-03-24 13:30                 ` [PATCH BlueZ v8 7/8] tools: Add setting " Claudio Takahasi
2014-03-24 13:30                 ` [PATCH BlueZ v8 8/8] tools: Emit property changed when Value changes Claudio Takahasi
2014-03-24 13:43                 ` [PATCH BlueZ v8 0/8] Add basic GATT characteristics Johan Hedberg

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).