nrf9160

Set command

The set command closes a communication session with the active Universal Integrated Circuit Card (UICC). The UICC closes the logical channel when it receives the command.

Syntax:

+CCHC=<sessionid>
+CME ERROR code
11 – SIM PIN required.
12 – SIM PUK required.
13 – SIM failure.
14 – SIM busy.
17 – SIM PIN2 required.
18 – SIM PUK2 required.

The set command parameter and its defined values are the following:

<sessionid>
Integer.
Session ID used to target a specific application on a smart card, such as Universal Subscriber Identity Module (USIM), using the opened logical channel.

The following command example closes a previously opened logical channel:

AT+CCHC=2
OK