Return-Path: From: Arman Uguray To: linux-bluetooth@vger.kernel.org Cc: Arman Uguray Subject: [PATCH v1 00/10] bt_att initial implementation Date: Fri, 9 May 2014 13:13:50 -0700 Message-Id: <1399666440-14078-1-git-send-email-armansito@chromium.org> Sender: linux-bluetooth-owner@vger.kernel.org List-ID: v1: - Updated the copyright notice in new files to include Google Inc. Retained the Intel copyright in src/shared/att.c and unit/test-att.c which take a lot of code from src/shared/mgmt.c and unit/test-mgmt.c respectively. - Removed ATT_ERROR_IO from src/shared/att as 0x80 is a legitimate application error that varies among GATT profiles. On I/O errors, the code now invokes the callback with ATT_OP_ERROR_RESP with NULL parameters. Arman Uguray (10): src/shared/att: Introduce struct bt_att. unit/test-att: Add unit tests for src/shared/att. tools/btatt: Add command-line tool for ATT protocol testing. tools/btatt: Add "exchange-mtu" command. src/shared/att: Add "Find Information" request and response. unit/test-att: Add unit test for "Find Information" request/response. tools/btatt: Add "find-information" command. src/shared/att: Add "Find By Type Value" request and response. unit/test-att: Add unit test for "Find By Type Value" request/response. tools/btatt: Add "find-by-type-value" command. Makefile.am | 12 +- Makefile.tools | 10 +- src/shared/att.c | 684 +++++++++++++++++++++++++++++++++++++++++++++++++++++++ src/shared/att.h | 122 ++++++++++ tools/btatt.c | 627 ++++++++++++++++++++++++++++++++++++++++++++++++++ unit/test-att.c | 474 ++++++++++++++++++++++++++++++++++++++ 6 files changed, 1927 insertions(+), 2 deletions(-) create mode 100644 src/shared/att.c create mode 100644 src/shared/att.h create mode 100644 tools/btatt.c create mode 100644 unit/test-att.c -- 1.8.3.2