gmallios / SoundcoreManager

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

logs for Soundcore Liberty 4 NC LE A3947 as requested #162

Open souhaiebtar opened 5 months ago

souhaiebtar commented 5 months ago

Current status of Soundcore Liberty 4 NC LE (A3947 ) support:

@gmallios, soundCoreManager unstable (downloaded from link in the ReadMe) Inspect console logs from tauri.localhost-1714595725234.log

i saved logs corresponding to the RedLine using "Save as..." image

gmallios commented 5 months ago

Okay, there seems to be an issue in the UUID set detection code. If possible, please use an app (e.g. nRF Connect) to connect to the device and list all the BLE services and attach a screenshot.

souhaiebtar commented 5 months ago

@gmallios those are the screenshot requested from "nRF Connect" app on android

IMG_20240503_210003.jpg

IMG_20240503_210141.jpg

IMG_20240503_210152.jpg

Screenshot_2024-05-03-21-03-02-727_no.nordicsemi.android.mcp.jpg

IMG_20240503_210227.jpg

Screenshot_2024-05-03-21-02-00-633_no.nordicsemi.android.mcp.jpg

Screenshot_2024-05-03-21-02-54-347_no.nordicsemi.android.mcp.jpg

gmallios commented 5 months ago

@souhaiebtar Perfect, thanks! I've fixed a bug in the UUID set detection code, please try again using the latest unstable version.

souhaiebtar commented 5 months ago

@gmallios thank you, i tested it but it's showing

image

image

this is the btsnoop log from android, it contain the activation of the 3 mode: Normal, noise cancellation and transparency mode and maybe other information that i don't know off 😅

btsnoop_hci.log

you can open it using wireshark, and filter exactly using bluetooth.dst == e8:ee:cc:6d:47:8a to get data sent from android device to the liberty 4 nc

image

SoundCoreReversing project did help me to know how to get the data needed

gmallios commented 4 months ago

@gmallios thank you, i tested it but it's showing

image

image

this is the btsnoop log from android, it contain the activation of the 3 mode: Normal, noise cancellation and transparency mode and maybe other information that i don't know off 😅

btsnoop_hci.log

you can open it using wireshark, and filter exactly using bluetooth.dst == e8:ee:cc:6d:47:8a to get data sent from android device to the liberty 4 nc

image

SoundCoreReversing project did help me to know how to get the data needed

Those wireshark logs are very helpful! I believe there is enough data to parse the state response from the device, although that may take some time since some reverse engineering of the official app is needed. Some screenshots from the official app regarding the customizable buttons, ANC/Transparency options, settings screen and HearID screen will be very helpful to determining which features this device supports.

gmallios commented 4 months ago

@souhaiebtar Also, if possible, i want some wireshark captures of the following flow:

  1. Start Capturing with the app closed and not running in the background
  2. Write down the ANC mode, EQ settings, etc (as much as possible in order to verify my results)
  3. Go to the app and change a value regarding ANC while documenting the change
  4. Fully close the app and reopen it
  5. Repeat this for as many ANC settings as possible (changing custom anc settings can be skipped, e.g. setting it to 1 and 5 is fine, no need to capture in between)