Trade secrets aren't an encumbrance if you discover them independently. Reverse engineering (for interop) is legal in the US. The only leg they have to stand on is patent infringement.
However reverse engineering, even for interop, doesn’t absolve you of EULA things you agreed to, which can include reverse engineering. And any such dispute can drag you into court for years and easily 10s of thousands of dollars, just to defend.