Skip to content

Validate that we don't exceed handles number of allocated handles for a service #263

Open
@nkolban

Description

@nkolban

When we create a BLE Service, we must define the maximum number of handles associated with the service. The default is 15. As we add characteristics to the service and then descriptors to the characteristics (of that service), we start to consume the available handles. Since we KNOW how many handles we have allocated to the service and we know how many characteristics and descriptors we have previously added, we should be able to "trap" adding too many characteristics and descriptors to any given service and alert the programmer to increase the number of handles they should allocate.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions