SoundcoreManager icon indicating copy to clipboard operation
SoundcoreManager copied to clipboard

logs for Soundcore Liberty 4 NC LE A3947 as requested

Open souhaiebtar opened this issue 2 months ago • 6 comments

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

  • [ ] Connection
  • [ ] Fetch device status
  • [ ] ANC
  • [ ] EQ
  • [ ] UI
  • [ ] Response Checksum Validation

@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

souhaiebtar avatar May 01 '24 20:05 souhaiebtar

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.

gmallios avatar May 01 '24 21:05 gmallios

@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

souhaiebtar avatar May 03 '24 20:05 souhaiebtar

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

gmallios avatar May 04 '24 13:05 gmallios

@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

souhaiebtar avatar May 04 '24 15:05 souhaiebtar

@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 avatar May 07 '24 17:05 gmallios

@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)

gmallios avatar May 09 '24 22:05 gmallios