Remove duplicate command from BLE Gatt Server example
This commit is contained in:
parent
0318ac8316
commit
2d5e1e9cfa
@ -151,11 +151,6 @@ async fn main(_spawner: Spawner) {
|
|||||||
let response = mbox.ble_subsystem.read().await;
|
let response = mbox.ble_subsystem.read().await;
|
||||||
defmt::debug!("{}", response);
|
defmt::debug!("{}", response);
|
||||||
|
|
||||||
info!("set scan response data...");
|
|
||||||
mbox.ble_subsystem.le_set_scan_response_data(b"TXTX").await.unwrap();
|
|
||||||
let response = mbox.ble_subsystem.read().await;
|
|
||||||
defmt::debug!("{}", response);
|
|
||||||
|
|
||||||
defmt::info!("initializing services and characteristics...");
|
defmt::info!("initializing services and characteristics...");
|
||||||
let mut ble_context = init_gatt_services(&mut mbox.ble_subsystem).await.unwrap();
|
let mut ble_context = init_gatt_services(&mut mbox.ble_subsystem).await.unwrap();
|
||||||
defmt::info!("{}", ble_context);
|
defmt::info!("{}", ble_context);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user