ruabmbua / hidapi-rs

Rust bindings for the hidapi C library
MIT License
165 stars 79 forks source link

co2mon: do not decrypt if we don't need to #110

Closed carlosmn closed 1 year ago

carlosmn commented 1 year ago

Some devices with this VID/PID combination do not encrypt the response so we don't need to go through that.


As it happens I have one such device and was worried I had broken something :) But the co2mon crate has this same logic and I can test it against my TFA device which does not do the encryption.