diff options
| author | Dario Nieuwenhuis <[email protected]> | 2025-01-02 00:56:05 +0100 |
|---|---|---|
| committer | GitHub <[email protected]> | 2025-01-02 00:56:05 +0100 |
| commit | e7c3e1b2663b924f65d5ddf898030ddeffe6f368 (patch) | |
| tree | 2c2a1f10bdafbdd2bed2f655c544f91af4503417 /examples | |
| parent | 667dfa34b525f727936d621ba91001fa25d80426 (diff) | |
| parent | c6e0508da0e5a8689b833c60e0d8e59b922ebd8f (diff) | |
Merge pull request #3703 from loftyinclination/main
add documentation for the BLE feature of the embassy-stm32-wpan crate
Diffstat (limited to 'examples')
| -rw-r--r-- | examples/stm32wb/src/bin/gatt_server.rs | 5 |
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); |
