~aleteoryx/muditaos

022b633e3fa80c82d6f00aa1671f7f05107e821c — Bartosz Cichocki 3 years ago 9df9ecd
[MOS-527] Fix bluetooth reconnection error

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.
M module-bluetooth/Bluetooth/interface/profiles/HFP/HFP.cpp => module-bluetooth/Bluetooth/interface/profiles/HFP/HFP.cpp +1 -1
@@ 523,7 523,7 @@ namespace bluetooth
    {
        if (currentCallStatus != CallStatus::OutgoingPlacedFromHFP) {
            LOG_DEBUG("Started outgoing call from Pure");
            hfp_ag_outgoing_call_initiated(number.c_str());
            hfp_ag_outgoing_call_initiated();
            hfp_ag_outgoing_call_accepted();
            hfp_ag_outgoing_call_ringing();
            currentCallStatus = CallStatus::OutgoingPlacedFromPure;

M module-bluetooth/lib/btstack => module-bluetooth/lib/btstack +1 -1
@@ 1,1 1,1 @@
Subproject commit b62bb8ad81fdf7bced9db9b30dda226de484a299
Subproject commit 391fead0f9bb6d09d9c34537994c9651083eac31

M module-bluetooth/lib/btstack.cmake => module-bluetooth/lib/btstack.cmake +1 -0
@@ 150,6 150,7 @@ set(BOARD_DIR_SOURCES
    ${BT_STACK_ROOT}/3rd-party/hxcmod-player/mods/nao-deceased_by_disease.c
    ${BT_STACK_ROOT}/3rd-party/hxcmod-player/hxcmod.c
    ${BT_STACK_ROOT}/src/classic/btstack_sbc_encoder_bluedroid.c
    ${BT_STACK_ROOT}/src/classic/a2dp.c
    ${BT_STACK_ROOT}/src/classic/a2dp_source.c
    ${BT_STACK_ROOT}/3rd-party/bluedroid/encoder/srce/sbc_encoder.c
    ${BT_STACK_ROOT}/src/classic/avdtp_util.c