embassy-rs / nrf-softdevice

Apache License 2.0
256 stars 76 forks source link

What is the difference between nordic crate #186

Closed bauerjj closed 1 year ago

bauerjj commented 1 year ago

Hi, I'm looking at using this on a nordic chip, however I've also noticed that they provide a crate already at least for the s132. https://crates.io/crates/nrf-softdevice-s132. Does this project have a more full-featured bindings than Nordics?

alexmoon commented 1 year ago

That crate provides very low level (unsafe) bindings to the C API. It is a community provided crate, like this one (in fact, created by the same person as this one). nrf-softdevice provides a high-level safe interface to the softdevice features. Low-level bindings crates are also included in this repo, which should be essentially identical to that crate but may be more up to date.