Repository navigation
Auracast link mode, stereo channel control, and working preset EQ for the Go 4 - #9
Open
StrangeSid wants to merge 4 commits into
Open
StrangeSid wants to merge 4 commits into
StrangeSid wants to merge 4 commits into
Conversation
- Go 4 and Go 4 Duo are verified: the EQ write captured on PID 20E4 reads back band for band. - Auracast uses the app's real switch, AA 6A 01 02 (0x6B/0x16 role), instead of the PartyBox token. - Left/right uses AA 15 03 00 46 0/1/2, with a Mono/Left/Right picker in the panel, main window and menu. - Read tokens 45/46/49/4C, AA A1/A2 group status, and Protocol 4 AuraCastMode/PartyChannelType. - Presets on the five-band models are JBL's biquad coefficient payload; the level form is ignored by the firmware. Signature/Chill/Vocal were verified on a Go 4. - 3-band models can select JBL Signature with AA 6E 02 01 00. - Firmware token 0x4D accepts the Go 4's ASCII form (30 36 34 30 -> 0.6.4.0). - Windows kit and catalog mirror the protocol; Swift 45 tests and C# 40 tests pass.
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What this does
Adds the multi-speaker controls JBL's own app uses, fixes preset EQ on the five-band models, and promotes the Go 4 to Verified.
AA 6A 01 02/AA 6A 01 00and theAA 6B/AA 16role reply — the real link-mode command, not the PartyBoxAA 13 04 00 3C …token.AA 15 03 00 46 0|1|2(JBL'sSetChannelCommand), plus a swap action and a "connect to the other unit" shortcut. AirTouch Duos stay read-only because their firmware picks the halves itself.AA A1/AA A2(type, channel, role, 4-byte group id), and Protocol 4AuraCastMode/PartyChannelTypefor the P4 models, so the same card works on the Go 4, Clip 5, Xtreme 4/5, Boombox 3/4, Flip 7 and Charge 6.DefaultPresetEQPayload: category + five fixed-point biquad coefficients per band. That encoder is ported (PresetEQ), and Signature/Chill/Vocal were confirmed on a Go 4 — theAA 99reply switched to 06/22/03 and echoed the coefficients. Custom EQ stays on the level frame.AA 6E 02 01 00), so Charge 5 / Flip 6 / Xtreme 3 / Boombox 2-3 are no longer custom-only.20E4reads back band for band, so20E4and210Aneed no experimental opt-in. The Duo (215C/2181) is the same firmware but stays Beta until someone captures it. Xtreme 4's AKM preset encoder is the one.legacyLevelsmodel not ported; its presets are hidden rather than left silently broken.30 36 34 30, which was rendered as48.54.52.48; it now shows0.6.4.0(the Flip 7's binary form still works).Hardware status
Verified on a single Go 4 (
20E4, firmware0.6.4.0): custom EQ write/read-back/restore, Signature/Chill/Vocal preset frames, channel ACK, and the link-mode reply.Not yet tested: a second Go 4, the actual L/R split, and the
AA A0group flow. The two-speaker test is the next step; the commands are the ones the decompiled app builds.One caveat found on hardware:
AA 6A 01 02puts the Go 4 into broadcast mode and it then stops answering new BLE control connections. JBLControl holds its own link, but if it drops, the speaker's Auracast button is the way out. That is documented indocs/PROTOCOL-GO4.md, and the UI explains the button flow.Protocol evidence
com.harman.ble.jbllink), decompiled with jadx:SetLinkModeCommand,SetChannelCommand,SetChannelLockCommand,ReqAuracastGroupCommand,SetAuraCastGroupCommand,SetAuracastGroupNonLLSCommand,DefaultPresetEQPayload.Tests/JBLControlKitTests/Go4Tests.swiftandAuracastTests.swift.docs/PROTOCOL-GO4.md.Tests
swift test).dotnet test windows/JBLControlKit.Windows.Tests).Windows gets the protocol, catalog, preset encoder and tests; the Windows panel UI for Auracast is not included in this PR. Both apps share the catalog, and it was regenerated with
scripts/generate-catalog.py.Try it
0x46 = 00outside a group; the app trusts the ACK.AA 99reply's active category should match.