embassy-rs / nrf-softdevice

Apache License 2.0
264 stars 79 forks source link

Add Serde Support #205

Closed MinisculeGirraffe closed 10 months ago

MinisculeGirraffe commented 10 months ago

The title kind of says it.

I had a use case where I would want to persist and transmit some structs used in nrf-softdevice, so they would need to be serialized to a wire format.

Serde supports no_std so I did the thing and added the impls behind a flag.