HUAWEI MG323 GSM M2M Module

 

AT Command Interface Specification

Commands for Identification

6.5 AT+CGSN/GSN - Command for Querying the IMEI

The AT+CGSN/GSN command queries the IMEI of the module.

6.5.1Checking Whether the Command for Querying the IMEI Exists

Test

AT+CGSN=? or AT+GSN=?

command

 

Function

Checks whether the command for querying the IMEI exists.

Response

<CR><LF>OK<CR><LF>

6.5.2 Querying the IMEI

Execution AT+CGSN or AT+GSN command

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-1Composition 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+CGSN

350050500005492

Issue 02 (2010-11-23)

Huawei Proprietary and Confidential

55

Copyright © Huawei Technologies Co., Ltd.

 

 

Page 72
Image 72
Huawei MG323 AT+CGSN/GSN Command for Querying the Imei, Checking Whether the Command for Querying the Imei Exists, Char