Re-wrote socket implementations to be more compatible with embedded-nal

This commit is contained in:
Jonah Dahlquist 2020-11-18 14:09:34 -08:00
commit f546ff2011
17 changed files with 673 additions and 1603 deletions

View file

@ -45,6 +45,7 @@ pub mod socketn {
#[repr(u8)]
pub enum Protocol {
Udp = 0b10u8,
Closed = 0u8,
}
pub const COMMAND: u16 = 0x01;
#[repr(u8)]