diff options
Diffstat (limited to 'main')
-rw-r--r-- | main/shim/l2c_api.cc | 17 | ||||
-rw-r--r-- | main/shim/l2c_api.h | 24 |
2 files changed, 0 insertions, 41 deletions
diff --git a/main/shim/l2c_api.cc b/main/shim/l2c_api.cc index ccfb8795b..f9676db58 100644 --- a/main/shim/l2c_api.cc +++ b/main/shim/l2c_api.cc @@ -240,23 +240,6 @@ uint8_t bluetooth::shim::L2CA_SetDesireRole(uint8_t new_role) { } /** - * Ping APIs - */ -bool bluetooth::shim::L2CA_Ping(const RawAddress& p_bd_addr, - tL2CA_ECHO_RSP_CB* p_callback) { - LOG_INFO(LOG_TAG, "UNIMPLEMENTED %s addr:%s p_callback:%p", __func__, - p_bd_addr.ToString().c_str(), p_callback); - return false; -} - -bool bluetooth::shim::L2CA_Echo(const RawAddress& p_bd_addr, BT_HDR* p_data, - tL2CA_ECHO_DATA_CB* p_callback) { - LOG_INFO(LOG_TAG, "UNIMPLEMENTED %s addr:%s p_callback:%p", __func__, - p_bd_addr.ToString().c_str(), p_callback); - return false; -} - -/** * Link APIs */ bool bluetooth::shim::L2CA_SetIdleTimeoutByBdAddr(const RawAddress& bd_addr, diff --git a/main/shim/l2c_api.h b/main/shim/l2c_api.h index 83f3afa26..011a77bb6 100644 --- a/main/shim/l2c_api.h +++ b/main/shim/l2c_api.h @@ -287,30 +287,6 @@ bool L2CA_DisconnectRsp(uint16_t cid); ******************************************************************************/ uint8_t L2CA_DataWrite(uint16_t cid, BT_HDR* p_data); -/******************************************************************************* - * - * Function L2CA_Ping - * - * Description Higher layers call this function to send an echo request. - * - * Returns true if echo request sent, else false. - * - ******************************************************************************/ -bool L2CA_Ping(const RawAddress& p_bd_addr, tL2CA_ECHO_RSP_CB* p_cb); - -/******************************************************************************* - * - * Function L2CA_Echo - * - * Description Higher layers call this function to send an echo request - * with application-specific data. - * - * Returns true if echo request sent, else false. - * - ******************************************************************************/ -bool L2CA_Echo(const RawAddress& p_bd_addr, BT_HDR* p_data, - tL2CA_ECHO_DATA_CB* p_callback); - // Given a local channel identifier, |lcid|, this function returns the bound // remote channel identifier, |rcid|, and the ACL link handle, |handle|. If // |lcid| is not known or is invalid, this function returns false and does not |