Replies: 2 comments
-
|
and https://libgpiod.readthedocs.io/en/latest/core_chips.html#_CPPv417gpiod_chip_get_fdP10gpiod_chip should hopefully give you what you need? |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
Thanks @Ablu. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
In v1.x, We used to use
gpiod_line_event_get_fd()andgpiod_line_event_read_fd()apis to integrate GPIO edge events into our custom event loop framework (like libuv). And they were perfectly working fine for us.What are the equivalent apis to get edge event fd and also acknowledge the event in v2.x ?
gpiod_line_request_wait_edge_events()andgpiod_line_request_read_edge_events()work fine in v2.x, but I cannot use them to integrate it into our event loop (basically no fd).Thanks.
Beta Was this translation helpful? Give feedback.
All reactions