SARA-R4/N4 series-AT Commands Manual
UBX-17003787 - R09

12SIM toolkit
Page 115 of 307
12î™–î™–î™–î™–SIM toolkit
12.1î™–î™–î™–î™–Introduction
SIM Application Toolkit (STK) is the 3GPP standard feature that allows the Subscriber Identity Module (SIM) to
handle the DCE, also by giving commands such as displaying menus and/or asking for user input, and control
its access to the network.
Once the SIM toolkit interface has been enabled via AT+CFUN command, the DTE is notified SIM toolkit
commands and events and can interact with the SIM through appropriate STK AT commands.
SIM toolkit processing supports two modes: dedicated and raw. In dedicated mode, the DTE is notified of STK
commands and events after decoding; in raw mode the DTE receives the raw data as received from the SIM.
Only one mode can be enabled and function at a time.
For more details on the command description and parameters, see 3GPP TS 51.014 [44].
The setup menu fetched from the SIM card may vary with the terminal profile supported by the MT, which
is affected by the capabilities of the module itself (e.g. speech): this implies that different u-blox modules
may display different setup menus with the same SIM card.
The commands in this section properly work only if the SIM toolkit interface has been activated by the
DTE. Otherwise the SIM toolkit processing will be blocked.
If an AT command related to the dedicated mode is used when the raw mode is enabled (and vice versa),
an error result code ("+CME ERROR: operation not allowed" if +CMEE is set to 2) is returned.
The STK commands related to the Bearer Independent Protocol, i.e. Open Channel, Close Channel, Receive
Data, Send Data, Get Channel Status and the events Data Available and Channel Status, are autonomously
managed by the device without the intervention from the TE, unless the dedicated mode is active and the Open
Channel command requires the user intervention (see ETSI TS 102 223 [51]).
12.2î™–î™–î™–î™–Bearer Independent Protocol status indication +UBIP
+UBIP
SARA-R410M-02B SARA-R410M-52B SARA-R412MModules
SARA-N4
Syntax PIN required Settings saved Can be aborted Response time Error referenceAttributes
full No NVM No - +CME Error
12.2.1î™–î™–î™–î™–Description
Configures the Bearer Independent Protocol status indication, i.e. the +UUBIP URC presentation.
12.2.2î™–î™–î™–î™–Syntax
Type Syntax Response Example
Set AT+UBIP=<mode> OK AT+UBIP=1
OK
Read AT+UBIP? +UBIP: <mode>
OK
+UBIP: 0
OK
Test AT+UBIP=? +UBIP: (list of supported <mode>'s)
OK
+UBIP: (0,1)
OK
URC +UUBIP: <ev_cmd>,<val> +UUBIP: 10,261
12.2.3î™–î™–î™–î™–Defined values
Parameter Type Description
<mode> Number Indicates whether the +UUBIP URC is enabled or not:
• 0 (factory-programmed value): BIP status indication disabled
• 1: BIP status indication enabled