Important: The information in this document is obsolete and should not be used for new development.
ADB Command Completion Routines
TheADBOp
function is always executed asynchronously; if the bus is busy, the ADB command passed toADBOp
is held in a command queue until the bus is free. The result code returned byADBOp
indicates only whether the ADB command was successfully placed into the ADB command queue, not whether the command itself was successful.Thus, when you use the
ADBOp
function to send a command to an ADB device, and your application requires synchronous behavior, you'll need to provide a completion routine to determine when the command has completed.
Subtopics
- MyCompletionRoutine