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:
parent
9c2ad108b8
commit
9ecbd34f89
8 changed files with 43 additions and 9 deletions
|
@ -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 */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue