rn4870

Crates.iorn4870
lib.rsrn4870
version0.3.0
sourcesrc
created_at2018-03-25 19:07:21.904116
updated_at2021-05-26 09:02:52.605118
descriptionA platform agnostic driver for the RN4870 BLE module
homepage
repositoryhttps://github.com/byronwasti/rn4870
max_upload_size
id57466
size26,060
klob (akloboucnik)

documentation

README

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.

Commit count: 41

cargo fmt