diff options
| author | xoviat <[email protected]> | 2023-06-22 21:05:51 -0500 |
|---|---|---|
| committer | xoviat <[email protected]> | 2023-06-22 21:05:51 -0500 |
| commit | caf63b9e7336ed3ddb0dc997d431f15a26ae7693 (patch) | |
| tree | 2d0543c64c50c749f95552b2db23a82b80d20f87 /examples | |
| parent | 64ff1a6b75aa13797cf64bb97e597f333a2ae9b6 (diff) | |
stm32/tests: update ble test
Diffstat (limited to 'examples')
| -rw-r--r-- | examples/stm32wb/Cargo.toml | 5 | ||||
| -rw-r--r-- | examples/stm32wb/src/bin/tl_mbox_mac.rs | 2 |
2 files changed, 5 insertions, 2 deletions
diff --git a/examples/stm32wb/Cargo.toml b/examples/stm32wb/Cargo.toml index 726cd10d4..fbb2d918b 100644 --- a/examples/stm32wb/Cargo.toml +++ b/examples/stm32wb/Cargo.toml | |||
| @@ -37,4 +37,7 @@ required-features = ["mac"] | |||
| 37 | 37 | ||
| 38 | [[bin]] | 38 | [[bin]] |
| 39 | name = "eddystone_beacon" | 39 | name = "eddystone_beacon" |
| 40 | required-features = ["ble"] \ No newline at end of file | 40 | required-features = ["ble"] |
| 41 | |||
| 42 | [patch.crates-io] | ||
| 43 | stm32wb-hci = { git = "https://github.com/OueslatiGhaith/stm32wb-hci", rev = "9f663be"} \ No newline at end of file | ||
diff --git a/examples/stm32wb/src/bin/tl_mbox_mac.rs b/examples/stm32wb/src/bin/tl_mbox_mac.rs index 6c8653cf4..afd319a41 100644 --- a/examples/stm32wb/src/bin/tl_mbox_mac.rs +++ b/examples/stm32wb/src/bin/tl_mbox_mac.rs | |||
| @@ -46,7 +46,7 @@ async fn main(_spawner: Spawner) { | |||
| 46 | let config = Config::default(); | 46 | let config = Config::default(); |
| 47 | let mbox = TlMbox::init(p.IPCC, Irqs, config); | 47 | let mbox = TlMbox::init(p.IPCC, Irqs, config); |
| 48 | 48 | ||
| 49 | let sys_event = mbox.sys_subsystem.tl_read().await; | 49 | let sys_event = mbox.sys_subsystem.read().await; |
| 50 | info!("sys event: {}", sys_event.payload()); | 50 | info!("sys event: {}", sys_event.payload()); |
| 51 | 51 | ||
| 52 | mbox.sys_subsystem.shci_c2_mac_802_15_4_init().await; | 52 | mbox.sys_subsystem.shci_c2_mac_802_15_4_init().await; |
