Return-Path: From: Arman Uguray To: linux-bluetooth@vger.kernel.org Cc: Arman Uguray Subject: [PATCH BlueZ v2 00/11] shared/gatt-server: Implement ATT operations Date: Mon, 10 Nov 2014 09:07:16 -0800 Message-Id: <1415639247-14320-1-git-send-email-armansito@chromium.org> Sender: linux-bluetooth-owner@vger.kernel.org List-ID: This patch set implements the most important server-side ATT protocol operations by interfacing with the new gatt-db API functions. All requests except "Read Multiple" and "Signed Write Command" are provided in this set. This patch set also doesn't address checks for encryption/authentication/ authorization permissions. A TODO item has been added to address this later. *v1: Removed offsetof math while casting service pointer to (void *) *v2: - Added TODO for using struct iovec - Removed bt_gatt_server_set_max_prep_queue_len - Always pass write_cb to gatt_db_attribute_write even if the opcode is "Write Command". - Added more util_debug lines in handler functions. Arman Uguray (11): shared/gatt-server: Implement "Read By Type" request. shared/gatt-server: Implement "Find Information" request. shared/gatt-server: Implement "Write" request and command. shared/gatt-server: Implement "Read" request. shared/gatt-server: Implement "Read Blob" request. shared/att: Handle incoming confirmation PDU. shared/gatt-server: Add functions for sending notifications/indications. shared/gatt-server: Implement "Prepare Write" request. shared/gatt-server: Implement "Execute Write" request. shared/gatt-client: Fix alignment warnings. TODO: Update shared/gatt-server items. TODO | 26 +- src/shared/att.c | 119 +++-- src/shared/gatt-client.c | 6 +- src/shared/gatt-server.c | 1221 +++++++++++++++++++++++++++++++++++++++++++--- src/shared/gatt-server.h | 12 + 5 files changed, 1257 insertions(+), 127 deletions(-) -- 2.1.0.rc2.206.gedb03e5