> 23.2 | Star-Hash (*#) Network Commands

> The following command strings can be sent to the network via ATD and have to be terminated with a semicolon. The command strings are defined with GSM 2.30 [21].

> Table 23.1: | Star-Hash (*#) Command Overview

> Star-Hash Code | Functionality | Response, also refer to Table 23.3
> Phone Security
> *#06# | Query IMEI | <IMEI> OK
> **04[2]*oldPin[2]*newPin[2]*newPin[2]# | Change SIM pwd | +CME ERROR: <err> / OK
> **05[2]*unblKey[2]*newPin[2]*newPin[2]# | Change/Unblocking SIM pwd | +CME ERROR: <err> / OK
> *#0003*MasterPhoneCode# | Unlock ''PS'' lock with Master Phone Code | +CME ERROR: <err> / OK
> *[*]03*[ZZ]*oldPw*newPw*newPw# | Registration of net password | +CME ERROR: <err> / OK
> Phone number presentation
> *#30# | Check status of CLIP (Calling Line Identification Presentation) | +CLIP : <n>,<m> OK (see AT+CLIP)
> *#31# | Check status of CLIR (Calling Line Identification Restriction) | +CLIR : <n>,<m> OK (see AT+CLIR)
> *31#<Phonenumber>[;] | Suppress CLIR | (see AT+CLIR)
> #31#<Phonenumber>[;] | Activate CLIR | (see AT+CLIR)
> *#76# | Check status of COLP (Connected Line Identification Presentation) | +COLP : <n>,<m> OK (see: AT+COLP)
> *#77# | Check status of COLR (Connected Line Identification Restriction) | +COLR : 0,<m> OK (where <m> = active or not active)
> Call forwarding
> (choice of *,#,*#,**,##)21*DN*BS# | Act/deact/int/reg/eras CFU | ^SCCFC : <reason>, <status>, <class> [,...] like +CCFC *) (see: AT+CCFC)
> (choice of *,#,*#,**,##)67*DN*BS# | Act/deact/int/reg/eras CF busy | see above
> (choice of *,#,*#,**,##)61*DN*BS*T# | Act/deact/int/reg/eras CF no reply | see above
> (choice of *,#,*#,**,##)62*DN*BS# | Act/deact/int/reg/eras CF no reach | see above
> (choice of *,#,*#,**,##)002*DN*BS*T# | Act/deact/int/reg/eras CF all | see above
> (choice of *,#,*#,**,##)004*DN*BS*T# | Act/deact/int/reg/eras CF all cond. | see above
> Call waiting
> (choice of *,#,*#)43*BS# | Activation/deactivation/int WAIT | +CCWA : <status>, <class> [,...] like +CCWA *) (see: AT+CCWA)
> Call barring
> (choice of *,#,*#)33*Pw*BS# | Act/deact/int BAOC | ^SCLCK : <fac>, <status>, <class> [, ...] like +CLCK *) (Refer to AT+CLCK)
> (choice of *,#,*#)331*Pw*BS# | Act/deact/int BAOIC | see above
> (choice of *,#,*#)332*Pw*BS# | Act/deact/int BAOIC exc.home | see above
> (choice of *,#,*#)35*Pw*BS# | Act/deact/int. BAIC | see above
> (choice of *,#,*#)351*Pw*BS# | Act/deact/int BAIC roaming | see above
> #330*Pw*BS# | Deact. All Barring Services | see above
> #333*Pw*BS# | Deact. All Outg.Barring Services | see above
> #353*Pw*BS# | Deact. All Inc.Barring Services | see above
> Call Hold / Multiparty
> C[C] in call | Call hold and multiparty | +CME ERROR: <err> / OK
> USSD messages
> [C]...[C]# | Send USSD message | +CME ERROR: <err> / OK
> C[C] (excluded 1[C]) | Send USSD message | +CME ERROR: <err> / OK

> *) Notes on ^SCCFC, +CCWA, ^SCLCK: The output depends on the affected basic service of the Star-Hash code. One line will be output for every tele- or bearer service coded in basic service code BS.
> ^SCCFC and ^SCLCK are modified by giving an additional <reason> or <fac> in front of the regular output string generated by the standard commands +CCFC and +CLCK.

> Table 23.2: | Abbreviations of Codes and Parameters used in Table 23.1

> Abbreviation | Meaning | Value
> ZZ | Type of supplementary services: Barring services All services | 330 Not specified
> DN | Dialing number | String of digits 0-9
> BS | Basic service equivalent to parameter class: Voice FAX SMS SMS+FAX Data circuit asynchron Data circuit synchron dedicated PAD access dedicated Packet access Data circuit asynchron+PAD Data circuit synchron+Packet Data circuit asynchron+synchron+Packet+PAD All Services | 11 13 16 12 25 24 27 26 21 22 20 --
> T | Time in seconds | In contrast to AT+CCFC, parameter T has no default value. If T is not specified, an operator defined default or the last known value may be used, depending on the network operator.
> PW | Password | --
> C | Character of TE character set (e.g. asterics, hash or digit in case of USSD, or digits in case of held calls or multiparty calls) | --

> Table 23.3: | Star-Hash Command Response Parameters

> Parameter | Meaning
> <m> | Mode: 0 = not active, 1 = active
> <n> | Unsolicited result code: 0 = presentation disabled, 1 = presentation enabled
> <status> | Status: 0 = not active, 1 = active
> <class> | Represents BS = basic service, refer to AT+CCFC, AT+CLCK
> <fac> | Facility lock, refer to AT+CLCK
> <reason> | Call forwarding reason

> For exact specification of format and parameters for Star-Hash commands refer to GSM 02.04, Table 3.2 [20] and GSM 02.30, Annex C [21].

> Table 23.4: | Star-Hash Commands for Supplementary Services

> Star-Hash Code | Abbreviations in Table 23.1 | Functionality
> * | act | Activate (except for CLIR, see list above)
> ** | reg | Register and activate
> *# | int | Check status (interrogate)
> # | deact | Deactivate (except for CLIR, see list above)
> ## | eras | Unregister and deactivate