summaryrefslogtreecommitdiff
path: root/unit/test-gatt.c
diff options
context:
space:
mode:
authorSzymon Janc <szymon.janc@codecoup.pl>2018-03-23 14:08:21 +0100
committerAmit Purwar <amit.purwar@samsung.com>2019-04-26 16:24:22 +0530
commit6d94f03c74f8fdb5a980927910266d84fb2c67a6 (patch)
tree5cd3e4b210a115a243cfb741584c7768f59ac501 /unit/test-gatt.c
parentc86475af15b3c9b6a319ffc968e50d69a11e3102 (diff)
downloadbluez-6d94f03c74f8fdb5a980927910266d84fb2c67a6.tar.gz
bluez-6d94f03c74f8fdb5a980927910266d84fb2c67a6.tar.bz2
bluez-6d94f03c74f8fdb5a980927910266d84fb2c67a6.zip
Add support for requiring min key size for access GATT characteristics
This allows to configure bluetoothd to require minimum encryption key size when accessing GATT server characteristics. It is a global configuration option affecting whole GATT database. Change-Id: Ibec567f17447d35421f016c5e0021ef49aa713ef Signed-off-by: Amit Purwar <amit.purwar@samsung.com>
Diffstat (limited to 'unit/test-gatt.c')
-rwxr-xr-xunit/test-gatt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/unit/test-gatt.c b/unit/test-gatt.c
index 76d431fc..5961b02e 100755
--- a/unit/test-gatt.c
+++ b/unit/test-gatt.c
@@ -792,7 +792,7 @@ static struct context *create_context(uint16_t mtu, gconstpointer data)
g_assert(context->server_db);
context->server = bt_gatt_server_new(context->server_db,
- context->att, mtu);
+ context->att, mtu, 0);
g_assert(context->server);
bt_gatt_server_set_debug(context->server, print_debug,