Skip to content

Commit ec0cbc6

Browse files
committed
bluetooth: power_up_and_wait_for_connection -> get_aa_profile_connection
1 parent 005a9eb commit ec0cbc6

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/bluetooth.rs

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -287,7 +287,7 @@ impl Bluetooth {
287287
Ok(())
288288
}
289289

290-
async fn power_up_and_wait_for_connection(
290+
async fn get_aa_profile_connection(
291291
&mut self,
292292
dongle_mode: bool,
293293
connect: BluetoothAddressList,
@@ -370,7 +370,6 @@ impl Bluetooth {
370370
}
371371

372372
async fn try_connect_bluetooth_addresses(
373-
//&self,
374373
adapter: &Adapter,
375374
dongle_mode: bool,
376375
addresses: &Vec<Address>,
@@ -563,7 +562,7 @@ impl Bluetooth {
563562

564563
// Use the provided session and adapter instead of creating new ones
565564
let (address, mut stream) = self
566-
.power_up_and_wait_for_connection(dongle_mode, connect, bt_timeout, state, stopped)
565+
.get_aa_profile_connection(dongle_mode, connect, bt_timeout, state, stopped)
567566
.await?;
568567

569568
info!("{} 📲 Sending parameters via bluetooth to phone...", NAME);

0 commit comments

Comments
 (0)