Skip to content

Feature Request: Ability to retrieve line by name via libgpiodbus #163

Description

@OllieGitHub

While implementing the ability for a user-space application to configure GPIO pins via the libgpiodbus library I found myself having to copy/utilize a lot of helper functions from the client code in order to be able to retrieve a line via name

"get_line_obj_by_name" is the entry point I used to retrieve a "GpiodbusLine *line" object. This requires copying/implementing many other helper functions (get_chip_objs, get_line_obj_by_name_for_chip, get_object_manager_client)

It would be nice if there was a "gpiodbus_get_line_obj_by_name" API that would abstract all of this

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

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions