On Thu, Nov 07, 2019 at 12:58:04AM +0800, Kent Gibson wrote: > I've pushed some more changes with the updated API we discussed earlier. > Those new tests I'd added now pass. Yay. > One problem though - gpiod_line_set_config as written has no way to > accept an as-is direction. > Hopefully I'll have some time to take another look at that tomorrow. > I've pushed some more updates to my libgpiod branch[1]. They fix the direction limitation I mentioned (I was using the wrong set flags), and extend the tests to cover all of the SET_CONFIG fields. That completes the C API changes. If that is ok with you then I can take a look at the corresponding changes to the C++ and Python bindings. And I guess we should move this libgpiod discussion to a new thread? Cheers, Kent. [1] https://github.com/warthog618/libgpiod.git