Commit Graph

27 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
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
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
Lucjan Bryndza
efa0a16543 [BH-848] Split board h for bell and pure
Split board.h for the bell and Pure

Signed-off-by: Lucjan Bryndza <lucjan.bryndza@mudita.com>
2021-09-06 11:19:47 +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
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
Mateusz Grzywacz
1336f48251 [EGD-5229] Cellular modem, change receiving to DMA
Changes implementation for receiving data from
cellular modem from IRQ byte-by-byte to DMA transactions.
Drop in replacement, works with current CMUX (TS07.10)
2021-03-16 13:37:58 +01:00
SP2FET
a6d2481c9e [EGD-5694] Add BT DMA deinit
Implemented BT DMA deinit for Bluetooth off functionality

Co-authored-by: grzyw-o-mat
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
Mateusz Grzywacz
70a4b21c33 [EGD-3045] Magnetometer driver (#788)
* [EGD-3045] magnetometer driver - timer polling approach
- magneto pin mux
- magneto reg structs
- magneto irq skeleton
- bluetooth irq handler moved
- dedicated i2c methods
- bitfields parsed and populated explicitly
* [misc] big endian ↔ long conversion in Utils + UT
2020-10-22 15:41:54 +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
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
Marcin Smoczyński
4c4c774519 bsp: fix build warnings 2020-05-22 16:30:36 +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
Adam Dobrowolski
8a80c56d57 [EDG-2135] bluetooth: Fixed build on linux 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
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
5cecc2f7bf Bluetooth: BlueKitchen interface
Interface for BT added
2019-10-14 15:32:06 +02:00