OSDN Git Service

gatt: Add helper for creating GATT characteristics
authorAndre Guedes <andre.guedes@openbossa.org>
Tue, 18 Mar 2014 20:26:18 +0000 (17:26 -0300)
committerJohan Hedberg <johan.hedberg@intel.com>
Thu, 20 Mar 2014 17:31:37 +0000 (19:31 +0200)
commitbd10c1363f08ebdccf5315904ec063670b662a40
treec6f2134651d0c587098eb0c21e820d7ba6d6cc15
parente78d9f67712f4afe8ee89d94488aefa3b3155260
gatt: Add helper for creating GATT characteristics

This patch adds btd_gatt_add_char() helper. It creates and adds the
Characteristic declaration, and Characteristic value attributes to the
local attribute database.
src/gatt.c
src/gatt.h