OSDN Git Service

Introduce pL2CA_Error_Cb
authorHansong Zhang <hsz@google.com>
Sat, 26 Sep 2020 23:39:28 +0000 (16:39 -0700)
committerHansong Zhang <hsz@google.com>
Mon, 28 Sep 2020 06:38:08 +0000 (23:38 -0700)
commitb6e5a07555c3759a213a0a154cec9d2e43da2f57
treebe55f640ba9c4553bca54f5c5bf1923d08fbc6ab
parent5020f1c00fecfddc8bd845304cea45f7da0c396d
Introduce pL2CA_Error_Cb

L2CAP notifies users error in ConnectRsp and ConfigRsp through this
callback function (not linked so far). Next step is we send success
through pL2CA_ConnectCfm_Cb and pL2CA_ConfigCfm_Cb.

Bug: 159815595
Tag: #refactor
Test: compile & verify basic functions working
Change-Id: I4456487d36248408fc1c31403d107baef05e3646
12 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/include/l2cdefs.h
stack/rfcomm/rfc_l2cap_if.cc
stack/sdp/sdp_main.cc