Skip to content

Commit

Permalink
Use markdown table
Browse files Browse the repository at this point in the history
  • Loading branch information
vinc committed Nov 1, 2024
1 parent 9f54891 commit 98c7987
Showing 1 changed file with 9 additions and 11 deletions.
20 changes: 9 additions & 11 deletions doc/devices.md
Original file line number Diff line number Diff line change
Expand Up @@ -77,17 +77,15 @@ when reading or writing to a socket:

Reading a socket with a 1 byte buffer will return the status of the socket:

```rust
pub enum SocketStatus {
IsListening = 0,
IsActive = 1,
IsOpen = 2,
CanSend = 3,
MaySend = 4,
CanRecv = 5,
MayRecv = 6,
}
```
| Bit | Status |
| --- | ------------ |
| 0 | Is Listening |
| 1 | Is Active |
| 2 | Is Open |
| 3 | Can Send |
| 4 | May Send |
| 5 | Can Recv |
| 6 | May Recv |

## Speaker

Expand Down

0 comments on commit 98c7987

Please sign in to comment.