Commit Graph

24 Commits

Author SHA1 Message Date
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
Lefucjusz
6e9030e942 [MOS-528] Fixed BT disconnect option
Fix of the issue that after connecting
to Bluetooth device it was impossible
to disconnect using Disconnect button.
Refactor of connect/disconnect events
naming (and all names related).
2022-06-07 10:06:13 +02:00
Adam Dobrowolski
08a71027ac [MOS-487] Review required renames
as in description
2022-05-26 16:19:02 +02:00
Lefucjusz
a5f621bc83 [MOS-487] Added call events state machine
Added tests and calls substate
bluetooth sm diagram created
All old bluetooth tests reviewed and updated
removed new - with queue it's not required
removed TODO
Co-authored-by: Bartosz Cichocki <sp2fet@gmail.com>
2022-05-26 16:19:02 +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
c2f38ad4f9 [MOS-452] Fix BT keys duplicates
Due to possibility to have duplicated entries per BT address
BT stack was requesting pairing when wrong key has been provided.
Now, all previous key entries are deleted prior adding.
2022-05-06 13:46:32 +02:00
Lefucjusz
d0f2f3cd55 [MOS-384] BT paired devices list fix
Fix of the bug that after pairing with one device
the entire list of devices that were visible at
the pairing time is transferred to paired devices
list.
2022-04-14 11:53:45 +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
Maciej Janicki
2b2bb13a49 [MOS-296] Merge remote-tracking branch 'origin/stable'
Merge stable Harmony branch into merge wip branch
2022-03-09 19:27:50 +01:00
Mateusz Piesta
c1391090c6 [BH-1389] Catch2 unit tests optimization
Removed redundant recompilation of catch2 main
resulted in over 20% speed up of unit tests compilation.
2022-01-26 15:04:23 +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
6fddc038ee [EGD-7800] Enable SDP register on BT startup
To be able to pair properly using SSP the BT device have to know
which services we're running, thus we need to register SDP entries
after startup of the BT stack
2021-10-18 10:57:01 +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
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
Mateusz Grzegorzek
0684b1271b [BH-515] Create main Bell app
Create main Bell app
2021-06-15 16:02:40 +02: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
5c7b518136 [EGD-5700] Fix Bluetooth pairing
To be able to proper propagate the pair message there was a need
for Command wrapper (to be able to send command and parameter in
one piece)
2021-02-21 14:17:29 +01:00
Piotr Tański
1db3f19205 [EGD-5472] Bluetooth worker state machine
State machine POC implemented using SML library.
2021-02-03 12:48:07 +01:00
Bartek Cichocki
6d22e00544 [EGD-3637] restoration of Bluetooth stack
[EGD-3637] Bluetooth hangup fix
2020-09-22 09:52:15 +02:00
Roman Kubiak
1925bb2ac6 removed all bluetooth code 2020-07-24 12:21:07 +02:00
pholat
11cdbf1c9c Bluetooth Bluetopia interface added
Compiles, starts service and initializes Bluetopia in A2DP mode
2019-10-14 15:32:06 +02:00