Linux : Packet / buffer size of 64 bytes did not work and works with 65 bytes
We are facing 'Broken pipe' error in linux and mac with the packet size 64 bytes. With 64 bytes, working in windows.
dora@LinuxServer:~/CodeRepo/EmbeddedRust/rs-fido2-blink$ cargo run
Finished dev [unoptimized + debuginfo] target(s) in 0.01s
Running `target/debug/rs-fido2-blink`
Wrote: 64 byte(s)
Read: []
thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: HidApiError { message: "Broken pipe" }', src/main.rs:75:34
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
dora@LinuxServer:~/CodeRepo/EmbeddedRust/rs-fido2-blink$ cargo run
Finished dev [unoptimized + debuginfo] target(s) in 0.01s
Running `target/debug/rs-fido2-blink`
thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: HidApiError { message: "Broken pipe" }', src/main.rs:54:34
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
dora@LinuxServer:~/CodeRepo/EmbeddedRust/rs-fido2-blink$