Crates.io | radio |
lib.rs | radio |
version | 0.12.1 |
source | src |
created_at | 2018-12-25 04:47:16.491115 |
updated_at | 2024-04-18 23:25:10.807788 |
description | Generic traits for embedded packet radio devices |
homepage | |
repository | https://github.com/rust-iot/radio-hal |
max_upload_size | |
id | 103704 |
size | 69,459 |
An embedded-hal like abstraction for digital radio devices, this is intended to provide a common basis for implementing packet radio drivers, and for extension to support 802.15.4 / BLE etc. in the hope that we can construct embedded network stacks using this common abstraction.
Radio devices should implement the core traits, and then gain automatic blocking helper functions. Experimental async/await helpers are available behind the nonblocking
feature flag, this uses dtolnay/async-trait, imports std
and async-std
, and requires a nightly compiler, and a MockRadio
implementation for testing is available behind the mock
feature flag (also requiring nightly).
Work In Progress, expect major API changes
Blocking
Async
For similar interfaces, check out: