mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge
synced 2024-11-28 12:56:49 +01:00
Sony Headphones: Fix protocol v2
This commit is contained in:
parent
0301d0e9a8
commit
5798466e55
@ -126,7 +126,7 @@ public class SonyHeadphonesProtocol extends GBDeviceProtocol {
|
||||
// LinkBuds S 2.0.2: 01:00:03:00:00:07:00:00
|
||||
// WH-1000XM5 1.1.3: 01:00:03:00:00:00:00:00
|
||||
// WF-1000XM5 2.0.1: 01:00:03:00:10:04:00:00
|
||||
protocolVersion = "v3";
|
||||
protocolVersion = "v2";
|
||||
} else {
|
||||
LOG.error("Unexpected init response payload length: {}", message.getPayload().length);
|
||||
return events.toArray(new GBDeviceEvent[0]);
|
||||
|
@ -3277,14 +3277,12 @@
|
||||
<item>@string/automatic</item>
|
||||
<item>@string/sony_protocol_v1</item>
|
||||
<item>@string/sony_protocol_v2</item>
|
||||
<item>@string/sony_protocol_v3</item>
|
||||
</string-array>
|
||||
|
||||
<string-array name="sony_protocol_version_values">
|
||||
<item>auto</item>
|
||||
<item>v1</item>
|
||||
<item>v2</item>
|
||||
<item>v3</item>
|
||||
</string-array>
|
||||
|
||||
<string-array name="sony_sound_position_names">
|
||||
|
Loading…
Reference in New Issue
Block a user