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
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
3cf1d87c1f
[MOS-475] Fix BT reenabling connection
...
Fixed deinit and reinit of BT profiles
2022-05-11 16:44:49 +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 Gibowicz
0bc5db64a6
[EGD-8138] Software closing procedure improved
...
Release of resources and closing of all unfinished
services and workers.
2022-01-20 17:07:37 +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
Bartosz Cichocki
12aff015de
[EGD-7874] Fix no disconnect after unpair
...
When user tried to unpair connected device, the device was not
disconnecting. Now it's fixed
2021-11-22 14:04:51 +01:00
Marcin Smoczyński
1f9109b924
[BH-819] Fix illegal dependencies in bsp
...
Break circular dependencies in the BSP module. Fix some missing
dependencies which surfaced after fixing BSP.
Signed-off-by: Marcin Smoczyński <smoczynski.marcin@gmail.com >
2021-09-27 17:27:21 +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
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
Jakub Pyszczak
da24f4fd88
[EGD-7003] Removed sensitive data bt
...
Sensitive data removed from logs in module bluetooth
and service bluetooth.
2021-06-29 17:09:10 +02:00
Lukasz Skrzypczak
2911b6b4a1
[BH-378] PR changes
...
PR changes - mainly includes
2021-06-08 12:24:29 +02:00
Lukasz Skrzypczak
7fee0d9cfb
[BH-378] Utils move log to library
...
Moved log to separate library
2021-06-08 12:24:29 +02:00
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 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
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