Home Contents | # v4kf:chipDisable | V4kf | Core4 Lua Event System

## SYNOPSIS

rdrhandle:chipDisable([socket])

## DESCRIPTION

Disables a chip card or SAM. Power to the chip is turned off.

When running against a regular chip card, then the command can only be used if the reader is in the Locked state, which secures the chip card against removal during operation.

Alternatively, the command can be run on a SAM card by specifying a non-zero socket number. The value selects the SAM socket to access (1..N, depending on the number of SAM sockets installed.)

While this state processes, the reader is in the Processing state and v4kf:isProcessing() returns true. The reader returns to the previous state on completion.

The command returns immediately. Actual execution of any reader operation is done within the event loop.

The processing result is provided with the v4kf.processingComplete() callback.

## SEE ALSO

v4kf:chipEnable, v4kf:chipRead, v4kf:chipWrite, v4kf:chipIdentify, v4kf:state