Commit graph

22 commits

Author SHA1 Message Date
Ryan Summers
f1504d284d Fixing format 2023-03-31 13:48:49 +02:00
Ryan Summers
953ed3c7b1 Readding reference docs 2023-03-31 13:45:42 +02:00
Ryan Summers
0d47ea0982 Renaming trait function names, cleaning up docs 2023-03-30 12:54:08 +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
Lachezar Lechev
f2ac8521b1
feat: defmt + derive for some UDP types
Signed-off-by: Lachezar Lechev <elpiel93@gmail.com>
2023-02-10 14:51:55 +02:00
Ryan Summers
9327809fe7
Add TCP-based NAL implementation (#24)
* Adding TCP-based NAL implementation

* Updating NAL dependency

* Updating connect to handle network errors

* Adding support for getting IP and MAC, allowing transparent access to the W5500 in the interface.

* Fixing TCP connect when not in INIT

* Adding wait after reset

* Reverting changes

* More delta reductions

* Fixing format

* Updating changelog

* Fixing docs

* Updating NAL version

* Adding debug derive

* fixing TCP write

* Updating RX receive size to allow less than 8 bytes

* Fixing clippy lints
2022-01-23 13:30:08 +01:00
Michael Watzko
96c6edfd81 Take ownership of Spi in activate_ref 2021-04-16 01:30:11 +02:00
Michael Watzko
3489574603 Recent only relevant socket interrupt flags to not loose in-flight data 2021-04-16 01:24:51 +02:00
Michael Watzko
d58ab215b1 Add DeviceRefMut that allows device operation without moving ownership 2021-04-08 01:20:18 +02:00
Michael Watzko
ee415c63f0 Ensure that every udp socket can connect at the same time 2021-04-08 00:24:10 +02:00
Jonah Dahlquist
52f0d06e30 Updated dependencies, fixed port closing after receive 2021-03-22 22:04:12 -07:00
Jonah Dahlquist
a3e0911c5b Minor typo fixes, clean-up of the public interface 2021-02-18 19:27:14 -08:00
Jonah Dahlquist
ca8268ab31 Removed the active/inactive concept, and changed bus to use blocking traits to allow users to use shared-bus 2021-02-18 19:27:12 -08:00
Jonah Dahlquist
55097322a0 Updated embedded-nal and removed (now-redundent) Interface struct 2021-02-18 19:25:58 -08:00
Jonah Dahlquist
d6574b8c23 Removed refcell container from Interface 2021-02-18 19:24:06 -08:00
Jonah Dahlquist
d844a116d5 Updated to latest embedded-nal 2021-02-18 19:24:06 -08:00
Jonah Dahlquist
9a057190a8 Updated UDP impl to be compatible with embedded-nal 0.2.0 2021-02-18 19:24:06 -08:00
Jonah Dahlquist
dcfa65509e Renamed Network mod to Host, removed debugging function, communted out dormant portions of DHCP host config 2021-02-18 19:23:27 -08:00
Jonah Dahlquist
1cac758d5a Added self to authors list, fixed Clippy lint errors 2021-02-18 19:17:30 -08:00
Jonah Dahlquist
79b1f52102 Ran cargo fmt 2021-02-18 19:16:16 -08:00
Jonah Dahlquist
3cad9cac57 Renamed W5500 -> Device, added an Interface struct that should implement the embedded-nal traits, used it to internalize the mutability of the device 2021-02-18 19:16:16 -08:00
Jonah Dahlquist
f546ff2011 Re-wrote socket implementations to be more compatible with embedded-nal 2021-02-18 19:16:14 -08:00