1
0
mirror of https://codeberg.org/Freeyourgadget/Gadgetbridge synced 2024-07-09 23:21:34 +02:00
Gadgetbridge/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/model
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
..
ActivityAmount.java Update license headers 2020-01-09 10:44:32 +01:00
ActivityAmounts.java Update license headers 2020-01-09 10:44:32 +01:00
ActivityKind.java Huami: Add "Strength Training" activity type 2021-01-22 22:14:49 +01:00
ActivityPoint.java Update license headers 2020-01-09 10:44:32 +01:00
ActivitySample.java Update license headers 2020-01-09 10:44:32 +01:00
ActivitySession.java Add header-title to Activity detail 2021-03-08 09:59:14 +01:00
ActivitySummary.java Add Activity Summary Statistics Drawer 2020-08-21 23:51:46 +02:00
ActivitySummaryItems.java Improve Sports Activities dashboard and Filter 2020-11-26 17:19:08 +01:00
ActivitySummaryJsonSummary.java Additional Huami Summary fields 2021-12-20 12:18:28 +01:00
ActivitySummaryParser.java Do summary parsing on the fly if raw binary data is available 2020-08-18 10:39:44 +02:00
ActivityTrack.java Update license headers 2020-01-09 10:44:32 +01:00
ActivityUser.java Activity Card: React to User settings. Unify step length 2021-12-05 10:34:55 +01:00
Alarm.java Fixed a bunch of misspellings and formatting 2020-08-26 14:37:40 +03:00
AppNotificationType.java Add support for Telegram (from web) and Discord 2021-12-23 11:42:29 +01:00
BatteryConfig.java Multi-battery: further improvements: 2021-11-02 21:15:25 +01:00
BatteryState.java Update license headers 2020-01-09 10:44:32 +01:00
CalendarEvents.java Fixed a bunch of misspellings and formatting 2020-08-26 14:37:40 +03:00
CalendarEventSpec.java Update license headers 2020-01-09 10:44:32 +01:00
CallSpec.java Stop an incoming VoIP call notification when the call is answered 2020-01-30 00:31:00 +03:00
CannedMessagesSpec.java Pebble: move canned message to per-device settings (including migration) 2020-10-13 00:27:22 +02:00
DailyTotals.java Add Activity info into Device Card. (#2453) 2021-11-18 12:22:43 +01:00
DeviceService.java Sony WF-SP800N: Initial Support 2021-12-26 19:17:21 +01:00
DeviceType.java device-bose-qc35 (#2520) 2021-12-27 15:37:04 +01:00
GenericItem.java Added PineTime (InfiniTime) Nordic DFU support 2020-10-11 19:16:31 +03:00
GPSCoordinate.java Add GPS fragment to Sport Activity detail 2020-10-24 18:27:51 +02:00
ItemWithDetails.java Update license headers 2020-01-09 10:44:32 +01:00
Measurement.java Update license headers 2020-01-09 10:44:32 +01:00
MusicSpec.java Added support for more music information with backwards compatibility 2020-10-11 14:23:20 +03:00
MusicStateSpec.java Added support for more music information with backwards compatibility 2020-10-11 14:23:20 +03:00
NotificationSpec.java Add support for native Do Not Disturb functionality on Fossil watches 2021-11-23 17:22:27 +01:00
NotificationType.java Add support for Telegram (from web) and Discord 2021-12-23 11:42:29 +01:00
RecordedDataTypes.java Update license headers 2020-01-09 10:44:32 +01:00
Reminder.java Mi Band 3: Add support for Reminders 2021-12-11 22:39:18 +01:00
SummaryOfDay.java Update license headers 2020-01-09 10:44:32 +01:00
TimeStamped.java Update license headers 2020-01-09 10:44:32 +01:00
ValidByDate.java Update license headers 2020-01-09 10:44:32 +01:00
Weather.java adding FitPro bands support 2021-09-21 16:37:19 +02:00
WeatherSpec.java huami: send windspeed in beaufort (#2247) 2021-04-21 17:12:20 +02:00