Lachezar Lechev
84757c552e
Merge branch 'master' into fix/udp
2023-07-27 12:11:21 +03:00
Ryan Summers
42791c27e5
Merge pull request #54 from LechevSpace/feat/retry-time-and-count
...
Feat: Retry time and count
2023-07-25 17:25:04 +02:00
Ryan Summers
3da66e6eb1
Merge pull request #55 from LechevSpace/chore/socket-and-other-docs
...
Chore: Improve API and add docs
2023-07-25 17:09:57 +02:00
Lachezar Lechev
02063d1c75
chore: PR review comments
...
Signed-off-by: Lachezar Lechev <elpiel93@gmail.com>
2023-07-25 16:16:33 +03:00
Lachezar Lechev
a606fb0980
chore: PR review comments
...
Signed-off-by: Lachezar Lechev <elpiel93@gmail.com>
2023-07-25 16:04:06 +03:00
Ryan Summers
f3f0f3e461
Merge pull request #56 from LechevSpace/chore/four-wire-tests-and-docs
...
chore: test FourWire with embedded-hal-mock:
2023-07-25 14:35:54 +02:00
Lachezar Lechev
fd699b3f44
chore: remove defmt from dev-deps.
...
Signed-off-by: Lachezar Lechev <elpiel93@gmail.com>
2023-07-25 15:35:05 +03:00
Lachezar Lechev
eeeb0a24bb
chore: Update changelog
...
Signed-off-by: Lachezar Lechev <elpiel93@gmail.com>
2023-07-22 10:39:33 +03:00
Lachezar Lechev
98715d5247
fix: udp implementation and add more methods
...
Signed-off-by: Lachezar Lechev <elpiel93@gmail.com>
2023-07-22 10:31:01 +03:00
Lachezar Lechev
545debf0e3
chore: simplify
...
Signed-off-by: Lachezar Lechev <elpiel93@gmail.com>
2023-07-13 12:10:46 +03:00
Lachezar Lechev
f726d2b9a5
chore: update changelog
...
Signed-off-by: Lachezar Lechev <elpiel93@gmail.com>
2023-07-13 11:41:10 +03:00
Lachezar Lechev
29f531387d
chore: Bus move default impls to device & uninit device
...
Signed-off-by: Lachezar Lechev <elpiel93@gmail.com>
2023-07-13 11:40:09 +03:00
Lachezar Lechev
1788e43333
feat: define crate as no_std only when not doing tests
...
Signed-off-by: Lachezar Lechev <elpiel93@gmail.com>
2023-07-12 18:19:27 +03:00
Lachezar Lechev
ed49f20ead
chore: test FourWire with embedded-hal-mock:
...
- Add dev-dependencies for embedded-hal-mock
- add docs for FourWire
- add tests for SPI frames transactions
Signed-off-by: Lachezar Lechev <elpiel93@gmail.com>
2023-07-12 17:57:28 +03:00
Lachezar Lechev
f1c6a7a97b
docs: document registers socketn
...
Signed-off-by: Lachezar Lechev <elpiel93@gmail.com>
2023-07-12 17:51:49 +03:00
Lachezar Lechev
c6e5c58845
feat: get device state and more derives
...
Signed-off-by: Lachezar Lechev <elpiel93@gmail.com>
2023-07-12 17:50:34 +03:00
Lachezar Lechev
360496e4a9
chore: update changelog
...
Signed-off-by: Lachezar Lechev <elpiel93@gmail.com>
2023-07-12 17:46:03 +03:00
Lachezar Lechev
43fda7bab1
fix: device import & rustfmt
...
Signed-off-by: Lachezar Lechev <elpiel93@gmail.com>
2023-07-12 17:44:01 +03:00
Lachezar Lechev
dbb9189b7f
chore: uninit. device - call Bus version method
...
Signed-off-by: Lachezar Lechev <elpiel93@gmail.com>
2023-07-12 17:42:09 +03:00
Lachezar Lechev
6ff773d5ed
docs: document initialize_manual default gateway
...
Signed-off-by: Lachezar Lechev <elpiel93@gmail.com>
2023-07-12 17:40:47 +03:00
Lachezar Lechev
2735e6a6ee
chore: socket docs
...
Signed-off-by: Lachezar Lechev <elpiel93@gmail.com>
2023-07-12 17:36:05 +03:00
Lachezar Lechev
501efeafbc
Merge branch 'master' into feat/retry-time-and-count
2023-07-12 17:32:30 +03:00
Lachezar Lechev
a8214b83ec
feat: device - RetryCount & RetryTime
...
Signed-off-by: Lachezar Lechev <elpiel93@gmail.com>
2023-07-12 17:27:42 +03:00
Lachezar Lechev
1450ba0190
feat: uninit. device - RetryCount & RetryTime
...
Signed-off-by: Lachezar Lechev <elpiel93@gmail.com>
2023-07-12 17:26:48 +03:00
Lachezar Lechev
2166c39ac4
feat: Bus - add default impls for common registers
...
Signed-off-by: Lachezar Lechev <elpiel93@gmail.com>
2023-07-12 17:26:42 +03:00
Lachezar Lechev
a858bd815a
feat: Mode to register value and common mode impls
...
- make crate no_std when not running tests
Signed-off-by: Lachezar Lechev <elpiel93@gmail.com>
2023-07-12 17:20:27 +03:00
Lachezar Lechev
30b61de2eb
feat: common regs - Mode, RetryCount, RetryTime
...
Signed-off-by: Lachezar Lechev <elpiel93@gmail.com>
2023-07-12 17:20:00 +03:00
Ryan Summers
a384a09f35
Merge pull request #52 from Felix-El/fix-cursor
...
Fix cursor: wrapping_add for ptr, immutable sock
2023-06-23 16:10:36 +02:00
Felix Lelchuk
1eb9b25c7e
Fix cursor: wrapping_add for ptr, immutable sock
2023-06-23 13:59:54 +02:00
Ryan Summers
388f92c557
Merge pull request #51 from kellerkindt/ryan-summers-patch-1
...
Update CHANGELOG.md
2023-06-22 11:26:35 +02:00
Ryan Summers
9aeb331fb0
Update CHANGELOG.md
...
Adding CHANGELOG for MACRAW read fix
2023-06-22 11:25:23 +02:00
Ryan Summers
691662b5e7
Merge pull request #47 from Felix-El/master
...
Allow truncated `RawDevice::read_frame()`
2023-06-22 11:23:16 +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
Ryan Summers
71af718229
Merge pull request #48 from elpiel/patch-1
...
fix: Cargo.toml package version to 0.4.1
2023-06-13 13:59:07 +02:00
Lachezar Lechev
66e964335f
fix: Cargo.toml package version to 0.4.1
2023-05-01 18:58:23 +03:00
Ryan Summers
25409e827a
Merge pull request #43 from kellerkindt/rs/issue-36/trait-names
...
Renaming trait function names, cleaning up docs
2023-03-31 16:16:24 +02:00
Ryan Summers
f1504d284d
Fixing format
2023-03-31 13:48:49 +02:00
Ryan Summers
f3b4fa12b3
Fixing crate docs
2023-03-31 13:46:30 +02:00
Ryan Summers
953ed3c7b1
Readding reference docs
2023-03-31 13:45:42 +02:00
Ryan Summers
20981a7963
Fixing clippy lint
2023-03-30 18:02:46 +02:00
Ryan Summers
2c13f23ea4
Updating changelog
2023-03-30 12:56:47 +02:00
Ryan Summers
0d47ea0982
Renaming trait function names, cleaning up docs
2023-03-30 12:54:08 +02:00
Ryan Summers
516bdae999
Merge pull request #39 from LechevSpace/defmt-and-debug
...
Defmt
2023-03-06 13:55:54 +01:00
Lachezar Lechev
a0c8a42d64
fix: export only InitializeError from the module
...
Signed-off-by: Lachezar Lechev <elpiel93@gmail.com>
2023-03-06 14:53:48 +02:00
Lachezar Lechev
3e41fcfe61
ci: update rust workflow
...
Signed-off-by: Lachezar Lechev <elpiel93@gmail.com>
2023-03-06 13:20:49 +02:00
Lachezar Lechev
19343e3886
fix: CHANGELOG to unreleased version
...
Signed-off-by: Lachezar Lechev <elpiel93@gmail.com>
2023-03-06 13:20:37 +02:00
Lachezar Lechev
f340f60c3b
Merge branch 'master' into defmt-and-debug
2023-03-06 12:59:16 +02:00
Lachezar Lechev
c94b8c6241
chore: Update CHANGELOG adding defmt feature
...
Signed-off-by: Lachezar Lechev <elpiel93@gmail.com>
2023-03-06 12:55:14 +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
Lachezar Lechev
1b2ba0bfab
feat: export uninitialized_device & add docs
...
Signed-off-by: Lachezar Lechev <elpiel93@gmail.com>
2023-02-17 17:51:20 +02:00