Commit: 120bc542061e7e5cb3623b2022b405f08f2c7ba7
Parent: 17bbfe2572120ec3c12790a36a477f94413df210
Author: Marcin Kraglak <marcin.kraglak@tieto.com>
Committer: Szymon Janc <szymon.janc@tieto.com>
Date: 2014-06-06 07:05:40
Tree: ea9c5df5012600dcac64b788ba7562dd68523e59

android/gatt: Set attrib MTU correctly We should set g_attrib mtu with MIN of two values: Remote Rx MTU and local Tx MTU. In previous solution once we set g_attrib mtu, we could only reduce MTU (because we took previously set g_attrib MTU and Remote Rx MTU). It affected cases when remote wanted to increase MTU.

Diffstat

M android/gatt.c | 9 +++++- - - -

1 files changed, 5 insertions(+), 4 deletions(-)

View Full Diff | Patch