Skip to content

Snapshot release with Test Gui for MSYS2 MinGW and macOS x64

Pre-release
Pre-release

Choose a tag to compare

@mcuee mcuee released this 26 Aug 13:47
4d63a50
macOS: use IORegistryEntryGetRegistryEntryID to resolve paths (#322)

With some device connection configurations,
the device paths become over 512 bytes (io_string_t max length)
which makes them unusable with current implementation.

Rather than using ServiceRegistry string path, use its ID,
which is uint64_t and easily serializable/deserializable into a string.

Implementation idea by felix.schwarz@iospirit.com
https://github.com/flirc/hidapi/commit/8d251c3854c3b1877509ab07a623dafc8e803db5

Fixes: #127, #236.