Loading system/main/shim/l2c_api.cc +0 −9 Original line number Diff line number Diff line Loading @@ -178,15 +178,6 @@ bool bluetooth::shim::L2CA_GetPeerLECocConfig(uint16_t lcid, return false; } /** * Channel Data Writes */ bool bluetooth::shim::L2CA_SetConnectionCallbacks( uint16_t cid, const tL2CAP_APPL_INFO* callbacks) { LOG_INFO("Unsupported API %s", __func__); return false; } uint8_t bluetooth::shim::L2CA_DataWrite(uint16_t cid, BT_HDR* p_data) { bool write_success = shim_l2cap.Write(cid, p_data); return write_success ? L2CAP_DW_SUCCESS : L2CAP_DW_FAILED; Loading system/main/shim/l2c_api.h +0 −8 Original line number Diff line number Diff line Loading @@ -203,14 +203,6 @@ bool L2CA_ConnectLECocRsp(const RawAddress& p_bd_addr, uint8_t id, ******************************************************************************/ bool L2CA_GetPeerLECocConfig(uint16_t lcid, tL2CAP_LE_CFG_INFO* peer_cfg); // This function sets the callback routines for the L2CAP connection referred to // by |local_cid|. The callback routines can only be modified for outgoing // connections established by |L2CA_ConnectReq| or accepted incoming // connections. |callbacks| must not be NULL. This function returns true if the // callbacks could be updated, false if not (e.g. |local_cid| was not found). bool L2CA_SetConnectionCallbacks(uint16_t local_cid, const tL2CAP_APPL_INFO* callbacks); /******************************************************************************* * * Function L2CA_ErtmConnectRsp Loading Loading
system/main/shim/l2c_api.cc +0 −9 Original line number Diff line number Diff line Loading @@ -178,15 +178,6 @@ bool bluetooth::shim::L2CA_GetPeerLECocConfig(uint16_t lcid, return false; } /** * Channel Data Writes */ bool bluetooth::shim::L2CA_SetConnectionCallbacks( uint16_t cid, const tL2CAP_APPL_INFO* callbacks) { LOG_INFO("Unsupported API %s", __func__); return false; } uint8_t bluetooth::shim::L2CA_DataWrite(uint16_t cid, BT_HDR* p_data) { bool write_success = shim_l2cap.Write(cid, p_data); return write_success ? L2CAP_DW_SUCCESS : L2CAP_DW_FAILED; Loading
system/main/shim/l2c_api.h +0 −8 Original line number Diff line number Diff line Loading @@ -203,14 +203,6 @@ bool L2CA_ConnectLECocRsp(const RawAddress& p_bd_addr, uint8_t id, ******************************************************************************/ bool L2CA_GetPeerLECocConfig(uint16_t lcid, tL2CAP_LE_CFG_INFO* peer_cfg); // This function sets the callback routines for the L2CAP connection referred to // by |local_cid|. The callback routines can only be modified for outgoing // connections established by |L2CA_ConnectReq| or accepted incoming // connections. |callbacks| must not be NULL. This function returns true if the // callbacks could be updated, false if not (e.g. |local_cid| was not found). bool L2CA_SetConnectionCallbacks(uint16_t local_cid, const tL2CAP_APPL_INFO* callbacks); /******************************************************************************* * * Function L2CA_ErtmConnectRsp Loading