You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The state of the Gap is not properly updated when the advertising stop after a timeout.
Gap& gap = BLE::Instance().gap();
// advertising will last for 10 seconds
gap.setAdvertisingTimeout(10);
gap.startAdvertising();
Gap::GapState_t state = gap().getState(); // at this stage state.advertising is equal to true// 11 seconds later advertising has stopped
Gap::GapState_t state = gap().getState(); // state.advertising is still equal to true
The text was updated successfully, but these errors were encountered:
The state of the Gap is not properly updated when the advertising stop after a timeout.
The text was updated successfully, but these errors were encountered: