OSDN Git Service

L2cap channel cb: Store who initiated dynamic channel
authorHansong Zhang <hsz@google.com>
Sun, 27 Sep 2020 23:12:43 +0000 (16:12 -0700)
committerHansong Zhang <hsz@google.com>
Mon, 28 Sep 2020 18:55:20 +0000 (11:55 -0700)
commit7bfe49749a1f3de050e118b0d9e74b496c601942
treea2026c84b5ac151450180cbd93f75a146b3d5af2
parent40b23cc4ab05fd28c77b72f50a11cf99dda4d170
L2cap channel cb: Store who initiated dynamic channel

Use pL2CA_ConfigCfm_Cb to let user know the direction.

Later the user can run check in ConnectInd or ConnectCfm callback.

Bug: 159815595
Tag: #refactor
Test: compile & verify basic functions working
Change-Id: Iae663e6bea0fc9426c5dfbbfc52bd1ae848f2965
16 files changed:
stack/avct/avct_l2c.cc
stack/avct/avct_l2c_br.cc
stack/avdt/avdt_l2c.cc
stack/bnep/bnep_main.cc
stack/gap/gap_conn.cc
stack/gatt/gatt_main.cc
stack/hid/hidd_conn.cc
stack/hid/hidh_conn.cc
stack/include/l2c_api.h
stack/l2cap/l2c_api.cc
stack/l2cap/l2c_ble.cc
stack/l2cap/l2c_csm.cc
stack/l2cap/l2c_int.h
stack/l2cap/l2c_main.cc
stack/rfcomm/rfc_l2cap_if.cc
stack/sdp/sdp_main.cc