Commit: e2f3cd0d1eadf4e59e8df7e86e630a43487121c1
Parent: 89e701a9292411c6f6ea3e19626708287502e019
Author: Michael Janssen <jamuraa@chromium.org>
Committer: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Date: 2014-12-10 09:56:53
Tree: 38936b13cc07fde13b44fa6e976d2e963fda29d1

unit/gatt: Add test spec "small test database" This patch adds the first of a set of databases which are specified by the Bluetooth GATT Test Specification document. It is specifically the "small test database" constructed carefully to fit the first requirement. It satisfies the following requirements in section 3.3.2 of the GATT TS: 1. One small test database whose services fit into a single minimum sized PDU, with only 16-biy UUIDs 3. At least one of those has a Primary Service at the MAX handle 8. All have some services that are simple, and some that include other services 9. Each has at last one instance where the handle of an included service is before the handle of the including service 11. Each has instances of simple characteristics (no descriptors) and complex characteristics (multiple descriptors) 12. Each has instances of complex characteristics with 16-bit and 128-bit characteristic descriptor UUIDs, and these are in no particular order.

Diffstat

M unit/test-gatt.c | 147 ++++++++++++++++++++++++++++++++++++++++-

1 files changed, 146 insertions(+), 1 deletions(-)

View Full Diff | Patch