Commit: 68887c21336e5b9d964139b6b0573e86fd0aaed1
Parent: f773053e55c5690736267cb66a8e2461ac389890
Author: Bruna Moreira <bruna.moreira@openbossa.org>
Committer: Johan Hedberg <johan.hedberg@nokia.com>
Date: 2011-03-18 11:14:35
Tree: d77b4400a7f36992edc0a07102363b7f28b78ac8

Add internal buffer to GAttrib struct The new buffer is allocated in g_attrib_new() and it will be used to send/receive PDUs. The buffer size is the MTU read from L2CAP channel limited to ATT_MAX_MTU. Functions to handle the buffer size were also created.

Diffstat

M attrib/gattrib.c | 46 ++++++++++++++++++++++++++++++++++++++++
M attrib/gattrib.h | 3 +++

2 files changed, 49 insertions(+), 0 deletions(-)

View Full Diff | Patch