Commit graph

7 commits

Author SHA1 Message Date
Felix Lelchuk
1eb9b25c7e Fix cursor: wrapping_add for ptr, immutable sock 2023-06-23 13:59:54 +02:00
Felix Lelchuk
1f6a8a290c Allow truncated RawDevice::read_frame()
- `RawDevice::read_frame()` succeeds with a receive buffer smaller than the frame.
- Introduce `RxCursor` and `TxCursor` to track/update RX/TX buffer pointers making
  it easier to reason about functions such as `read_frame` / `write_frame`.
2023-06-22 11:21:20 +02:00
Lachezar Lechev
c3f79c96ed
feat: derive defmt::Format for more structs and errors
Signed-off-by: Lachezar Lechev <elpiel93@gmail.com>
2023-03-06 12:54:55 +02:00
Ryan Summers
9196d005d5 Fixing comment 2022-04-28 11:47:07 +02:00
Ryan Summers
4afe9f6724 Updating docs 2022-04-28 11:47:07 +02:00
Ryan Summers
30293b65a5 Finalizing updates to MACRAW support after testing 2022-04-28 11:47:07 +02:00
Ryan Summers
c25cbe6fdb Adding macraw support 2022-04-28 11:47:07 +02:00