MANAGE CHANNEL CLOSE

In response to the MANAGE CHANNEL CLOSE command, the dispatcher follows this procedure:

  1. If the origin channel is not open, an error is returned.

  2. If the channel to be closed is 0, an error is returned.

  3. If the channel to be closed is not open or not available, a warning is thrown.

  4. Deselects the applet in the channel to be closed.

  5. Closes the logical channel.

This MANAGE CHANNEL CLOSE command closes channel R from channel Q:

CLA INS P1 P2 Lc Data Le SW1 SW2 SW2

0xQ

0x70

0x80

0xR

0

-

0

0x90

00

00

This command closes channel R. Channel R must not be the basic channel (it can be channel 1, 2, ...19 only).

This command returns an error in the following circumstances:

  • Channel encoded in R is the basic channel.

  • Channel encoded in Q is not open.

It returns a warning if channel R is not open.