98 Commits

Author SHA1 Message Date
Lofty Inclination
c6e0508da0 Add example to doc for BLE initialisation 2025-01-01 01:38:30 +00:00
Lofty Inclination
81948b3f2f Add crate description 2025-01-01 01:35:41 +00:00
Lofty Inclination
0318ac8316 Escape existing illegal html characters 2025-01-01 01:35:41 +00:00
Lofty Inclination
7d387f52a2 fixup! Add docs for the BLE bindings 2025-01-01 01:35:41 +00:00
Lofty Inclination
c967c36876 Make arrow in comment point at magic numbers
This got broken during a move, and the arrows weren't pointing at
anything meaningful. Not sure what the reason for them existing is, but
it's probably better that they be accurate, even if they're still
confusing.
2025-01-01 01:35:41 +00:00
Lofty Inclination
b2cc2fda26 Add docs for the BLE bindings
These new docs explain a lot of the current implementation for the BLE
stack, with reference to AN5289 14.1. They also detail the additional
requirements around BLE startup behaviour; specifically, that certain
SYS events must be awaited, and that shci_c2_ble_init should be called.

Since the ble feature is now enabled by default for the docs, the
remaining documentation for the BLE behaviour (as implemented by the
`stm32wb-hci` crate) should be bought in automatically.
2025-01-01 01:35:41 +00:00
Lofty Inclination
c84aef75af Fix spelling 2025-01-01 01:35:41 +00:00
Dario Nieuwenhuis
9a45d776d8 rustfmt for new nightly. 2024-10-14 00:12:45 +02:00
Dario Nieuwenhuis
ee669ee5c5 Update nighlty, fix warnings.
Fixes #2599
2024-10-14 00:11:16 +02:00
Dario Nieuwenhuis
21edbd3c17 Silence some unused warnings on nightly. 2024-08-05 21:37:07 +02:00
Tarun Singh
a716a3f006 Reduced define for 'unreachable!' to a single macro rule 2024-07-17 17:05:52 -04:00
Dario Nieuwenhuis
6a4ac5bd60 Add collapse_debuginfo to fmt.rs macros.
This makes location info in defmt logs point to the code calling the macro,
instead of always to fmt.rs as before. Fix works with nightlies
starting with today's, and stable 1.81+.
2024-06-17 01:38:57 +02:00
Dario Nieuwenhuis
5732ee7ca9 Reduce use of the full futures crate. 2024-04-26 23:22:25 +02:00
Dario Nieuwenhuis
eca9aac194 Fix warnings in recent nightly. 2024-03-20 16:39:09 +01:00
Dario Nieuwenhuis
3d842dac85 fmt: disable "unused" warnings. 2024-03-20 14:53:19 +01:00
Ulf Lilleengen
7d1257caa0 docs: add readme 2024-01-12 09:17:26 +01:00
Dario Nieuwenhuis
c6989dfbca Remove nightly and unstable-traits features in preparation for 1.75. 2023-11-29 17:26:33 +01:00
Dario Nieuwenhuis
03d500f548 cyw43: remove feature(concat_bytes). 2023-11-25 01:06:43 +01:00
Dario Nieuwenhuis
e519e00265 Update Rust nightly. 2023-11-01 04:56:56 +01:00
Dario Nieuwenhuis
3cbc687424 net/driver: remove Medium, make HardwareAddress non_exhaustive. 2023-10-18 05:28:16 +02:00
xoviat
feaeee1e83 stm32: misc. cleanup 2023-09-17 18:47:22 -05:00
Dario Nieuwenhuis
5e613d9abb Sync all fmt.rs files. 2023-08-30 01:37:18 +02:00
Ruben De Smet
c39671266e
Deprecate *recv* in favor of *receive* 2023-08-22 16:58:31 +02:00
Ruben De Smet
b1ec460b9a
Implement Channel::poll_receive(..) -> Poll<T> 2023-08-11 13:22:56 +02:00
Ruben De Smet
f9d251cd5c
Channel poll methods return Poll instead of bool 2023-08-11 12:13:46 +02:00
Dario Nieuwenhuis
820852be28 fmt mod must not be public. 2023-08-09 18:33:20 +02:00
Ruben De Smet
4afdce4ec5
Introduce driver::HardwareAddress without smoltcp dependency 2023-07-31 14:21:26 +02:00
Ruben De Smet
69c0a89aa5
Use HardwareAddress in Driver 2023-07-28 16:40:15 +02:00
Dario Nieuwenhuis
036e6ae30c
Rename embassy-hal-common to embassy-hal-internal, document it's for internal use only. (#1700) 2023-07-28 13:23:22 +02:00
xoviat
f4d6a23f92 wpan/mac: misc fixes 2023-07-21 17:02:36 -05:00
xoviat
c675208b8a wpan: complete prelim. command impl. 2023-07-21 16:10:34 -05:00
xoviat
899a68325c wpan: impl. draft control scheme 2023-07-20 20:51:49 -05:00
xoviat
c80c232a72 wpan: impl. debug for structs 2023-07-20 19:52:36 -05:00
xoviat
83ff626c47 wpan/mac: incr. runner msdu handle 2023-07-20 17:00:03 -05:00
xoviat
809d3476aa wpan: further optimize mac event 2023-07-20 16:45:04 -05:00
xoviat
28254842db - optimize event to parse opcode only once
- optimze channels
- return mut ref for smoltcp rx
2023-07-19 17:49:08 -05:00
xoviat
ca1d4179a7 wpan: implement initial event loop 2023-07-18 20:52:03 -05:00
xoviat
890d113b85 wpan: fully implement initial draft concept 2023-07-18 18:28:12 -05:00
xoviat
d040871f7a wpan: fix comp errors and impl. some of runner 2023-07-17 20:14:06 -05:00
xoviat
8f23b6faa6 wpan: refactor control, driver 2023-07-17 19:26:58 -05:00
xoviat
1d2c47273d Merge branch 'master' into mac 2023-07-17 16:38:46 -05:00
xoviat
7b34f5e866 wpan: make dataind fields private 2023-07-16 18:54:11 -05:00
xoviat
fe1e7c4d76 wpan: fix datarequest 2023-07-16 18:07:05 -05:00
xoviat
34217ea797 wpan: add slice data view 2023-07-16 17:28:34 -05:00
xoviat
a0515ca7ac wpan: add repr(c) to mac responses 2023-07-16 16:16:56 -05:00
xoviat
28b419d65e wpan/mac: use lifetimes to control events 2023-07-16 15:09:30 -05:00
xoviat
7c465465c1 wpan: use builtin conversion methods 2023-07-16 13:59:15 -05:00
xoviat
e95a7dc555 wpan/mac: use slice view to avoid copy 2023-07-16 12:41:57 -05:00
xoviat
582006c75c wpan/mac: further cleanup 2023-07-16 09:32:54 -05:00
xoviat
cd592cb055 wpan: add files from cyw43 2023-07-15 19:15:01 -05:00