Open 4o3F opened 1 year ago
I'm also interested by this feature, and I think it will be nice to have also a connection process too, to a specific ip and port device.
I cloned this lib in a personal project and made these thing working but not ready to PR. And also, I had a error about buffer when using multiple time a instance of AdbTcpConnection (needed if we want pairing process right before connect process) that I handle by recreating each time a new connection. I will be more specific if it is of interest
I've also made a proof of concept code here https://github.com/4o3F/Antagonism Also I'm happy to help with implementing this feature here
Would be happy to see how you implement it, even if not ready yet ! Adding a pairing process Inside this library would be profitable to everyone !
Have you a minimum reproductible example for the issue you pinpointed ? Can you open a second issue to track this issue ?
Have you a minimum reproductible example for the issue you pinpointed ? Can you open a second issue to track this issue ?
I've made a reproducible demo here, https://github.com/4o3F/Antagonism , but it's code organize os a disaster since it's the first project I made with rust
Use a cli command like cargo run -- pair --host PAIR_IP --port PAIR_PORT --code PAIR_CODE
I've also implemented part of the TLS communication protocol in protocol.rs
, I'll clean up the code soon
Is it possible to implement the ADB pairing process? For Android version >= 11, pairing is needed before connection.