This repository has been archived by the owner on May 18, 2022. It is now read-only.
Configuring connectability at runtime #129
Labels
area: link layer
Code Area: BLE Link Layer (establishing and maintaining connections, encryption, etc)
status: needs design
Needs design work (API, communication between components, etc.)
type: enhancement
A new feature or an improvement for an existing one
Hi,
Quick question: would you be open to expanding what
LinkLayer
can do / what it can choose to do at runtime?In particular, it currently only advertises Connectable packets, and I'm wondering whether it'd be reasonable to add beacon functionality to it as well.
As I understand it, the current interface is built around choosing a lot of what the device does at compile time - like, one uses
Beacon
to be a beacon, orLinkLayer
to be a connectable device. This seems appropriate for direct usages of rubble, but makes it a bit harder to build good wrappers around all of the functionality, like what I'm doing to use it in TockOS. I'd ideally like to be able to use the same data structures for all kinds of functionality (connectable device, beacon, scanner for other devices). So - would you be alright with duplicating some of the functionality, for the sake of makingLinkLayer
give access to rubble's full functionality?This could also make it easier to use or to adapt examples to different use cases. Not sure if that's worth the extra complexity, though.
The text was updated successfully, but these errors were encountered: