Skip to content

Commit

Permalink
fix: Add missing call to discover_services
Browse files Browse the repository at this point in the history
  • Loading branch information
dzamlo committed Nov 23, 2023
1 parent 05c6087 commit 9d73ef5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/route.rs
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,7 @@ impl Route {
retry.fetch_add(1, std::sync::atomic::Ordering::SeqCst);
}

peripheral.ble_peripheral.discover_services().await?;
let mut active_route = ctx.active_route.write().unwrap();
(*active_route) =
Route::PeripheralConnectedView(ConnectedPeripheral::new(ctx, peripheral))
Expand Down

0 comments on commit 9d73ef5

Please sign in to comment.