ISO/IEC 7816-4
Identification cards — Integrated circuit cards — Part 4: Organization, security and commands for interchange
Cartes d’identification — Cartes à circuit intégré — Partie 4: Organisation, sécurité et commandes pour les échanges

MANAGE CHANNEL command
When completed, the command opens or closes a logical channel (see 5.1.1.2) other than the basic one, i.e., a channel numbered from one to nineteen (the greater numbers are reserved for future use). The open function opens a new logical channel other than the basic one. Options are provided for the card to
assign a channel number, or for a channel number to be supplied to the card.
–If bit 8 of P1 is set to 0 (i.e., P1 set to ’00′ because the other seven bits are reserved for future use), then MANAGE CHANNEL shall open a channel numbered from one to nineteen as follows.
  -If P2 is set to ’00′, then the Le field shall be set to ’01′ and the response data field shall consists of a single byte for encoding a non-zero channel number assigned by the card from ’01′ to ’13′.
  -If P2 is set from ’01′ to ’13′, then it encodes an externally assigned non-zero channel number and the Le field shall be absent.
–After an open function performed from the basic logical channel (CLA encoding zero as channel number), the MF or a default application DF shall be implicitly selected as the current DF on the new channel.
–After an open function performed from a non-basic logical channel (CLA encoding a non-zero channel number), the current DF on the channel numbered in CLA shall become current on the new channel.

The close function explicitly closes a logical channel other than the basic one. The Le field shall be absent. After closing, the logical channel shall be available for re-use.
–If bit 8 of P1 is set to 1 (i.e., P1 set to ’80′ because the other seven bits are reserved for future use), then MANAGE CHANNEL shall close a channel numbered from 1 to nineteen as follows.
  -If P2 is set to ’00′, then the channel numbered in CLA (a non-zero channel number) shall be closed.
  -If P2 is set from ’01′ to ’13′, then the channel numbered in P2 shall be closed.
Warning: The close function may be aborted if CLA indicates neither the basic channel nor the channel numbered in P2. 

Table 41 MANAGE CHANNELcommand-response pair
CLA INS P1-P2 As defined in 5.1.1 ’70′ ’0000′ for opening a logical channel to be numbered in the response data field ’0001′ to ’0013′ for opening the logical channel numbered in P2 ’8000′ for closing the logical channel numbered in CLA (other than the basic channel) ’8001′ to ’8013′ for closing the logical channel numbered in P2 (any other value of P1-P2 is reserved for future use)
Lcfield Absent for encoding Nc= 0
Data field Absent
Lefield Absent for encoding Ne= 0, present for encoding Ne= 1
Data field Absent (P1-P2 not set to ’0000′), or ’01′ to ’13′ (P1-P2 set to ’0000′)
SW1-SW2 See Tables 5 and 6 when relevant, e.g., ’6200′, ’6881′, ’6A81′