OSDN Git Service
(root)
/
android-x86
/
system-bt.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6ca1594
)
print MTU size after get MTU request from iphone.
author
Zhihai Xu
<zhihaixu@google.com>
Fri, 21 Mar 2014 00:50:12 +0000
(17:50 -0700)
committer
Zhihai Xu
<zhihaixu@google.com>
Fri, 21 Mar 2014 00:50:12 +0000
(17:50 -0700)
bug:
13568537
Change-Id: If1a4e93b7ef53662bd740da0d3bb91fe747de031
stack/gatt/gatt_sr.c
patch
|
blob
|
history
diff --git
a/stack/gatt/gatt_sr.c
b/stack/gatt/gatt_sr.c
index
88040fe
..
c006dd2
100644
(file)
--- a/
stack/gatt/gatt_sr.c
+++ b/
stack/gatt/gatt_sr.c
@@
-929,6
+929,8
@@
static void gatts_process_mtu_req (tGATT_TCB *p_tcb, UINT16 len, UINT8 *p_data)
else
p_tcb->payload_size = mtu;
+ GATT_TRACE_ERROR1("MTU request PDU with MTU size %d", p_tcb->payload_size);
+
if ((p_buf = attp_build_sr_msg(p_tcb, GATT_RSP_MTU, (tGATT_SR_MSG *) &p_tcb->payload_size)) != NULL)
{
attp_send_sr_msg (p_tcb, p_buf);