aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLofty Inclination <[email protected]>2025-01-01 01:29:24 +0000
committerLofty Inclination <[email protected]>2025-01-01 01:35:41 +0000
commit2d5e1e9cfa1cc9168a43ca3409be765e94719a70 (patch)
treed3ea2b06bc959a172e6f857379380a11a97a54ad
parent0318ac83165c253605ec7e0357af0b05e2722e4b (diff)
Remove duplicate command from BLE Gatt Server example
-rw-r--r--examples/stm32wb/src/bin/gatt_server.rs5
1 files changed, 0 insertions, 5 deletions
diff --git a/examples/stm32wb/src/bin/gatt_server.rs b/examples/stm32wb/src/bin/gatt_server.rs
index 1cc50e134..041dc0cf5 100644
--- a/examples/stm32wb/src/bin/gatt_server.rs
+++ b/examples/stm32wb/src/bin/gatt_server.rs
@@ -151,11 +151,6 @@ async fn main(_spawner: Spawner) {
151 let response = mbox.ble_subsystem.read().await; 151 let response = mbox.ble_subsystem.read().await;
152 defmt::debug!("{}", response); 152 defmt::debug!("{}", response);
153 153
154 info!("set scan response data...");
155 mbox.ble_subsystem.le_set_scan_response_data(b"TXTX").await.unwrap();
156 let response = mbox.ble_subsystem.read().await;
157 defmt::debug!("{}", response);
158
159 defmt::info!("initializing services and characteristics..."); 154 defmt::info!("initializing services and characteristics...");
160 let mut ble_context = init_gatt_services(&mut mbox.ble_subsystem).await.unwrap(); 155 let mut ble_context = init_gatt_services(&mut mbox.ble_subsystem).await.unwrap();
161 defmt::info!("{}", ble_context); 156 defmt::info!("{}", ble_context);