74 Commits

Author SHA1 Message Date
LIAUD Corentin
4d8e5d9367 chore: version 2.0.1 v2.0.1 2024-10-31 16:05:19 +01:00
Himadri Bhattacharjee
cff0e68f46 feat: autodetect an ADB device when no vendor or product ID is specified (#44)
* feat: autodetect an ADB device when no vendor or product ID is specified

### Changes

- Added methods `autodetect` to `autodetect_with_custom_private_key` to
`ADBUSBDevice`
- Added private functions to check if a usb device has the signature of
an ADB device
- Made the `vendor_id` and `product_id` USB arguments optional and
default to aforementioned methods

* fix: improve github actions workflows

---------

Co-authored-by: LIAUD Corentin <corentinliaud26@gmail.com>
2024-10-31 16:00:13 +01:00
LIAUD Corentin
266265ca35 feat: v2.0.0 v2.0.0 2024-10-25 18:13:11 +02:00
cocool97
479d2d9ade Support devices over usb (#40)
* feat: device interactions over USB (shell, push, pull, reboot for now)

* feat: parse vid and pid from hex as seen in lsusb output (#32)

* usb: Read RSA keypair from user home or generate them (#34)

* feat read keypair from user home or generate ephemeral ones
---------

Co-authored-by: LIAUD Corentin <corentin.liaud@orange.fr>
Co-authored-by: Himadri Bhattacharjee <107522312+lavafroth@users.noreply.github.com>
2024-10-25 18:09:41 +02:00
LIAUD Corentin
c53f5cc11b feat: update workflow 2024-10-24 12:21:29 +02:00
Jinke
95fe89a12c Fix RegexParsingError when parsing device list (#37) 2024-10-11 15:43:51 +02:00
cocool97
e37b6d47cc feat: add github actions (#39) 2024-10-11 15:33:00 +02:00
cocool97
d2d9ede8ab feat: add logo + rework README.md (#38) 2024-10-10 16:41:16 +02:00
cocool97
ed884b0d27 feat: should make crate usable on Windows (#35)
Co-authored-by: LIAUD Corentin <corentin.liaud@orange.fr>
2024-10-01 19:39:25 +02:00
LIAUD Corentin
2f39c13355 feat: v1.0.7 v1.0.7 2024-09-28 21:30:44 +02:00
LIAUD Corentin
488af2b9dd feat: improve performances of recv & send 2024-09-28 21:29:09 +02:00
LIAUD Corentin
83d716d685 release: 1.0.6 v1.0.6 2024-09-13 13:56:42 +02:00
Samuel Cavalcanti
101fafe4ec Fix pairing (#30)
* fix: pairing code that starts with 0

* feat: add`no_run` end `std::io::stdout` to pass in examples
---------

Co-authored-by: LIAUD Corentin <corentin.liaud@orange.fr>
2024-09-13 13:49:46 +02:00
LIAUD Corentin
251276c766 feat: add logcat + log crate 2024-09-05 16:54:39 +02:00
LIAUD Corentin
d00290c450 feat: release adb_cli version 1.0.4 2024-08-09 17:25:53 +02:00
LIAUD Corentin
265971bd6d bump: version 1.0.4 2024-08-09 17:20:57 +02:00
LIAUD Corentin
7abfa451d2 feat: add emu commands interface 2024-08-09 15:32:51 +02:00
LIAUD Corentin
fbb65373a8 fix: windows server start 2024-08-02 10:51:44 +02:00
LIAUD Corentin
aa22472952 feat: license; start server if not running 2024-08-02 10:49:22 +02:00
LIAUD Corentin
2919003a9b feat: add framebuffer command 2024-07-19 14:09:10 +02:00
LIAUD Corentin
1a62105565 feat: remove serial param from functions 2024-07-17 21:48:24 +02:00
LIAUD Corentin
1805c60e32 feat: add disconnect + rework with new archi 2024-07-17 20:43:11 +02:00
Valentin MILLET
24a6e49ab8 Remove useless error when connecting device 2024-07-17 20:43:11 +02:00
Valentin MILLET
13b69120f5 Fix regex for displaying devices in long format with IP:PORT 2024-07-17 20:43:11 +02:00
Valentin MILLET
a7b4cf7d80 Add pair and connect command 2024-07-17 20:43:11 +02:00
LIAUD Corentin
1342b4c34a feat: rework interface to add new transports 2024-07-17 20:07:52 +02:00
LIAUD Corentin
8a682f7472 feat: improve TCP connection management 2024-07-15 16:31:57 +02:00
LIAUD Corentin
3d3546106e feat: add AdbTcpConnection::new_with_default method 2024-07-15 15:25:21 +02:00
LIAUD Corentin
c6ffa2ff6b fix: Error message handling when FAIL 2024-07-15 10:33:51 +02:00
LIAUD Corentin
f46c996095 release: v1.0.3 v1.0.3 2024-07-13 19:02:52 +02:00
LIAUD Corentin
6fe4905bb7 fix: Error when reusing same connection 2024-07-13 19:01:15 +02:00
LIAUD Corentin
2a551182ec fix: README.md 2024-07-13 19:01:15 +02:00
LIAUD Corentin
3c5efb2dae fix: fix stdin read when using shell function 2024-07-13 19:01:15 +02:00
LIAUD Corentin
11d8621934 feat: clippy + bump deps v1.0.2 2024-06-29 12:56:34 +02:00
LIAUD Corentin
787b7b02fd fix: split get_body_length() into two methods 2024-06-29 12:37:22 +02:00
Daerckdev
b9b5c57f9d fix: get_body_length needs to handle hex length too 2024-06-20 14:28:49 +02:00
Daerckdev
84431f169f remove duplicate code 2024-06-20 14:02:54 +02:00
Daerckdev
08e9f4f512 fix: get_body_lenght method did not read bytes correctly 2024-06-20 13:16:38 +02:00
LIAUD Corentin
e0a7c9653c fix: Fix devices parsing in devices subcomand 1.0.1 2024-04-10 22:03:53 +02:00
LIAUD Corentin
5d971e2256 Release 1.0.0 2023-10-03 21:02:12 +02:00
Spedoske
ac1ce8caef return the shell command output from shell_command (#18)
* return the shell command output from shell_command

* fix exception when executing multiple shell commands

* Minor test fix

---------

Co-authored-by: LIAUD Corentin <corentin.liaud@orange.fr>
2023-10-03 20:52:10 +02:00
cocool97
ec7c4b2732 Fixes spelling (#14)
- AdbTcpConnexion -> AdbTcpConnection
- occured -> ocurred
2023-08-16 21:01:12 +02:00
LIAUD Corentin
c7ffe0f40b Release 0.7.0 2023-08-15 21:11:53 +02:00
jagenheim
fff8bd0c20 Sync functionality (#11)
* Sync functionality

Added the following sync commands:
SEND - Working as intended
RECV - Working as intended
STAT - Only checks if file exist
LIST - Untested due to device issues
---------

Co-authored-by: Fredrik Jagenheim <fjagenheim@jabra.com>
Co-authored-by: LIAUD Corentin <corentin.liaud@orange.fr>
2023-08-15 21:07:41 +02:00
cocool97
fc98bdc5a8 Merge pull request #13 from cocool97:fn-devices
Adb devices changes
2023-08-14 21:30:03 +02:00
LIAUD Corentin
7bf108e4c5 Adb devices changes
- Changes `track_devices` prototype to take impl Fn (issue #12)
- Adds "authorizing" state for device
- Bump dependencies
2023-08-14 21:28:13 +02:00
LIAUD Corentin
e13c0cb21b Releases 0.5.0 2023-04-07 09:13:48 +02:00
cocool97
7c6e618929 Merge pull request #8 from jagenheim/main
Allow host-feature to accept serial number of adb connection
2023-04-07 09:04:36 +02:00
Fredrik Jagenheim
7bc5a9ee49 Use references in API instead of Clone trait 2023-04-03 11:41:09 +02:00
Fredrik Jagenheim
129c855f2b Allow host-feature to accept serial number of adb connection 2023-03-30 14:46:50 +02:00