gatt: provide MTU in ReadValue and WriteValue
authorDavid Krauser <david@krauser.org>
Mon, 9 Jul 2018 16:25:01 +0000 (12:25 -0400)
committerhimanshu <h.himanshu@samsung.com>
Tue, 14 Jan 2020 08:53:35 +0000 (14:23 +0530)
commitf3c53958c7c5725dd3974d5ec86066e65d454e09
tree45450f7d58de869534172e44d6662bdd4b41b6aa
parent6994e01c1b6aaf2c89c9d423cfb4e0e4d3e26eb0
gatt: provide MTU in ReadValue and WriteValue

This includes the MTU value in ReadValue and WriteValue when acting as
a server.

Note: The actual data can be bigger than the MTU in case of WriteValue
in case of Long Value is written with Prepare + Execute.

Change-Id: I718fe7378e5627aaf8c5680d5bf730c9b0f0ce0b
Signed-off-by: himanshu <h.himanshu@samsung.com>
src/gatt-database.c