gmallios / SoundcoreManager

Control Soundcore headphones with the power of Rust.
https://gmallios.github.io/SoundcoreManager/
121 stars 10 forks source link

Life Q30(A3028)/Life Tune (A3029) Support #9

Open gmallios opened 1 year ago

gmallios commented 1 year ago

Current status of Life Q30(A3028)/Life Tune (A3029) support

gmallios commented 1 year ago

@Maxcension I assume from your answer that EQ works, is that right?

Maxcension commented 1 year ago

@Maxcension I assume from your answer that EQ works, is that right?

Yup! And the changes are perfectly saved in the headset. If you need me to do or test anything, don't hesitate to ask me!

gmallios commented 1 year ago

@Maxcension Please test out the new build found in the README and let me know how it works out!

Maxcension commented 1 year ago

@gmallios Hey! The EQ works but there is no ANC anymore :(

New build: image Old build: image

gmallios commented 1 year ago

Sorry about that! I've pushed a new commit to fix it, it should be done building in 10 mins.

Maxcension commented 1 year ago

Sorry about that! I've pushed a new commit to fix it, it should be done building in 10 mins.

I'll test it :)

Btw, it's a detail but the image used for the headset has a thin white pixelated outline, why not using this one: blue Or this one (as the Q30 is mostly sold in black): black

gmallios commented 1 year ago

I can use those for sure! I exctract the images straight from the official Soundcore app but these look better. Thank you!

GabryDX commented 1 year ago

I'm experiencing connection problems on this device

image

It is recognized here but then it jsut keeps loading, and in console there are no errors and just this connection message:

image

I'm using the latest build at the moment. Thanks for the project and thanks in advance for the help.

gmallios commented 1 year ago

I'm experiencing connection problems on this device

image

It is recognized here but then it jsut keeps loading, and in console there are no errors and just this connection message:

image

I'm using the latest build at the moment. Thanks for the project and thanks in advance for the help.

Sorry to hear that, could you try an older build (this one)? You can find the file at the bottom of the page. image

GabryDX commented 1 year ago

Hi, thanks for the response. Yes, this older version loads instantly.

gmallios commented 1 year ago

@GabryDX Can you try the latest build? I want to know if the fix i pushed worked for other devices.

GabryDX commented 1 year ago

Hi, it is still not working. I can leave you here what I can see in the log file:

[2023-04-30][16:09:57][soundcoremanager::tray][DEBUG] Setting tray menu to connected status: false
[2023-04-30][16:09:59][bluetooth_lib::winrt::rfcomm][TRACE] Connecting to E8:EE:CC:46:4D:AB with uuid 00001101-0000-1000-8000-00805F9B34FB
[2023-04-30][16:10:12][tao::platform_impl::platform::event_loop::runner][WARN] NewEvents emitted without explicit RedrawEventsCleared
[2023-04-30][16:10:12][tao::platform_impl::platform::event_loop::runner][WARN] RedrawEventsCleared emitted without explicit MainEventsCleared

I don't know if the warning is linked to me opening the console, but anyway this is what I have, thank you for your patience.

gmallios commented 1 year ago

Hi, it is still not working. I can leave you here what I can see in the log file:

[2023-04-30][16:09:57][soundcoremanager::tray][DEBUG] Setting tray menu to connected status: false
[2023-04-30][16:09:59][bluetooth_lib::winrt::rfcomm][TRACE] Connecting to E8:EE:CC:46:4D:AB with uuid 00001101-0000-1000-8000-00805F9B34FB
[2023-04-30][16:10:12][tao::platform_impl::platform::event_loop::runner][WARN] NewEvents emitted without explicit RedrawEventsCleared
[2023-04-30][16:10:12][tao::platform_impl::platform::event_loop::runner][WARN] RedrawEventsCleared emitted without explicit MainEventsCleared

I don't know if the warning is linked to me opening the console, but anyway this is what I have, thank you for your patience.

Hmm, the warnings are unrelated and expected. I have pushed a new build with more verbose logging to see what's going on with the new Bluetooth API. What Windows version are you running? The WinRT SDK works for versions after Windows 10 build 10240.

GabryDX commented 1 year ago

Hi, I've tried the latest version and here are the logs:

[2023-05-02][22:15:23][soundcoremanager::tray][DEBUG] Setting tray menu to connected status: false
[2023-05-02][22:15:23][soundcoremanager::device][DEBUG] Closing device
[2023-05-02][22:15:24][bluetooth_lib::win32::scanner][DEBUG] Found 3 devices using win32 bt scan
[2023-05-02][22:15:26][bluetooth_lib::winrt::rfcomm][TRACE] Connecting to E8:EE:CC:46:4D:AB with uuid 00001101-0000-1000-8000-00805F9B34FB

My Windows 10 build is 19045.2846.

Thanks.

gmallios commented 1 year ago

@GabryDX I added some additional logs in the latest build, i can't replicate this on multiple Windows machines i own 😢

GabryDX commented 1 year ago

I have just tried the latest version and now it works. Just to be sure I have checked the previous one and that still does not work, so I think you really fixed that in this release, thanks! 😄

gmallios commented 1 year ago

Hmm, perfect! Windows APIs are magic 😆. It may not be stable, so i think a retry mechanism will be needed in the future 😕