embassy-rs / nrf-softdevice

Apache License 2.0
256 stars 76 forks source link

`FixedGattValue` (and other ble traits) should be provided by a separate library #197

Open Nashenas88 opened 9 months ago

Nashenas88 commented 9 months ago

I'm unable to write unit tests to validate that my impls for FixedGattValue are correct, since the library can only be compiled for nrf hardware. Splitting the ble traits into their own library would make this possible. I currently have to create a new trait that I can use for testing, then use a newtype wrapper to proxy the implementation for FixedGattValue.