diff options
author | Zhihai Xu <zhihaixu@google.com> | 2014-03-20 17:50:12 -0700 |
---|---|---|
committer | Zhihai Xu <zhihaixu@google.com> | 2014-04-16 11:51:40 -0700 |
commit | 52c0ccbb6b4f1de8a4b1e63901b55d94dff32310 (patch) | |
tree | 1ecd226185872ef152cabd39d019ca9424dae38e /stack/gatt/gatt_sr.c | |
parent | 6f908b2cf977794342ce661d99c7d45b03dc6f58 (diff) | |
download | android_system_bt-52c0ccbb6b4f1de8a4b1e63901b55d94dff32310.tar.gz android_system_bt-52c0ccbb6b4f1de8a4b1e63901b55d94dff32310.tar.bz2 android_system_bt-52c0ccbb6b4f1de8a4b1e63901b55d94dff32310.zip |
print MTU size after get MTU request from iphone.
bug:13568537
Change-Id: If1a4e93b7ef53662bd740da0d3bb91fe747de031
Diffstat (limited to 'stack/gatt/gatt_sr.c')
-rw-r--r-- | stack/gatt/gatt_sr.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/stack/gatt/gatt_sr.c b/stack/gatt/gatt_sr.c index 88040fe45..c006dd263 100644 --- 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); |