Commit Graph

46 Commits

Author SHA1 Message Date
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
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
Marcin Smoczyński
bda18b5b54 [EGD-5706] Refactor creating audio device
Audio devices are created in the audio subsystem and it is not possible
to send a device to bt service upon creation.

Introduce hookable audio device factory to allow sharing bluetooth
audio device. Move audio devices from bsp to audio allowing removal of
unwanted bsp -> audio dependency.

Remove Bluetooth proxy device which turned out to be a dead end.

Signed-off-by: Marcin Smoczyński <smoczynski.marcin@gmail.com>
2021-02-17 16:20:59 +01:00
SP2FET
619ad219d2 [EGD-4394] Add BT device name change
Added handling of BT device name changing
2021-02-16 12:38:16 +01:00
SP2FET
a30887bb40 [EGD-5666] Add BT off function
Turning BT off was impossible thus there was the need of fixing it
Updated harness test
2021-02-11 12:01:58 +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
Piotr Tański
bc4d32c7d8 [EGD-5158] Change access to the bus methods
The bus is now accessible only via Service object.
2021-02-08 16:56:42 +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
SP2FET
0fad723135 [EGD-5457] Add harness test for bluetooth on/off
There is no functional tests related to the Bluetooth. As the
refactor is on the way,we need to have a tool to check if it works
By the way fixed worker deinit
2021-01-28 17:14:59 +01:00
SP2FET
6befeb5073 [EGD-5316] Add Bluetooth run loop integration into worker
To be able to handle properly the Bluetooth stack we need to
get rid of doubled FreeRTOS task and do refactor of
the whole BT section. This is first part of refactor and it
includes integrating run loop into our worker and unifying
namespaces
2021-01-28 12:36:43 +01:00
SP2FET
71a8252029 [EGD-4580] Add BT settings middleware
Added bluetooth settings middleware to store BT status in settings.
Added middleware layer to handle new settings queries.
2021-01-14 17:19:44 +01:00
Radoslaw Wicik
b96313b158 [EGD-4215] Convert service-bluetooth to library 2020-11-10 09:56:06 +01:00
Hubert Chrzaniuk
b7e1a04a12 [EGD-4301] Bluetooth Audio profile support (#984)
- implemented audio sink/source switching
 - reorganized / renamed sound events
 - moved SetBluetoothStreamData and AudioDevice instance to base Operation class
 - added audio profiles RecordingBluetoothHSP, RoutingBluetoothHSP
 - removed unused audio Profiles
 - removed redundant OutputPath and InputPath classes from CodecParamsMAX98090
2020-11-09 17:53:28 +01:00
Radoslaw Wicik
4bdfb00de7 [EGD-4214] Convert service audio to library 2020-11-09 11:56:19 +01:00
Michał Kamoń
6bbef804c0 [EGD-4284] missing include added (#956) 2020-11-04 08:59:21 +01:00
Bartosz Cichocki
ac2c954d93 [EGD-3772] added HSP sink and source (#918)
Added HSP playback to the BT device and stream of the BT device microphone back to the OS

Co-authored-by: SP2FET <bartosz.cichocki@mudita.com>
2020-11-03 14:21:50 +01:00
Paweł Olejniczak
d676fdabb7 [EGD-2628] Create Add device windows (#867)
[EGD-2628][WIP] Attach Add Device window

[EGD-2628] Fix passing scanned bt devices to Add device window

[EGD-2628] Add bt icon and adjust botton bar of Add device window

[EGD-2628] Add all devices window, & some fixes for add device window

[EGD-2628] Update changelog & cleanup

[EGD-2628] Improve bluetooth main window
2020-10-22 11:42:53 +02:00
Bartosz Cichocki
061479780b [EGD-4011] added BT audio device with A2DP playback (#870)
Co-authored-by: SP2FET <bartosz.cichocki@mudita.com>
2020-10-22 09:59:13 +02:00
Radoslaw Wicik
2276ceed67 [EGD-3743] Update copyrights in fies 2020-10-20 12:55:10 +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
SP2FET
ca03073cc4 [EGD-3643] added BT dedicated bonding (simple pairing) 2020-10-01 17:19:41 +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
Adam Dobrowolski
4a61f400e7 EGD-3055 Fixed printf issues 2020-04-08 12:23:53 +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
Adam Dobrowolski
abe6813ce6 EGD-3026 Wall Werror and Wextra added to project 2020-03-24 14:17:12 +01:00
Przemyslaw Brudny
8f92715951 [EDG-3019] Segger utils moved to git submodule 2020-03-23 18:37:37 +01:00
Radoslaw Wicik
a8573a404c Apply new style 2020-03-17 10:03:16 +01:00
Adam Dobrowolski
5e8d3ae71a [EDG-2135] Bluetooth: review applied 2019-11-20 12:42:03 +01:00
Adam Dobrowolski
2206aeab44 [EDG-2135] Bluetooth PAN research cleanup 2019-11-20 12:42:03 +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
d54746b8e5 Bluetooth: enabled proper bluetooth library logging 2019-10-14 15:32:06 +02:00
Adam Dobrowolski
d03a6ed2d7 Bluetooth: Post master rebase fixups 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
299143b01d Bluetooth: stable on PurePhone 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
856ed9bc8f Bluetooth: Compiles for linux
BT stack runs, there is an issue with reset
2019-10-14 15:32:06 +02:00
pholat
5cecc2f7bf Bluetooth: BlueKitchen interface
Interface for BT added
2019-10-14 15:32:06 +02:00
pholat
8b6ea5e6c2 Bluetooth: Added linux stack init 2019-10-14 15:32:06 +02:00
pholat
079a2a25a5 Bluetooth: Catalog name changed from BT to Bluetooth 2019-10-14 15:32:06 +02:00