I know how to send data to DriverKit and get back some values, that is application calling IOConnectCallStructMethod()
and driver fill the OSData
in structureOutput
from application.
In my Application it is using IOConnectCallAsyncScalarMethod()
and the kext using sendAsyncResult64()
to let the app know events coming in. However the method sendAsyncResult64()
is not available in DriverKit.
I saw AsyncCompletion looks like solution but no idea to implement it. Anyone know how to do? Appreciate if any suggestion!