Commit Graph

32 Commits

Author SHA1 Message Date
rrandomsky
b821747851 [MOS-1059] Erase only sensitive data from logs
Erase only sensitive data from logs.
2023-11-30 12:31:05 +01:00
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
Lukasz Mastalerz
75b531f7e2 [MOS-871] Loudspeaker icon is not updated when audio routing has changed
Fix for the loudspeaker becomes active again when a headset is unplugged
if it was on while the headset was connected to the phone.
Fix typo in Bluetooth in EventType enum.
2023-02-21 15:40:39 +01:00
Lefucjusz
1c27ec90be [MOS-814] Fix no sound after BT reconnection
Fix of the issue that previous commit
didn't resolve - for some Bluetooth
devices voice still wasn't heard
after disconnection and reconnection
during a call.
2023-01-25 09:06:37 +01:00
Lefucjusz
01843fbadd [MOS-814] Fix no sound after BT device connection during call
Fix of the issue that connecting or
disconnecting BT device while call
was in progress resulted in no sound
being heard anywhere due to audio
routing being stopped when HFP device
disconnected.

Additionally minor code cleanup.
2023-01-16 13:36:52 +01: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
Bartosz Cichocki
022b633e3f [MOS-527] Fix bluetooth reconnection error
There was an error when user tried to connect using TRY AGAIN.
The bug was in the bluetooth stack, so we updated it as it has
a fix for it. Now it works and BT overall should work better now.
2022-06-14 14:47:22 +02:00
Bartosz Cichocki
a203d5f25e [MOS-463] Fix no dialing state during BT turned on
When BT was connected (or just turned on) there was no dialing state -
the call went directly to ongoing call. Moreover, fixed no ringing
sound during ringing state - there was a bug in BT stack.
2022-06-08 10:54:29 +02:00
Bartosz Cichocki
3cf1d87c1f [MOS-475] Fix BT reenabling connection
Fixed deinit and reinit of BT profiles
2022-05-11 16:44:49 +02:00
Bartosz Cichocki
e7444ff39f [MOS-263] Fix DTMF handling in Pure
By accident, I've broke DTMF handling via Pure's keyboard
This was because of non strict description of API method.
Now, it has been unified to use ASCII code
2022-05-02 11:57:09 +02:00
Bartosz Cichocki
55bd8c0951 [MOS-263] Add HFP DTMF handling
Added handling of HFP DTMF code sending,
fixed DTMF sending in cellular's code
2022-04-28 17:49:36 +02:00
Lefucjusz
74c3691dec [MOS-368] Add possibility to place call from HFP
Added implementation enabling user to place call
with the phone number supplied from HFP device
Some minor HFP state machine handling fixes
2022-04-28 16:39:10 +02:00
Bartosz Cichocki
cc32dd30dc [MOS-366] Connect cellular events to HFP
Connected all (?) necessary cellular events to the HFP profile
Fixed audio issues when connected with HFP
Some cleanup
2022-04-28 13:00:39 +02:00
Bartosz Cichocki
58fe677527 [MOS-264] Added network registration and roaming status to HFP
Connected HFP with cellular statuses
2022-04-28 11:44:28 +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
Lefucjusz
5e57914cc3 [MOS-353][MOS-387] HFP profile fixes
Fixes for the HFP-related problems - lack of the
sound from caller's phone in HF speakers and
not working BT device's hardware hangup button
2022-04-14 16:41:09 +02:00
Bartosz Cichocki
2be81bdf0a [MOS-365] Add BT battery handling
Added handling of the battery state in HFP profile
2022-04-13 09:46:21 +02:00
Bartosz Cichocki
31db992c5c [MOS-264] Add handling of signal strength and operator name in HFP
To be able to display signal strength, operator name and
rest of status indicators in Bluetooth's HFP profile, some
refactor has been done.
2022-04-11 11:46:30 +02:00
Bartosz Cichocki
96a53d1dd9 [EGD-8005] Fixed constant ringing in HFP after call answer
Fixed answering the call via Pure when connecting to the BT device
2022-01-11 14:31:38 +01:00
Bartosz Cichocki
a7f3ae4daf [EGD-7697] Fix BT names in all files
Some fallback names were incorrect
2021-11-25 13:43:51 +01:00
Jakub Pyszczak
ed431b1708 [EGD-7875] Fixed bt not ringing
Fixed bluetooth not ringing after bt call hang up.
2021-11-25 13:34:30 +01:00
Jakub Pyszczak
78a448347e [EGD-7299] Fixed bt call crash
Fixed crash occurring during bluetooth call
if there was bluetooth device being turned off.
2021-10-27 06:40:31 +01:00
Bartosz Cichocki
e588ee047b [EGD-7761] Fix HFP reconnect
After connecting to another device while it was connected
HFP didn't disconnect from the previous one
2021-10-11 08:23:11 +02:00
Bartosz Cichocki
682fb74e0e [EGD-7086] Add BT profile connection info
Added info about connected profile to the devices list
2021-10-06 08:27:34 +02:00
Bartosz Cichocki
abd246041d [EGD-7702] Fix BT PIN pairing by bumping BT stack version
Bumped up BT stack to develop version as it has fixed PIN pairing
2021-09-28 14:47:58 +02:00
Bartosz Cichocki
80ea3a74e0 [EGD-7405] Add volume control
Added volume control for HFP
2021-09-24 13:25:07 +02:00
Bartosz Cichocki
7274f691d7 [EGD-7405] Connect HFP with audio system
Connected HFP with audio system so 2-way audio transmission is
possible
2021-09-24 13:25:07 +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
e8dd8aacbe [EGD-7404] Adapt & prepare CVSD codec for usage in HFP
Adapted both codec and HFP profile to be able to work together.
Now it's possible to stream 2-way audio via HFP profile, but it
has to be integrated properly with EGD-7405
2021-09-23 10:08:30 +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
Adam Dobrowolski
0247d374cd [EGD-7401] POC for HSP restored from EGD-6727
This code is updated code from EGD-6727, the only changes are:
- use of common SCO and PhoneInterface
- update to newer bluetooth library
2021-08-30 09:38:20 +02:00