Loading system/stack/btm/btm_acl.c +0 −75 Original line number Diff line number Diff line Loading @@ -1378,81 +1378,6 @@ tBTM_STATUS BTM_SetLinkSuperTout (BD_ADDR remote_bda, UINT16 timeout) return(BTM_UNKNOWN_ADDR); } /******************************************************************************* ** ** Function BTM_SetPacketTypes ** ** Description This function is set the packet types used for a specific ** ACL connection, ** ** Returns status of the operation ** *******************************************************************************/ tBTM_STATUS BTM_SetPacketTypes (BD_ADDR remote_bda, UINT16 pkt_types) { tACL_CONN *p; BTM_TRACE_DEBUG ("BTM_SetPacketTypes"); if ((p = btm_bda_to_acl(remote_bda, BT_TRANSPORT_BR_EDR)) != NULL) return(btm_set_packet_types (p, pkt_types)); /* If here, no BD Addr found */ return(BTM_UNKNOWN_ADDR); } /******************************************************************************* ** ** Function BTM_ReadPacketTypes ** ** Description This function is set the packet types used for a specific ** ACL connection, ** ** Returns packet types supported for the connection, or 0 if no BD address ** *******************************************************************************/ UINT16 BTM_ReadPacketTypes (BD_ADDR remote_bda) { tACL_CONN *p; BTM_TRACE_DEBUG ("BTM_ReadPacketTypes"); p = btm_bda_to_acl(remote_bda, BT_TRANSPORT_BR_EDR); if (p != (tACL_CONN *)NULL) { return(p->pkt_types_mask); } /* If here, no BD Addr found */ return(0); } /******************************************************************************* ** ** Function BTM_ReadClockOffset ** ** Description This returns the clock offset for a specific ** ACL connection. ** ** Input Param remote_bda - device address of desired ACL connection ** ** Returns clock-offset or 0 if unknown ** *******************************************************************************/ UINT16 BTM_ReadClockOffset (BD_ADDR remote_bda) { tACL_CONN *p; BTM_TRACE_API ("BTM_ReadClockOffset: RemBdAddr: %02x%02x%02x%02x%02x%02x", remote_bda[0], remote_bda[1], remote_bda[2], remote_bda[3], remote_bda[4], remote_bda[5]); if ( (p = btm_bda_to_acl(remote_bda, BT_TRANSPORT_BR_EDR)) != NULL) return(p->clock_offset); /* If here, no BD Addr found */ return(0); } /******************************************************************************* ** ** Function BTM_IsAclConnectionUp Loading system/stack/include/btm_api.h +0 −40 Original line number Diff line number Diff line Loading @@ -2679,32 +2679,6 @@ extern tBTM_STATUS BTM_SetLinkSuperTout (BD_ADDR remote_bda, extern tBTM_STATUS BTM_GetLinkSuperTout (BD_ADDR remote_bda, UINT16 *p_timeout); /******************************************************************************* ** ** Function BTM_SetPacketTypes ** ** Description This function is set the packet types used for a specific ** ACL connection, ** ** Returns BTM_CMD_STARTED if successfully initiated, otherwise error ** *******************************************************************************/ extern tBTM_STATUS BTM_SetPacketTypes (BD_ADDR remote_bda, UINT16 pkt_types); /******************************************************************************* ** ** Function BTM_ReadPacketTypes ** ** Description This function is set the packet types used for the specified ** ACL connection, ** ** Returns packet types supported for the connection, or 0 if no BD address ** *******************************************************************************/ extern UINT16 BTM_ReadPacketTypes (BD_ADDR remote_bda); /******************************************************************************* ** ** Function BTM_IsAclConnectionUp Loading Loading @@ -2841,20 +2815,6 @@ extern tBTM_STATUS BTM_AclRegisterForChanges (tBTM_ACL_DB_CHANGE_CB *p_cb); *******************************************************************************/ extern UINT16 BTM_GetNumAclLinks (void); /******************************************************************************* ** ** Function BTM_ReadClockOffset ** ** Description This returns the clock offset for a specific ** ACL connection. ** ** Returns clock-offset or 0 if unknown ** *******************************************************************************/ extern UINT16 BTM_ReadClockOffset (BD_ADDR remote_bda); /******************************************************************************* ** ** Function BTM_SetQoS Loading Loading
system/stack/btm/btm_acl.c +0 −75 Original line number Diff line number Diff line Loading @@ -1378,81 +1378,6 @@ tBTM_STATUS BTM_SetLinkSuperTout (BD_ADDR remote_bda, UINT16 timeout) return(BTM_UNKNOWN_ADDR); } /******************************************************************************* ** ** Function BTM_SetPacketTypes ** ** Description This function is set the packet types used for a specific ** ACL connection, ** ** Returns status of the operation ** *******************************************************************************/ tBTM_STATUS BTM_SetPacketTypes (BD_ADDR remote_bda, UINT16 pkt_types) { tACL_CONN *p; BTM_TRACE_DEBUG ("BTM_SetPacketTypes"); if ((p = btm_bda_to_acl(remote_bda, BT_TRANSPORT_BR_EDR)) != NULL) return(btm_set_packet_types (p, pkt_types)); /* If here, no BD Addr found */ return(BTM_UNKNOWN_ADDR); } /******************************************************************************* ** ** Function BTM_ReadPacketTypes ** ** Description This function is set the packet types used for a specific ** ACL connection, ** ** Returns packet types supported for the connection, or 0 if no BD address ** *******************************************************************************/ UINT16 BTM_ReadPacketTypes (BD_ADDR remote_bda) { tACL_CONN *p; BTM_TRACE_DEBUG ("BTM_ReadPacketTypes"); p = btm_bda_to_acl(remote_bda, BT_TRANSPORT_BR_EDR); if (p != (tACL_CONN *)NULL) { return(p->pkt_types_mask); } /* If here, no BD Addr found */ return(0); } /******************************************************************************* ** ** Function BTM_ReadClockOffset ** ** Description This returns the clock offset for a specific ** ACL connection. ** ** Input Param remote_bda - device address of desired ACL connection ** ** Returns clock-offset or 0 if unknown ** *******************************************************************************/ UINT16 BTM_ReadClockOffset (BD_ADDR remote_bda) { tACL_CONN *p; BTM_TRACE_API ("BTM_ReadClockOffset: RemBdAddr: %02x%02x%02x%02x%02x%02x", remote_bda[0], remote_bda[1], remote_bda[2], remote_bda[3], remote_bda[4], remote_bda[5]); if ( (p = btm_bda_to_acl(remote_bda, BT_TRANSPORT_BR_EDR)) != NULL) return(p->clock_offset); /* If here, no BD Addr found */ return(0); } /******************************************************************************* ** ** Function BTM_IsAclConnectionUp Loading
system/stack/include/btm_api.h +0 −40 Original line number Diff line number Diff line Loading @@ -2679,32 +2679,6 @@ extern tBTM_STATUS BTM_SetLinkSuperTout (BD_ADDR remote_bda, extern tBTM_STATUS BTM_GetLinkSuperTout (BD_ADDR remote_bda, UINT16 *p_timeout); /******************************************************************************* ** ** Function BTM_SetPacketTypes ** ** Description This function is set the packet types used for a specific ** ACL connection, ** ** Returns BTM_CMD_STARTED if successfully initiated, otherwise error ** *******************************************************************************/ extern tBTM_STATUS BTM_SetPacketTypes (BD_ADDR remote_bda, UINT16 pkt_types); /******************************************************************************* ** ** Function BTM_ReadPacketTypes ** ** Description This function is set the packet types used for the specified ** ACL connection, ** ** Returns packet types supported for the connection, or 0 if no BD address ** *******************************************************************************/ extern UINT16 BTM_ReadPacketTypes (BD_ADDR remote_bda); /******************************************************************************* ** ** Function BTM_IsAclConnectionUp Loading Loading @@ -2841,20 +2815,6 @@ extern tBTM_STATUS BTM_AclRegisterForChanges (tBTM_ACL_DB_CHANGE_CB *p_cb); *******************************************************************************/ extern UINT16 BTM_GetNumAclLinks (void); /******************************************************************************* ** ** Function BTM_ReadClockOffset ** ** Description This returns the clock offset for a specific ** ACL connection. ** ** Returns clock-offset or 0 if unknown ** *******************************************************************************/ extern UINT16 BTM_ReadClockOffset (BD_ADDR remote_bda); /******************************************************************************* ** ** Function BTM_SetQoS Loading