[−][src]Crate radio
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.
Modules
blocking | Blocking APIs on top of the base radio traits |
mock | Mock radio driver for application testing |
nonblocking | Non-blocking (async/await) APIs on top of the base radio traits Note that this requires (and will include) std |
Structs
BasicChannel | Default / Standard radio channel object for radio devices with integer channels |
BasicInfo | Default / Standard packet information structure for radio devices that provide only rssi and lqi information |
Traits
Channel | Channel trait for configuring radio channelization |
Interrupts | Rssi trait allows polling for RSSI on the current channel |
Power | Power trait for configuring radio power |
Radio | Radio trait combines Base, Configure, Send and Receive for a generic radio object |
Receive | Receive trait for radios that can receive packets |
Registers | Registers trait provides register level access to the radio device |
Rssi | Rssi trait allows polling for RSSI on the current channel |
State | State trait for configuring radio states |
Transmit | Send trait for radios that can transmit packets |