Commit Graph

31 Commits

Author SHA1 Message Date
Lukasz Mastalerz
f7ad63c951 [BH-1412] Fix services dependencies
Changes in dependecy managment
Replacing state flags with states in ServiceGUI
Unifying some parts of code
2023-08-01 17:22:48 +02:00
Lefucjusz
6ed82f3fa3 [MOS-1005] Fix handsfree ringing after caller hangs up
* Fix of the issue that incoming call triggered
handsfree ringing which didn't stop after
calling side hung up.
* Cleanup of several places in code, minor
bluetooth <-> cellular integration refactor.
2023-07-17 15:16:29 +02:00
Adam Wulkiewicz
fe708cdf31 [MOS-670] Change clang-format AlwaysBreakTemplateDeclarations to Yes
Add --all and --fix-all options to style-check-hook
2022-08-26 15:22:39 +02:00
Adam Dobrowolski
2664e8ccec [MOS-487] Move switch case to sm
massive switch case removed
added logger
moved state machine implementation
added double dispatch
2022-05-26 16:19:02 +02:00
Bartosz Cichocki
9f30620451 [MOS-383] Fix pairing with NoInputNoOutput devices
Fixed pairing with devices without IO capabilities -
now pairing does not require confirming any passcode
2022-04-26 14:18:46 +02:00
Bartosz Cichocki
d59ac56d51 [MOS-347] Separate A2DP from HFP in ProfileManager
Now, both profiles can operate separately. Additonally, minor
fixes has been applied to allow calling via car audio system.
Some infotainment systems still don't work though.
2022-04-25 10:26:38 +02:00
Bartosz Cichocki
28c9acd1de [MOS-124] Add Code Comparision pairing logic
Added missing logic for code comparison pairing, fixed popup text
2022-03-17 09:34:07 +01:00
Przemyslaw Brudny
ad3aa54b66 [MOS-123] Added bluetooth authentication popups
Added bluetooth authentication popups with different
pair methods and process info display.
2022-03-03 20:37:16 +01:00
Adam Dobrowolski
76c924fd5e [EGD-8002] Added SSP, fixed some minor issues, removed obsolete code
ssp seems working
minor crash fixups
copy lacks patched
obsolete code removed
Devicei tests added for added code and cleanup
Added missing tests for new functions
Code cleaned up a bit - mostly moved to cpp
2021-12-09 12:42:33 +01:00
Jakub Pyszczak
1b2dbc813c [EGD-7931] Fixed bt pairing
Fixed bluetooth pairing for devices with long names.
2021-11-18 14:07:14 +00:00
Bartosz Cichocki
8581bef2b1 [EGD-7799] Revert enable SSP authorised pairing
This reverts commit 649cacd1c3 as
the SSP was not working properly with all devices
2021-10-26 10:08:43 +02:00
Jakub Pyszczak
7c75cdaf9d [EGD-7849] Fixed compilation with sensitive logs
Fixed compilation with sensitive data flag being turned on.
2021-10-25 13:21:49 +01:00
Bartosz Cichocki
649cacd1c3 [EGD-7799] Enable SSP authorised pairing
This enables Simple Secure Pairing which is required to pair
from another device (device -> Pure). As for now, only KeyboardOnly
capabilities are enabled as we have all frontend and backend
already enabled for entering the pin code/passkey
2021-10-15 13:43:57 +02:00
Marcin Smoczyński
bd90e57516 [BH-907] Split utils module into components
Split module-utils into smaller components for better dependency
management. Fix many dependencies throughout the project.

Signed-off-by: Marcin Smoczyński <smoczynski.marcin@gmail.com>
2021-09-23 15:14:40 +02:00
Bartosz Cichocki
8145a88401 [EGD-7077] Rework of BT connection status in AppSettings
Reworked AppSettings handling of BT devices to be prepared for
handling the HFP profile, eliminating by the way few bugs and
speeding up the flow (by getting rid of few refreshes).

Added unit tests for handling the BT devices flow
2021-09-10 13:19:29 +02:00
Bartosz Cichocki
e4f506b56d [EGD-7149] Fix connecting BT devices
Some devices were giving different results after querying for
Class of Device (CoD) and our filters were too restrictive.

Now filtering only take place at pairing, so every suitable
device can be connected
2021-07-13 15:59:14 +02:00
Przemyslaw Brudny
ee2c085e56 [EGD-7130] Renamed settings application
Renamed settings application.
2021-07-09 18:20:12 +02:00
Jakub Pyszczak
da24f4fd88 [EGD-7003] Removed sensitive data bt
Sensitive data removed from logs in module bluetooth
and service bluetooth.
2021-06-29 17:09:10 +02:00
Lukasz Skrzypczak
7fee0d9cfb [BH-378] Utils move log to library
Moved log to separate library
2021-06-08 12:24:29 +02:00
Bartosz Cichocki
52d5a35c1b [EGD-6447] Add Bluetooth PIN pairing
Implemented legacy pairing using PIN code
2021-05-25 16:12:01 +02:00
Tomasz Langowski
2de63da943 [EGD-5954] Add CoD verification for bluetooth conn
Implement selective profile connection based on Class of Device
2021-03-17 12:58:45 +01:00
Pawel Olejniczak
72ac24f2e8 [EGD-6073] Fix text formatting in retry windows
Error message in retry windows was displayed incorrectly.
2021-03-10 15:23:15 +01:00
Pawel Olejniczak
77faaaec7f [EGD-6024] Return to All Devices window after attempt to retry action
Execution of retry pairing/unpairing/connecting took too long
to wait for it on retry popup. Fixed minor bugs.
2021-03-05 09:57:46 +01:00
SP2FET
d325f1bd43 [EGD-5984] Add BT implementation of added GUI actions
Implemented BT-side actions for GUI usage, e.g. connection status
2021-03-03 12:42:50 +01:00
SP2FET
b911ad9044 [EGD-5940] Add BT device unpairing
Implemented possibility to forget/unpair a device via GUI
2021-03-03 08:40:59 +01:00
SP2FET
b055eee371 [EGD-5981] Fix BT scan stop issue
Btstack's scan stop call was not working properly thus force stop
function has been added
2021-03-02 11:03:17 +01:00
SP2FET
d1fe9bc520 [EGD-5977] Fix empty BT devices list after pairing
After changing flow of settings windows, the stopScan command
is being executed right after executing pairing, so cleaning the
scan devices list is being done on scan start
2021-03-01 16:33:30 +01:00
Pawel Olejniczak
1e219f3c5c [EGD-2634] Add pairing process result confirmation
Enable pairing BT devices in settings.
Connect popup and add adjust messages for pairing error handling.
2021-02-25 11:36:15 +01:00
SP2FET
3d3b997cc0 [EGD-5856] Update Btstack
Updated to the latest version, fixes few bugs
2021-02-24 08:33:41 +01:00
Pawel Olejniczak
cda64d4f8a [EGD-4340] Refactor bluetooth settings and add device windows
Rewrote these windows in a proper way.
Fixed few minor issues.
GUI adjustments.
2021-02-18 18:05:16 +01:00
SP2FET
e191817953 [EGD-5480] Bluetooth scan refactor
There was a need for Bluetooth scan code refactor. Here it is
2021-02-10 14:33:14 +01:00