Open jamessizeland opened 1 week ago
Thinking about this more, we should probably make this a separate crate in the bt-hci workspace. We should auto-generate enums/consts from the Bluetooth SIG data available at https://bitbucket.org/bluetooth-SIG/public/src/main/ (probably include that repo as a submodule).
Do you think we should re-export some bt-hci bits from trouble-host::prelude? Such as these UUIDs, Controller and ExternalController<>
I think that would be a perfectly reasonable thing for trouble
to do if there are types/constants that apps need to use when interfacing with the host.
https://github.com/embassy-rs/trouble/issues/145 Follow this issue, to start adding UUID helper constants and constant functions to be exported from this repo.
Follow the spec (i.e. https://www.bluetooth.com/wp-content/uploads/Files/Specification/Assigned_Numbers.html#bookmark49)
Example pattern: