Bluetooth: Add support for disabling GATT client support

Binary size reduction of sample peripheral app:
45940 -> 45772

Change-Id: Ia8c463c9642a2928c2cb2ec48d9e9c4eeef20fe7
Signed-off-by: Szymon Janc <ext.szymon.janc@tieto.com>
This commit is contained in:
Szymon Janc 2015-09-08 12:47:33 +02:00 committed by Anas Nashif
commit 9ecbd34f89
8 changed files with 43 additions and 9 deletions

View file

@ -1586,6 +1586,7 @@ void bt_att_init(void)
#endif /* CONFIG_BLUETOOTH_SMP */
}
#if defined(CONFIG_BLUETOOTH_GATT_CLIENT)
uint16_t bt_att_get_mtu(struct bt_conn *conn)
{
struct bt_att *att = conn->att;
@ -1654,3 +1655,4 @@ void bt_att_cancel(struct bt_conn *conn)
att_req_destroy(&att->req);
}
#endif /* CONFIG_BLUETOOTH_GATT_CLIENT */