1
0
mirror of https://codeberg.org/Freeyourgadget/Gadgetbridge synced 2024-07-03 11:33:19 +02:00
Gadgetbridge/app/src/main/java/nodomain/freeyourgadget/gadgetbridge
dakhnod b0ed617072 device-bose-qc35 (#2520)
This PR adds not only the device Bose QC35,
it also adds the following autop-reconnect feature:
When the headphones are turned on, the initiate a connection with the phone.
With this change, GB is notified about said change, and tries to establish a connection to the newly connected device, if the appropriate device setting is set.

The QC35 headpones always have NC turned on after boot, thus the main feature of this implementation is to turn off NC as soon as the headphones are turned on and connected to the phone.

I am open for discussion regarding the implementation, but this seems like a good first proposal.

What is missing is the ability to connect to multiple devices, since in many cases headphones can be connected to the watch simultaniously to a smartwatch or other gadget.

Reviewed-on: https://codeberg.org/Freeyourgadget/Gadgetbridge/pulls/2520
Co-authored-by: dakhnod <dakhnod@noreply.codeberg.org>
Co-committed-by: dakhnod <dakhnod@noreply.codeberg.org>
2021-12-27 15:37:04 +01:00
..
activities device-bose-qc35 (#2520) 2021-12-27 15:37:04 +01:00
adapter Sony WF-SP800N: Initial Support 2021-12-26 19:17:21 +01:00
contentprovider update license headers 2021-01-10 23:38:13 +01:00
database Mi Band 3: Add support for Reminders 2021-12-11 22:39:18 +01:00
deviceevents Roidmi: Slight code cleanup 2021-12-26 18:27:01 +01:00
devices device-bose-qc35 (#2520) 2021-12-27 15:37:04 +01:00
entities add missing AbstractFitProActivitySample from entities (excluded by gitignore) 2021-09-24 10:00:36 +02:00
export add UUID to to GPX with opentracks namespace 2021-01-17 00:07:55 +01:00
externalevents Add support for native Do Not Disturb functionality on Fossil watches 2021-11-23 17:22:27 +01:00
impl Sony WF-SP800N: Initial Support 2021-12-26 19:17:21 +01:00
model device-bose-qc35 (#2520) 2021-12-27 15:37:04 +01:00
service device-bose-qc35 (#2520) 2021-12-27 15:37:04 +01:00
util device-bose-qc35 (#2520) 2021-12-27 15:37:04 +01:00
GBApplication.java Galaxy Buds: migrate ambient volume preference to SeekBar 2021-11-07 11:05:33 +01:00
GBEnvironment.java Update license headers 2020-01-09 10:44:32 +01:00
GBException.java update license headers 2021-01-10 23:38:13 +01:00
LockHandler.java Update license headers 2020-01-09 10:44:32 +01:00
Logging.java update license headers 2021-01-10 23:38:13 +01:00
LoggingExceptionHandler.java update license headers 2021-01-10 23:38:13 +01:00
SleepAlarmWidget.java Activity Card: React to User settings. Unify step length 2021-12-05 10:34:55 +01:00
Widget.java Activity Card: React to User settings. Unify step length 2021-12-05 10:34:55 +01:00