Skip to content

Rework service discovery to use less memory #102

@Hexxeh

Description

@Hexxeh

Right now the way I implemented this, we build a complete list of services, characteristics and descriptors before we start converting anything to the Pebble structs and notifying the OS.

We could be more efficient about this and do depth-first discovery rather than discovering all characteristics and then all descriptors, instead doing this per service and freeing the memory for a given service once we're done.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bluetoothBluetooth integration related issues

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Development

    No branches or pull requests

      Participants

      @Hexxeh

      Issue actions

        Rework service discovery to use less memory · Issue #102 · pebble-dev/pebble-firmware