Commit Graph
39 Commits
Author SHA1 Message Date
Marcin Smoczyński b890bcd6e3 [EGD-5260] Add A2DP playback to audio
Add basic playback capability using Bluetooth A2DP profile.
Only stereo/44100/16bit files are supported at the moment

Signed-off-by: Marcin Smoczyński <smoczynski.marcin@gmail.com>
2021-03-25 01:01:35 +01:00
Piotr Tański 4de9970108 [EGD-5952] Changed service stack depths acc. to real usage
Stack depth changed for:
- Application Manager
- Service Bluetooth
- Bluetooth Worker
- Service Eink
- Service GUI
- Application Special Input
2021-03-11 11:15:29 +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 6fcf2ee8e7 [EGD-5982] Fix no window refresh after pairing
Fixes no refresh after finished scan
2021-03-02 11:03:17 +01:00
SP2FET 8460e9e915 [EGD-5980] Fix BT paired devices list
After pairing more than 1 device the paired device list showed
only the last paired. This commit fix this issue
2021-03-02 11:03:17 +01:00
SP2FET f9b80ac26c [EGD-5764] Implement handling multiple BT profiles
To be able to connect to the BT device with more than one audio
profile, we need something to manage those profiles. Created here
ProfileManager made it convenient
To be able to work properly with BT, CPU freq has to be at least
at Level_5 - to be fixed!
2021-02-25 14:03:44 +01:00
SP2FET 1929a38252 [EGD-5848] Fix bluetooth pairing key import
After BT refactor settings init for key storage has been moved,
thus in the initial phase settings were unavailable and btstack
couldn't import keys from storage
2021-02-23 09:18:24 +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
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 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
Hubert Chrzaniuk 8a3eb64662 [EGD-4899] Worker class design improvements and fixes (#1190)
* allow workers to run independently from service
* change worker to use FreeRTOS wrapper Queue class instead of
  freeRTOS native queues
* fix bug disallowing to destruct worker that have never ran
* fixed worker bad state transition to Running state
2020-12-14 11:56:29 +01:00
Bartosz Cichocki ef1a95b740 [EGD-4704] fixed callbacks calling (#1155)
Fix Bluetooth thread sending issue
Co-authored-by: SP2FET <bartosz.cichocki@mudita.com>
2020-12-08 13:49:23 +01:00
Mateusz Grzywacz 8df9b22ac9 [EGD-4582] Bluetooth over DMA (#1115)
[EGD-4582] Bluetooth UART: replace polling with DMA
2020-12-08 13:39:18 +01:00
Bartosz CichockiandSP2FET 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
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 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
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
Przemyslaw Brudny 5955c358e6 Service Worker queue cleanups 2020-02-24 12:28:02 +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 d430ca6b14 Bluetooth: review aplied 2019-10-14 15:32:06 +02:00
Adam Dobrowolski 8c2622b2c2 Bluetooth compiles and starts on Purephone and Linux fine 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
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