jonas-schievink / rubble

(going to be a) BLE stack for embedded Rust
BSD Zero Clause License
397 stars 56 forks source link

WIP: GATT services and characteristics #45

Closed fmckeogh closed 5 years ago

fmckeogh commented 5 years ago

Closes #29 (maybe)

Need some discussion on how it should be organised and structured:

fmckeogh commented 5 years ago

I made your suggested changes, still really unhappy with the API. This is the state I got it in so that it even builds and runs, I've been fighting the borrow checker all over the place to try and make it so a user can define services, which get turned into their respective attributes (plural!!).