def test_ATT_Client_Exchange_MTU(self, iut, valid): btp.gap_conn(iut, self.config.tester_addr) btp.gap_wait_for_connection(iut) btp.gattc_exchange_mtu(iut, self.config.tester_addr) tuple_hdr, tuple_data = iut.btp_worker.read() try: btp.btp_hdr_check(tuple_hdr, defs.BTP_SERVICE_ID_GATT, defs.GATT_EXCHANGE_MTU) except BTPErrorInvalidStatus: pass
def hdl_wid_12(desc): btp.gattc_exchange_mtu(btp.pts_addr_type_get(), btp.pts_addr_get()) return True
def hdl_wid_12(_: WIDParams): btp.gattc_exchange_mtu(btp.pts_addr_type_get(), btp.pts_addr_get()) return True