-
i am trying to proper branch my node wrapper and maintain 1.x and 2.x, but i am figuring a few issues on new names. can anyone point me where could i read how to get the new versions of those functions: chip: gpiod_chip_open_lookup => gpiod_chip_open line: gpiod_chip_get_line => gpiod_chip_get_line_info |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 3 replies
-
It'll be quite hard to create a wrapper for both as the API has been completely rebuilt and there are no 1:1 translations between the interfaces. You no longer get the line and then request it. You know request a set of lines and receive a |
Beta Was this translation helpful? Give feedback.
-
@sombriks Have you found a solution? |
Beta Was this translation helpful? Give feedback.
It'll be quite hard to create a wrapper for both as the API has been completely rebuilt and there are no 1:1 translations between the interfaces. You no longer get the line and then request it. You know request a set of lines and receive a
gpiod_line_request
object that can wrap multiple lines.