Commit Graph

28 Commits

Author SHA1 Message Date
Lefucjusz
09efb75ed5 [MOS-1068] Cleanup BTStack intergration
Code cleanup in various places of
BTStack integration.
2024-05-29 17:33:30 +02:00
Lukasz Mastalerz
d9a1194e6f [BH-1688] Create a standard for logs
* Adding document describing how to use logger
* Adjusting logs to follow a new guide
* Change order in log header:
  line number is now before function name
2023-10-23 15:17:44 +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
Lukasz Skrzypczak
7fee0d9cfb [BH-378] Utils move log to library
Moved log to separate library
2021-06-08 12:24:29 +02:00
Michał Kamoń
bb6396679f [EGD-6118] BT low power initial implementation
The `Pure`'s power consumption was measured in three variants:
 * BT off
 * BT on (master)
 * BT on (EGD-6118)

Measurement results (respectively):
* idle [mA]:
 ** 78-81
 ** 83-85
 ** 78-81

* BT headphones connected [mA]
 ** -
 ** 85-87
 ** 82-85

* music play [mA] (may be not precise)
 ** 90-100
 ** 98-105
 ** 101-115
2021-04-21 08:32:31 +02:00
SP2FET
4c30e3c535 [EGD-6190] Fix Bluetooth DMA transmission
Enabled previously FIFO buffer without proper handling caused
ignoring one byte. Disabling FIFO fixes this issue
2021-03-22 13:50:04 +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
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
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
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
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
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
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
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