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
This commit is contained in:
parent
2f4603d0bc
commit
9327809fe7
9 changed files with 362 additions and 13 deletions
|
|
@ -51,7 +51,7 @@ impl UdpSocket {
|
|||
// TODO ensure write is currently possible
|
||||
self.socket
|
||||
.set_tx_read_pointer(bus, 0)
|
||||
.and_then(|_| bus.write_frame(self.socket.tx_buffer(), 0, &send_buffer))
|
||||
.and_then(|_| bus.write_frame(self.socket.tx_buffer(), 0, send_buffer))
|
||||
.and_then(|_| {
|
||||
self.socket
|
||||
.set_tx_write_pointer(bus, send_buffer.len() as u16)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue