Instance Property

setMessageCallback

Sets callback for user space message routine.

Declaration

void (*setMessageCallback)(void *self, void *refCon, IOFWAVCMessageCallback callback);

Parameters

self

Pointer to IOFireWireAVCLibProtocolInterface.

refCon

RefCon to be returned as first argument of completion routine.

callback

Address of completion routine.

Discussion

In FireWire and AVC, bus status messages are delivered via IOKit's message routine. This routine is emulated in user space for AVC and FireWire messages via this callback. You should register here for bus reset and reconnect messages.