Re-wrote socket implementations to be more compatible with embedded-nal
This commit is contained in:
parent
b1e83e3d05
commit
f546ff2011
17 changed files with 673 additions and 1603 deletions
|
|
@ -45,6 +45,7 @@ pub mod socketn {
|
|||
#[repr(u8)]
|
||||
pub enum Protocol {
|
||||
Udp = 0b10u8,
|
||||
Closed = 0u8,
|
||||
}
|
||||
pub const COMMAND: u16 = 0x01;
|
||||
#[repr(u8)]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue