HUAWEI MG323 GSM M2M Module
AT Command Interface Specification Commands for Identification
Issue 02 (2010-11-23) Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd. 55
6.5 AT+CGSN/GSN - Command for Querying the IMEI
The AT+C GSN /GS N command queries the IMEI of the module.

6.5.1 Checking Whether the Command for Querying the IMEI

Exists

Test
command
AT+CGSN=? or AT+GSN=?
Function Checks whether the command for querying the IMEI exists.
Response <CR><LF>OK<CR><LF>

6.5.2 Querying the IMEI

Execution
command
AT+CGSN or AT+GSN
Function Queries the IMEI of the module.
Response <CR><LF><sn><CR><LF>
<CR><LF>OK<CR><LF>
Parameter description
<sn>: string, which indicates the IMEI of the board. Table 6-1 lists the composition of
the IMEI.
Table 6-1 Composition of the IMEI
8 char 6 char 1 char
TAC SNR Spare
TAC: type code assigned to the device
SNR: sequence number of the device
Spare: reserved

6.5.3 Examples

Example:
Query the IMEI.
AT+C GSN
350050500005492