[EGD-6447] Add Bluetooth PIN pairing
Implemented legacy pairing using PIN code
[EGD-6019] Minimum settings ownership lifetime fixups
added weakptr link to settings and checks
it wont crash on deinitialized setings now
Pseuto UT are passing
Added:
- deregistration on Settings destrution
- weak referencing of Service to not crash Settings on missuse
- Proxy as initialization parameter to Settings
Unused code removed
Enabled tests to be written for Settings
Removed dependency from freertos in test global file
EntryPath tests updated and compilation slimed
[EGD-6019] Minimum settings ownership lifetime fixups
added weakptr link to settings and checks
it wont crash on deinitialized setings now
Pseuto UT are passing
Added:
- deregistration on Settings destrution
- weak referencing of Service to not crash Settings on missuse
- Proxy as initialization parameter to Settings
Unused code removed
Enabled tests to be written for Settings
[EGD-6682] Fix BT name change bug
To update the BT name there is a need to restart the BT stack.
Sending proper command during working stack wasn't working
[EGD-6626] Fix displaying bluetooth phone name in app settings
Reading bluetooth phone name was not implemented
on service bluetooth side.
[EGD-6166] HSP ringing
Added HSP ring sound on incoming call event while
there's bluetooth connection active and HSP is
selected as the current profile.
Possibility of pick up/decline the call using
BT device buttons added.
Slightly changed HSP initialization according
to the UML-s added.
Changed call hangup handler in service cellular.
[EGD-6350] Added bluetooth device volume control
Bluetooth device volume control can be set by Pure Phone
while paired and is in A2DP mode. Temporarly disabled
HSP since it's not fully working and causing control issues.
[EGD-6066] Removed Message default constructor
Forced each message to have declared type as parts of Bus logic
depends on it and previously we encountered undefined
behaviours. Added tests and messages validators.
[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>
[EGD-6052] Add idle BT device disconnect
After 30 minutes of inactivity (no stream) the device
is disconnected
[EGD-6168] Lock CPU frequency only while BT is working
Due to fixed BT transmission, the CPU frequency can be lower.
To be more power-friendly, minimal working freq is being set while
working with Bluetooth
[EGD-5945] Bluetooth-harness API messages
This PR:
* provides Bluetooth-Harness API messages definition [EGD-5944]
* provides Bluetooth-Harness API messages implementation
* provides Bluetooth-Harness API usage on harness side [EGD-5946]
* provides Bluetooth-Harness tests [EGD-5947]
[EGD-5490] Add BT pairing documentation
Documentation gives a high-level overview of the following procedures:
-scanning
-pairing
-unpairing
[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
[EGD-6100] Add BT device turn off handling
After BT device disconnects (e.g. because of shutdown) Pure is now
aware of this
[EGD-6074] Add system message and window for BT initialization error
Purpose of added system message is to sent information about bluetooth
initialization result from bluetooth service to application settings.
Added window will print error if initialization fails.
Further integration in service bluetooth is required.
[EGD-6073] Fix text formatting in retry windows
Error message in retry windows was displayed incorrectly.
[EGD-6024] Return to All Devices window after attempt to retry action
Execution of retry pairing/unpairing/connecting took too long
to wait for it on retry popup. Fixed minor bugs.
[EGD-6010] Fix addres in retry window
Address was lost while being forwarded to the retry window.