Thread (3 messages) 3 messages, 2 authors, 2011-01-21

Re: [PATCH] Fix incoming attrib-server connection MTUs

flat view

From: Johan Hedberg <hidden>
Date: 2011-01-21 06:50:29

Hi Brian,

On Thu, Jan 20, 2011, Brian Gix wrote:
It is important for the Attribute Server to be aware of and completely
fill response packets up to the full MTU when reading long attributes.
Some remote devices will only request additional (READ_BLOB) data if
the preceding read sent the maximum amount of data.

Incoming connections are identified as L2CAP or LE by pointers to the
Service IO channel the incoming connection was recieved on in the
user_data parameter. L2CAP channels are set to the BR/EDR minimum MTU
of 48, and LE channels to the LE payload size of 23.
---
 attrib/att.h        |    3 ++-
 attrib/gatt.c       |   28 ++++++++++++++--------------
 src/attrib-server.c |   13 +++++++++----
 3 files changed, 25 insertions(+), 19 deletions(-)
Thanks for the updated patch. It looks good now and has been pushed
upstream.

Johan
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help