Skip to content

Driver for the RN4870 BLE module using the embedded-hal traits.

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT
Notifications You must be signed in to change notification settings

byronwasti/rn4870

Repository files navigation

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

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.

About

Driver for the RN4870 BLE module using the embedded-hal traits.

Resources

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT

Stars

Watchers

Forks

Packages

No packages published