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
|
|
@ -1,6 +1,6 @@
|
|||
#![no_std]
|
||||
#![allow(unused)]
|
||||
#![deny(broken_intra_doc_links)]
|
||||
#![deny(rustdoc::broken_intra_doc_links)]
|
||||
|
||||
pub mod bus;
|
||||
mod device;
|
||||
|
|
@ -8,6 +8,7 @@ mod host;
|
|||
pub mod net;
|
||||
pub mod register;
|
||||
mod socket;
|
||||
pub mod tcp;
|
||||
pub mod udp;
|
||||
mod uninitialized_device;
|
||||
|
||||
|
|
@ -34,8 +35,8 @@ pub enum OnPingRequest {
|
|||
Ignore = 0b00010000,
|
||||
}
|
||||
|
||||
/// Use [TransmissionMode::PPoE] when talking
|
||||
/// to an ADSL modem. Otherwise use [TransmissionMode::Ethernet]
|
||||
/// Use [ConnectionType::PPoE] when talking
|
||||
/// to an ADSL modem. Otherwise use [ConnectionType::Ethernet]
|
||||
#[repr(u8)]
|
||||
#[derive(Copy, Clone, PartialOrd, PartialEq)]
|
||||
pub enum ConnectionType {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue