SoundcoreManager icon indicating copy to clipboard operation
SoundcoreManager copied to clipboard

Soundcore A3i (A3992) Support

Open gmallios opened this issue 1 year ago • 1 comments

Current status of Soundcore A3i (A3992) support

  • [ ] Connection
  • [ ] Fetch device status
  • [ ] ANC
    • [ ] Remove/Don't use non-supported profiles
    • [ ] Check if the commands are the same as A3951 (Should be)
  • [ ] EQ
  • [ ] UI
    • [ ] OverviewCard
    • [ ] ANCModeCard - Remove Custom option and Transparent sub-options
  • [ ] Response Checksum Validation - Need to figure out propper response length
    • [ ] DeviceStatus Reponse Length
    • [ ] DeviceInfo Response Length

gmallios avatar Feb 19 '23 12:02 gmallios

Hello,

I have a pair of SC A3i's and I am on Ubuntu 23.10. I would like to help to test the implementation for this model of earbuds, but I cannot build the software in this repository. When I try to follow the instructions in your README.md file to run in debug mode, I get this error message:

error[E0433]: failed to resolve: use of undeclared crate or module `windows`

  --> /home/beeper/Projects/SoundcoreManager/bluetooth-lib/src/error.rs:27:17

   |

27 |         source: windows::core::Error,

   |                 ^^^^^^^ use of undeclared crate or module `windows`

I also got the same error message (after installing a few other libraries) when I tried the step to "build and create an installer". Note that I use yarnpkg instead of yarn because that is the command on my OS. I commented out the section of the code that was spitting out an error, replacing it with "WindowsError" so that it looked like most of the other ones in that file, but then I got a new message when trying to compile or run:

error[E0432]: unresolved import `bluetooth_lib::platform::RFCOMM`

 --> /home/beeper/Projects/SoundcoreManager/soundcore-lib/src/devices/A3027Device.rs:2:21

  |

2 | use bluetooth_lib::{platform::RFCOMM, BluetoothAdrr, RFCOMMClient};

  |                     ^^^^^^^^^^^^^^^^ no `RFCOMM` in `platform`



error[E0432]: unresolved import `bluetooth_lib::platform::RFCOMM`

  --> /home/beeper/Projects/SoundcoreManager/soundcore-lib/src/devices/A3040Device.rs:18:21

   |

18 | use bluetooth_lib::{platform::RFCOMM, BluetoothAdrr, RFCOMMClient};

   |                     ^^^^^^^^^^^^^^^^ no `RFCOMM` in `platform`



error[E0432]: unresolved import `bluetooth_lib::platform::RFCOMM`

 --> /home/beeper/Projects/SoundcoreManager/soundcore-lib/src/devices/A3935Device.rs:2:21

  |

2 | use bluetooth_lib::{platform::RFCOMM, BluetoothAdrr, RFCOMMClient};

  |                     ^^^^^^^^^^^^^^^^ no `RFCOMM` in `platform`



error[E0432]: unresolved import `bluetooth_lib::platform::RFCOMM`

 --> /home/beeper/Projects/SoundcoreManager/soundcore-lib/src/devices/A3951Device.rs:2:21

  |

2 | use bluetooth_lib::{platform::RFCOMM, BluetoothAdrr, RFCOMMClient};

  |                     ^^^^^^^^^^^^^^^^ no `RFCOMM` in `platform`

I don't know what this means. Maybe you have no desire to support Linux users, but if I can get your software to run on my computer then I can test out functionality for the A3i's. I know jack diddly about Rust.

rs-gh-asdf avatar Dec 18 '23 00:12 rs-gh-asdf