-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #51 from melianmiko/release/v0.15.0
v0.15.0 features
- Loading branch information
Showing
80 changed files
with
3,017 additions
and
1,402 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
#!/usr/bin/make -f | ||
|
||
%: | ||
dh $@ | ||
|
||
override_dh_auto_build: | ||
python ./scripts/make.py build | ||
|
||
override_dh_auto_install: | ||
python3 ./scripts/make.py install debian/openfreebuds/usr debian/openfreebuds/usr/lib/python3/dist-packages | ||
|
||
override_dh_clean: | ||
git clean -xfd -e accent.json |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
tar-ignore = "*venv" | ||
tar-ignore = ".git" | ||
tar-ignore = "accent.json" | ||
|
This file was deleted.
Oops, something went wrong.
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
# HUAWEI FreeBuds 6i | ||
|
||
Protocol: Huawei SPP, port 1 | ||
|
||
## Features | ||
|
||
- Fetch device information and battery level: ✅ | ||
- Fetch in-ear status: ✅ | ||
- Sound quality preference: ✅ | ||
- Low-latency mode: ✅ | ||
- Control noise cancellation: ✅ | ||
- With cancellation level | ||
- With dynamic cancellation | ||
- Set double-tap action: ✅ | ||
- Set triple-tap action: ✅ | ||
- Set swipe action: ✅ | ||
- Wear detection (aka auto-pause) configuration: ✅ | ||
- Set long-tap action: ✅ | ||
- Split configuration store | ||
- Change voice language: ✅ | ||
- English, Chinese | ||
- Dual connect: ✅ | ||
- Equalizer: ✅ | ||
- 4 built-in presets | ||
- 2 fake built-in presets (stored in application) | ||
- Up to ??? custom presets in-device memory | ||
|
||
## Not planned features | ||
|
||
- Firmware update |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
# HUAWEI FreeBuds Studio | ||
|
||
Protocol: Huawei SPP, port 1 | ||
|
||
## Features | ||
|
||
- Fetch device information and battery level: ❓ (untested) | ||
- Control noise cancellation: ❓ (untested) | ||
- With cancellation level | ||
- With dynamic cancellation | ||
- Wear detection (aka auto-pause) configuration: ❓ (untested) | ||
- Equalizer: ❓ (untested) | ||
- 3 built-in presets, hardcoded | ||
- AI Life didn't see current equalizer mode, looks like application or firmware bug | ||
- Change voice language: ❓ (no information, currently disabled) | ||
|
||
## Not planned features | ||
|
||
- Firmware update |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,18 @@ | ||
from openfreebuds.driver.generic_debug import * | ||
from openfreebuds.driver.huawei import * | ||
from openfreebuds.driver.huawei.driver.per_model.buds_studio import OfbDriverHuaweiStudio | ||
|
||
DEVICE_TO_DRIVER_MAP = { | ||
"HUAWEI FreeBuds 5i": OfbDriverHuawei5I, | ||
"HUAWEI FreeBuds SE": OfbDriverHuaweiSe, | ||
"HUAWEI FreeLace Pro": OfbDriverHuaweiLacePro, | ||
"HUAWEI FreeLace Pro 2": OfbDriverHuaweiLacePro2, | ||
"HUAWEI FreeBuds 4i": OfbDriverHuawei4I, | ||
"HONOR Earbuds 2": OfbDriverHuawei4I, | ||
"HUAWEI FreeBuds 4i": OfbDriverHuawei4I, | ||
"HUAWEI FreeBuds 5i": OfbDriverHuawei5I, | ||
"HUAWEI FreeBuds 6i": OfbDriverHuawei6I, | ||
"HUAWEI FreeBuds Pro": OfbDriverHuaweiPro, | ||
"HUAWEI FreeBuds Pro 2": OfbDriverHuaweiPro2, | ||
"HUAWEI FreeBuds Pro 3": OfbDriverHuaweiPro3, | ||
"HUAWEI FreeBuds SE": OfbDriverHuaweiSe, | ||
"HUAWEI FreeBuds Studio": OfbDriverHuaweiStudio, | ||
"HUAWEI FreeLace Pro": OfbDriverHuaweiLacePro, | ||
"HUAWEI FreeLace Pro 2": OfbDriverHuaweiLacePro2, | ||
"Debug: Virtual device": OfbFileDeviceDriver, | ||
} |
This file contains 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
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
from openfreebuds.driver.huawei.driver.generic import OfbDriverHuaweiGeneric | ||
from openfreebuds.driver.huawei.handler import * | ||
|
||
|
||
class OfbDriverHuawei6I(OfbDriverHuaweiGeneric): | ||
""" | ||
HUAWEI FreeBuds 6i | ||
""" | ||
def __init__(self, address): | ||
super().__init__(address) | ||
self._spp_service_port = 1 | ||
self.handlers = [ | ||
OfbHuaweiInfoHandler(), | ||
OfbHuaweiStateInEarHandler(), | ||
OfbHuaweiBatteryHandler(), | ||
OfbHuaweiAncHandler(w_cancel_lvl=True, w_cancel_dynamic=True), | ||
OfbHuaweiActionDoubleTapHandler(w_in_call=True), | ||
OfbHuaweiActionTripleTapHandler(), | ||
OfbHuaweiActionLongTapSplitHandler(w_right=True), | ||
OfbHuaweiActionSwipeGestureHandler(), | ||
OfbHuaweiConfigAutoPauseHandler(), | ||
OfnHuaweiSoundQualityPreferenceHandler(), | ||
OfbHuaweiLowLatencyPreferenceHandler(), | ||
OfbHuaweiEqualizerPresetHandler(w_presets={ | ||
1: "default", | ||
2: "hardbass", | ||
3: "treble", | ||
9: "voices", | ||
}, w_fake_built_in=True, w_custom=True), | ||
OfbHuaweiVoiceLanguageHandler(), | ||
OfbHuaweiDualConnectHandler(w_auto_connect=False), | ||
] |
19 changes: 19 additions & 0 deletions
19
openfreebuds/driver/huawei/driver/per_model/buds_studio.py
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
from openfreebuds.driver.huawei.driver.generic import OfbDriverHuaweiGeneric | ||
from openfreebuds.driver.huawei.handler import * | ||
|
||
|
||
class OfbDriverHuaweiStudio(OfbDriverHuaweiGeneric): | ||
def __init__(self, address): | ||
super().__init__(address) | ||
self._spp_service_port = 1 | ||
self.handlers = [ | ||
OfbHuaweiInfoHandler(), | ||
OfbHuaweiBatteryHandler(w_tws=False), | ||
OfbHuaweiAncHandler(w_cancel_lvl=True, w_cancel_dynamic=True, w_voice_boost=True), | ||
OfbHuaweiConfigAutoPauseHandler(), | ||
OfbHuaweiEqualizerPresetHandler(wo_read=True, w_presets={ | ||
1: "default", | ||
2: "hardbass", | ||
3: "treble", | ||
}), | ||
] |
Oops, something went wrong.