Loading system/main/shim/l2c_api.cc +3 −2 Original line number Diff line number Diff line Loading @@ -112,8 +112,9 @@ bool bluetooth::shim::L2CA_DisconnectReq(uint16_t cid) { /** * Le Connection Oriented Channel APIs */ uint16_t bluetooth::shim::L2CA_RegisterLECoc( uint16_t psm, const tL2CAP_APPL_INFO& callbacks) { uint16_t bluetooth::shim::L2CA_RegisterLECoc(uint16_t psm, const tL2CAP_APPL_INFO& callbacks, uint16_t sec_level) { LOG_INFO("UNIMPLEMENTED %s psm:%hd", __func__, psm); return 0; } Loading system/main/shim/l2c_api.h +2 −1 Original line number Diff line number Diff line Loading @@ -118,7 +118,8 @@ uint16_t L2CA_ConnectReq(uint16_t psm, const RawAddress& p_bd_addr); * and BTM_SetSecurityLevel(). * ******************************************************************************/ uint16_t L2CA_RegisterLECoc(uint16_t psm, const tL2CAP_APPL_INFO& p_cb_info); uint16_t L2CA_RegisterLECoc(uint16_t psm, const tL2CAP_APPL_INFO& p_cb_info, uint16_t sec_level); /******************************************************************************* * Loading system/stack/l2cap/l2c_api.cc +1 −1 Original line number Diff line number Diff line Loading @@ -366,7 +366,7 @@ uint16_t L2CA_ConnectReq(uint16_t psm, const RawAddress& p_bd_addr) { uint16_t L2CA_RegisterLECoc(uint16_t psm, const tL2CAP_APPL_INFO& p_cb_info, uint16_t sec_level) { if (bluetooth::shim::is_gd_shim_enabled()) { return bluetooth::shim::L2CA_RegisterLECoc(psm, p_cb_info); return bluetooth::shim::L2CA_RegisterLECoc(psm, p_cb_info, sec_level); } BTM_SetSecurityLevel(false, "", 0, sec_level, psm, 0, 0); Loading Loading
system/main/shim/l2c_api.cc +3 −2 Original line number Diff line number Diff line Loading @@ -112,8 +112,9 @@ bool bluetooth::shim::L2CA_DisconnectReq(uint16_t cid) { /** * Le Connection Oriented Channel APIs */ uint16_t bluetooth::shim::L2CA_RegisterLECoc( uint16_t psm, const tL2CAP_APPL_INFO& callbacks) { uint16_t bluetooth::shim::L2CA_RegisterLECoc(uint16_t psm, const tL2CAP_APPL_INFO& callbacks, uint16_t sec_level) { LOG_INFO("UNIMPLEMENTED %s psm:%hd", __func__, psm); return 0; } Loading
system/main/shim/l2c_api.h +2 −1 Original line number Diff line number Diff line Loading @@ -118,7 +118,8 @@ uint16_t L2CA_ConnectReq(uint16_t psm, const RawAddress& p_bd_addr); * and BTM_SetSecurityLevel(). * ******************************************************************************/ uint16_t L2CA_RegisterLECoc(uint16_t psm, const tL2CAP_APPL_INFO& p_cb_info); uint16_t L2CA_RegisterLECoc(uint16_t psm, const tL2CAP_APPL_INFO& p_cb_info, uint16_t sec_level); /******************************************************************************* * Loading
system/stack/l2cap/l2c_api.cc +1 −1 Original line number Diff line number Diff line Loading @@ -366,7 +366,7 @@ uint16_t L2CA_ConnectReq(uint16_t psm, const RawAddress& p_bd_addr) { uint16_t L2CA_RegisterLECoc(uint16_t psm, const tL2CAP_APPL_INFO& p_cb_info, uint16_t sec_level) { if (bluetooth::shim::is_gd_shim_enabled()) { return bluetooth::shim::L2CA_RegisterLECoc(psm, p_cb_info); return bluetooth::shim::L2CA_RegisterLECoc(psm, p_cb_info, sec_level); } BTM_SetSecurityLevel(false, "", 0, sec_level, psm, 0, 0); Loading