Instance Property

setFetchAgentResetCallback

Sets the callback to be called when a fetch agent reset completes.

Declaration

void (*setFetchAgentResetCallback)(void *self, void *refCon, IOFWSBP2StatusCallback callback);

Parameters

self

Pointer to IOFireWireSBP2LibLoginInterface object.

refCon

refCon passed to callback.

callback

address of callback method of type FWSBP2FetchAgentWriteCallback.

Discussion

The fetch agent state machine on the device can be reset by a write to a specific register. The SBP2 services offer a utility method to reset the fetch agent. You can register a callback routine here to be notified when this rest write completes.