2 network operator identification, At+cops=?<cr – Rainbow Electronics GM862-GPS User Manual

Page 17

Advertising
background image





GM862-GPS Software User Guide

1vv0300729 Rev. 5 - 05/07/07

Reproduction forbidden w ithout Telit Communications S.p.A. w ritten authorization - All Rights Reserved

page 17 of 120

2.5.3.2 Network operator identification

Once the mobile has registered on some network (or even if it has returned +CREG:x,3), it is possible
to query the mobile for network identifications codes an names:

send command

AT+COPS=?<cr>

wait for response in the format:


+COPS: [list of supported (<stat> ,<oper (in <format>=0)>,,
<oper (in <format>=2)>)s][,,(list of supported <mode>s),
(list of supported<format>s)]

where:
<stat> - operator availability
0 - unknown
1 - available
2 - current
3 - forbidden

<format>
0 - alphanumeric long form (max length 16 digits)
2 - numeric 5 digits [country code (3) + network code (2)]
<oper>: network operator in format defined by <format> parameter.

Note: since with this command a network scan is done, this command may require some seconds
before the output is given.

For example:
command:
AT+COPS=?<cr>
Answer:
+COPS: (2,"I WIND",,"22288"),(1,"SI MOBITEL GSM",,"29341"),(1,"vodafone IT",,"22
210"),(1,"SI.MOBIL",,"29340"),(3,"I TIM",,"22201"),,(0-4),(0,2)

OK

In this case the mobile is registered on the network " I WIND " which is a network from Italy Nation
code :222 and Network ID: 88. There is also another network available for registration:
"SI MOBITEL GSM" which is a network from Slovenia Nation Code:293 and Network ID: 41 ,
"SI.MOBIL" which is a network from Slovenia Nation Code:293 and Network ID: 40 and
Vodafone IT from Italy with Nation code 22 and Network 10.
The other network is not available for registration:
" I TIM " from Italy Nation code :222 and Network ID: 01 - FORBIDDEN


TIP: In this case a "I WIND" logo might be reproduced on the MMI to give the user the
information that is registered on that network.

Advertising