Commit Graph

43 Commits

Author SHA1 Message Date
Bartosz
f05106a46c [MOS-525] Fix BT autoconnect when another device is already connected
Fixes an issue when another device is connected via HFP and a new device
wants to connect

Updated BT stack to 1.5.5 version
2023-03-10 10:38:24 +01:00
Lefucjusz
c27594274b [MOS-527] Fix BT logger after btstack update
Fixed BT logger after btstack has been updated.
2022-06-15 14:04:37 +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
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
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
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
Kuba
9a6b836335 [MOS-231] Updated bt stack
Bluetooth stack updated from 1.4.1 to 1.5.1.
2022-03-09 14:26:50 +01:00
Brinly Taylor
a7e71035c8 [EGD-7974] BTstack: fix typo in CMake
I just noticed it while compiling the project,
This should have no functionality changes
2021-11-24 12:47:28 +01: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
Piotr Tański
bf3897b649 [EGD-7610] Unnecessary services and apps removed
Removed lwIP, FOTA and clock application.
2021-09-21 08:34:53 +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
Marcin Smoczyński
b355d5ce00 [BH-733] Cleanup target dependencies
Remove obsolete target dependencies across modules.
Remove 'cross' and 'unittests' targets.
Refactor some remaining target dependencies to use board include macro.

Signed-off-by: Marcin Smoczyński <smoczynski.marcin@gmail.com>
2021-08-13 01:43:56 +02:00
Bartosz Cichocki
96f9ed1802 [EGD-6972] Update BT stack to 1.4.1 version
This PR updates the BT stack to the newest version
2021-06-25 12:22:49 +02:00
Bartosz Cichocki
30ae0e08ca [EGD-6882] Fix call hangup after BT device disconnect
Updated the BT stack with events that are handled through the
button so now it's possible to fallback to the earspeaker when
BT connection is lost

Added handling of those events
2021-06-17 09:20:34 +02:00
SP2FET
83524c42e4 [EGD-5986] Fix re-enabling BT scan
Due to incorrect stopping the BT scan, re-enabling it caused
failure to HCI state machine, which was indirect cause of failing
connections. Now it works
2021-03-03 17:19:49 +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
3d3b997cc0 [EGD-5856] Update Btstack
Updated to the latest version, fixes few bugs
2021-02-24 08:33:41 +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
SP2FET
8bb8be69d6 [EGD-4082] fixed build in Debug 2020-10-14 12:02:17 +02:00
Bartek Cichocki
305d43a176 [EGD-3773] added A2DP playback backend 2020-10-14 09:23:53 +02:00
SP2FET
7f6b7957fd [EGD-3641] added BT pairing keys storage 2020-10-05 13:41:34 +02:00
Bartosz Cichocki
5950528e0a Revert "[EGD-3641] working key storage in json file"
This reverts commit 5f8af17f96.
2020-10-05 12:46:13 +02:00
SP2FET
5f8af17f96 [EGD-3641] working key storage in json file 2020-10-05 12:28:27 +02:00
Bartek Cichocki
2060dd964f [EGD-2625] added BT scan
[EGD-2625] moved btstack to mudita_develop branch
2020-09-29 13:51:58 +02: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
Przemyslaw Brudny
c0822b6658 [EDG-3019] Moved log.hpp and debug.hpp into main PurePhone repo 2020-03-24 15:55:32 +01:00
Przemyslaw Brudny
8f92715951 [EDG-3019] Segger utils moved to git submodule 2020-03-23 18:37:37 +01:00
Przemyslaw Brudny
735a5f2d6b [EGD-2995] Unix line ending applied to .h, .hpp, .c, .cpp, .s, .sh, .cmake files 2020-03-18 15:43:26 +01:00
Adam Dobrowolski
d3b1a08e68 [EDG-2135] Bluetooth: bluetooth r/w control imporoved
* Improved bluetooth library interface write in one demand
* can start scan
* not used BT options hidden
* still some issues on flood - transaction style interface should be considered
2019-11-20 12:42:03 +01:00
Adam Dobrowolski
079dfb5891 Bluetooth: Cleaned up actual code & added bluetooth start to settings 2019-10-25 14:53:36 +02:00
Adam Dobrowolski
8c2622b2c2 Bluetooth compiles and starts on Purephone and Linux fine 2019-10-14 15:32:06 +02:00
Adam Dobrowolski
d54746b8e5 Bluetooth: enabled proper bluetooth library logging 2019-10-14 15:32:06 +02:00
Adam Dobrowolski
fca9ef33ab Bluetooth: LwIP added, device added no dhcpd yet 2019-10-14 15:32:06 +02:00
Adam Dobrowolski
bda146892c Bluetooth: can connect to PAN device, can't join network 2019-10-14 15:32:06 +02:00
Adam Dobrowolski
07a89b0294 Bluetooth: Handled via servive & worker - drops data
BlueKitchen requests from data, which doesn't mean it knows amount
need - need to provide handling to buffer in Uart handler - than
copy form handler on request, then sent notification when ready
2019-10-14 15:32:06 +02:00
Adam Dobrowolski
54076882a2 Bluetooth: Starts HCI with linux 2019-10-14 15:32:06 +02:00
pholat
eaa79e3032 Bluetooth: Added BlueKitchen & split build depending on bluetooth library
Compiles for both Linux and Cross
2019-10-14 15:32:06 +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
pholat
f654810685 Bluetooth initial peripherial code setup 2019-10-14 15:32:06 +02:00
pholat
530ffee55e Bluetopia library added as it is 2019-10-14 15:32:06 +02:00