Skip to content

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

@OllieGitHub

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

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