rn4870
Note: Maintenance Mode
Unfortunately I no longer have the time to actively develop this crate. However, I am happy to review and accept PRs. Happy to pass on ownership on crates.io -- please contact me!
Functionality
- Switch to Command Mode
- Switch to Data Mode
- Set BLE name
- Turn on default services
- Basic transparent UART service transmit and receive
- Hardware Reset module
TODO
- Rework the state machine system to be more error friendly
- Implement all the various Command Mode functionality
- Serial read is extremely finicky and prone to overrun
Examples
examples/bluepill-irq.rs
- shows how to configure and receive data from the module using IRQ
License
Licensed under either of
- Apache License, Version 2.0 (LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0)
- MIT license (LICENSE-MIT or http://opensource.org/licenses/MIT)
at your option.
Contribution
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.