Contents

setStatusNotifyProc

Sets the callback to be called on normal command status.

Declaration

virtual void setStatusNotifyProc(
 void *refCon,
 FWSBP2NotifyCallbackcallback );

Parameters

  • refCon:

    refCon passed to callback.

  • callback:

    address of callback method of type FWSBP2NotifyCallback.

Overview

The supplied callback is called when normal command status is recieved, when a normal command times out, or when a normal command is aborted. "notificationEvent" in the callback's params will indicate what happened. It will be set to one of the following values: kFWSBP2NormalCommandReset, kFWSBP2NormalCommandStatus, or kFWSBP2NormalCommandTimeout. If the event type is kFWSBP2NormalCommandTimeout and "len" is non-zero then "message" contains the data written to the status block.

See Also

Miscellaneous