Fix of the issue that A2DP stream volume
was controlled using naive approach
with linear scaling instead of
exponential one, what resulted in
highly non-linear volume control
experience.
* 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
* Fix of the issue that incoming call triggered
handsfree ringing which didn't stop after
calling side hung up.
* Cleanup of several places in code, minor
bluetooth <-> cellular integration refactor.
Fix for the loudspeaker becomes active again when a headset is unplugged
if it was on while the headset was connected to the phone.
Fix typo in Bluetooth in EventType enum.
Fix of the issue that previous commit
didn't resolve - for some Bluetooth
devices voice still wasn't heard
after disconnection and reconnection
during a call.
Fix of the issue that connecting or
disconnecting BT device while call
was in progress resulted in no sound
being heard anywhere due to audio
routing being stopped when HFP device
disconnected.
Additionally minor code cleanup.
Fix of the issue that after disconnecting
BT A2DP device during music playback
and reconnecting it without leaving
music player app the sound was not
audible anywhere.
Additionally unified behaviour of music
playback on connection/disconnection
of audio devices.
Set of fixes for Bluetooth volume control issues:
* split OS volume from A2DP device volume;
* added translations for additional popup required
to indicate what volume is being set;
* fixed issue that on some devices setting the lowest
volume level would set the highest in reality;
* fixed Bluetooth auto-turnoff functionality;
* minor code cleanup.
Fix of the issue that forgotten BT device
reappeared on 'All devices' list after
reentering the list from home screen.
Additionally fixed pairing confirmation
popup that wouldn't hide after pressing
"Confirm".
There was an error when user tried to connect using TRY AGAIN.
The bug was in the bluetooth stack, so we updated it as it has
a fix for it. Now it works and BT overall should work better now.
When BT was connected (or just turned on) there was no dialing state -
the call went directly to ongoing call. Moreover, fixed no ringing
sound during ringing state - there was a bug in BT stack.
Fix of the issue that after connecting
to Bluetooth device it was impossible
to disconnect using Disconnect button.
Refactor of connect/disconnect events
naming (and all names related).
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>
Due to possibility to have duplicated entries per BT address
BT stack was requesting pairing when wrong key has been provided.
Now, all previous key entries are deleted prior adding.
By accident, I've broke DTMF handling via Pure's keyboard
This was because of non strict description of API method.
Now, it has been unified to use ASCII code
In poll mode, the CSQ will be requested every 15 minutes
and another attempt to switch the mode will be after 1 hour.
If the keyboard is unlocked or the USB cable is connected
or the BT car kit is connected, the URCs will be operated
in the reporting mode.
Now, both profiles can operate separately. Additonally, minor
fixes has been applied to allow calling via car audio system.
Some infotainment systems still don't work though.
Gets data from freertos and prints on frequency change depending
if it's important. Gathering is not costly, printing is though.
For less intrusive checks I would rather disable names gathering
as in worst case scenario it hangs rtos context switching till
thread id is found.
ssp seems working
minor crash fixups
copy lacks patched
obsolete code removed
Devicei tests added for added code and cleanup
Added missing tests for new functions
Code cleaned up a bit - mostly moved to cpp