Skip to content

Commit

Permalink
gap central flow simplified
Browse files Browse the repository at this point in the history
  • Loading branch information
gabrielsantosphilips committed Jul 3, 2024
1 parent 1cf00a6 commit 732805c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions hal_st/middlewares/ble_middleware/GapCentralSt.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -204,6 +204,8 @@ namespace hal

really_assert(phyUpdateCompleteEvent.Connection_Handle == connectionContext.connectionHandle);

onMtuExchangeDone = nullptr;

infra::Subject<services::GapCentralObserver>::NotifyObservers([](services::GapCentralObserver& observer)
{
observer.StateChanged(services::GapState::connected);
Expand Down

0 comments on commit 732805c

Please sign in to comment.