Crate ashv2

Crate ashv2 

Source
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
ASHv2 actor proxy.

Enums§

BaudRate
Available baud rates that the NCP can operate on.
FlowControl
Flow control modes

Constants§

MAX_PAYLOAD_SIZE
Maximum payload size in bytes.

Traits§

SerialPort
A trait for serial port devices
TryCloneNative
Trait for serial ports that can be cloned using their try_clone_native method.

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 ASHv2 DATA frame up to its maximum size.