Expand description
Asynchronous Serial Host version 2 (ASHv2)
This library implements the Asynchronous Serial Host version 2, ASHv2 for short.
You can find the protocol’s definition on siliconlabs.com.
This library is free software and is not affiliated with Silicon Labs.
Structs§
- Actor
- Actor that manages serial port communication.
- HexSlice
- A wrapper around a slice of bytes to format it with hexadecimal bytes.
- Proxy
ASHv2actor proxy.
Enums§
- Baud
Rate - Available baud rates that the NCP can operate on.
- Flow
Control - Flow control modes
Constants§
- MAX_
PAYLOAD_ SIZE - Maximum payload size in bytes.
Traits§
- Serial
Port - A trait for serial port devices
- TryClone
Native - Trait for serial ports that can be cloned using their
try_clone_nativemethod.
Functions§
- open
- Opens a serial port depending on the local operating system.
Type Aliases§
- Payload
- A stack-allocated buffer that can hold payload for an
ASHv2DATAframe up to its maximum size.