Gadgetbridge/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/util
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
..
.gitignore Mi2: Initial support for wear location, hr during sleep and date format #323 2016-11-13 01:44:52 +01:00
AlarmUtils.java update license headers 2021-01-10 23:38:13 +01:00
AndroidUtils.java update license headers 2021-01-10 23:38:13 +01:00
ArrayUtils.java adding FitPro bands support 2021-09-21 16:37:19 +02:00
BcdUtil.java update license headers 2021-01-10 23:38:13 +01:00
BengaliLanguageUtils.java update license headers 2021-01-10 23:38:13 +01:00
BitmapUtil.java add_rotate_watchface_button_hybridhr (#2408) 2021-10-14 11:00:37 +02:00
BondingInterface.java Improved logging in bonding and tried to recover from weirdness 2021-05-30 01:00:48 +03:00
BondingUtil.java Fix connection on GBX-100 2021-09-23 18:28:45 +02:00
CheckSums.java Change CRC16 method 2021-11-13 21:43:05 +01:00
CRC32C.java update license headers 2021-01-10 23:38:13 +01:00
CryptoUtils.java Mi Band 6: Support sending encrypted packets on new firmware 2021-09-02 11:21:05 +02:00
DateTimeUtils.java make Activity Charts dates move as calendar months and to go to now if jumping past today 2021-04-02 16:07:36 +02:00
DeviceHelper.java device-bose-qc35 (#2520) 2021-12-27 15:37:04 +01:00
EmojiConverter.java update license headers 2021-01-10 23:38:13 +01:00
FileUtils.java adds a 'Delete files from export directory' to Data management 2021-01-10 23:39:38 +01:00
GB.java Hide timestamp from device notifications 2021-05-29 23:17:40 +02:00
GBPrefs.java Added ringtone preference setting. 2021-09-21 21:03:37 +02:00
GpxParser.java add UUID to to GPX with opentracks namespace 2021-01-17 00:07:55 +01:00
ImportExportSharedPreferences.java update license headers 2021-01-10 23:38:13 +01:00
JavaExtensions.java update license headers 2021-01-10 23:38:13 +01:00
KoreanLanguageUtils.java update license headers 2021-01-10 23:38:13 +01:00
LanguageUtils.java add Icelandic and Czech transliteration, fix 2388 2021-09-07 21:52:31 +02:00
LimitedQueue.java update license headers 2021-01-10 23:38:13 +01:00
NotificationUtils.java update license headers 2021-01-10 23:38:13 +01:00
PebbleUtils.java update license headers 2021-01-10 23:38:13 +01:00
Prefs.java update license headers 2021-01-10 23:38:13 +01:00
RtlUtils.java update license headers 2021-01-10 23:38:13 +01:00
StringUtils.java Fossil Hybrid HR: Show correct notification icons (#2251) 2021-04-20 09:55:27 +02:00
SwipeEvents.java update license headers 2021-01-10 23:38:13 +01:00
TimePreference.java update license headers 2021-01-10 23:38:13 +01:00
UriHelper.java update license headers 2021-01-10 23:38:13 +01:00
Version.java added util method to Version 2021-12-26 17:58:47 +01:00
WebViewSingleton.java update license headers 2021-01-10 23:38:13 +01:00
WidgetPreferenceStorage.java update license headers 2021-01-10 23:38:13 +01:00
XTimePreference.java update license headers 2021-01-10 23:38:13 +01:00
XTimePreferenceFragment.java update license headers 2021-01-10 23:38:13 +01:00