nrf-softdevice
nrf-softdevice copied to clipboard
Hey guys, I have implemented a custom async read trait around the `nrf_softdevice::ble::l2cap::Channel` which stores the future returned by `Channel::rx()`. When I send the object to another task, the `WaitFuture`...
Right now AFAICT the API requires that you always "set" the current value for every characteristic when you want it to change. The softdevice also supports a callback-based API, where...
This adds peering and bonding support for peripheral devices. Bonding is supported by a new `advertise_bondable` function which takes a `&'static dyn BondHandler` that provides the methods needed to create,...
```shell Brandons-MacBook-Air:examples brandonros 2022-06-04 16:18:05 $ probe-rs-cli erase --chip nrf52840 Brandons-MacBook-Air:examples brandonros 2022-06-04 16:18:39 $ probe-rs-cli download --chip nrf52840 --format hex /Users/brandonros/Downloads/s140_nrf52_7.3.0/s140_nrf52_7.3.0_softdevice.hex Erasing sectors ✔ [00:00:00] [##############################################] 156.00KiB/156.00KiB @ 227.11KiB/s...
Allowing to propagate attribute could be helpful in the nrf-softdevice-macro create. This would allow to do conditional compilation or maybe ble documentation directly in the code. As an example, this...
How to reproduce: - Create a writable char of type `u8`. - Connect to the device with nRF Connect, write an empty value to it. I have no idea why...
Is there an alternative package for the nrf51 series, or how difficult would it be to support?
I was trying to restrict who can connect over Bluetooth to a device. To my understanding (and I don't really have much understanding of Bluetooth) I would need to bind...
Is there a way for `gatt_client` to receive notifications? I am trying to understand nrf-softdevice-macro and I see there is some sort of event generated in `nrf-softdevice-macro/src/lib.rs`: ```rust if notify...
In the readme you say that you should never use `cortex_m::interrupt::free` because of softdevice. However, in the examples the `alloc-cortex-m` crate is used, which uses `cortex_m::interrupt::free` in their implementation [here](https://github.com/rust-embedded/alloc-cortex-m/blob/6c9060ff803f5ac77b003c2cd7764cc3f1beaed2/src/lib.rs#L67-L80).