Network service commands – Westermo GS-01 User Manual

Page 14

Advertising
background image

14

6195-2201

Network service commands

+CSQ – Signal Quality

This command shall be used to know the received signal strength indication (<rssi>) and
the channel bit error rate (<ber>) with or without any SIM card inserted.

<rssi>:

0: –113 dBm or less
1: –111 dBm
2...30: –109 to –53 dBm
31: –51dBm or greater
99: not known or not detectable

<ber>:

0...7: as RXQUAL values in the table GSM 05.08
99: not known or not detectable

Application to GSM

AT+CSQ

GSM to application

+CSQ: <rssi>,<ber>

<rssi> and <ber> as defined

OK

before

+CREG – Network registration

This command is used by the application to know the registration status of the mobile.

Command syntax:

AT+CREG= <mode>

Response syntax:

+CREG: <mode>, <stat> [ ,<lac>,<ci> ]
for AT+CREG? command only

<mode>

0: Disable network registration unsolicited result code (default)
1: Enable network registration code result code +CREG: <stat>
2: Enable network registration and location information unsolicited

result code +CREG: <stat>,<lac>,<ci> if there is a change of the network cell.

<stat>

0: not registered, ME is not currently searching a new operator
1: registered, home network
2: not registered, ME currently searching a new operator to register to
3: registration denied
4: unknown
5: registered, roaming

<lac>: string type; two byte location area code in hexadecimal format

(e.g. ”00C3” equals 193 in decimal)

<ci>: string type; two byte cell ID in hexadecimal format

Application to GSM

AT+CREG?

GSM to application

+CREG: <mode>,<stat>

as defined before

OK

Advertising