Expand description
Abstract packet radio interfaces
This package defines traits for packet radio devices, as well as blocking and async implementations using these traits, and a mock device to support application level testing.
§https://github.com/rust-iot/radio-hal
§Copyright 2020-2022 Ryan Kurte
Modules§
- Blocking APIs on top of the base radio traits
- Config provides traits for standard radio configuration
- Provides common helpers for implementing radio utilities
- Mock radio driver for application testing
- Non-blocking (async/await) APIs on top of the base radio traits Note that this requires use of unstable
feature(generic_associated_types)
Structs§
- Default / Standard radio channel object for radio devices with integer channels
- Default / Standard packet information structure for radio devices that provide only rssi and lqi information
Traits§
- Busy trait for checking whether the radio is currently busy and should not be interrupted
- Channel trait for configuring radio channelization
- Interrupts trait allows for reading interrupt state from the device, as well as configuring interrupt pins.
- Power trait for configuring radio power
- Radio trait combines Base, Configure, Send and Receive for a generic radio object
- Receive trait for radios that can receive packets
- ReceiveInfo trait for receive information objects
- Register contains the address and value of a register.
- Registers trait provides register level access to the radio device.
- Rssi trait allows polling for RSSI on the current channel
- State trait for configuring and reading radio states
- Transmit trait for radios that can transmit packets