HL7812 no response to AT+COPN

Hi,

as I understand the execute command ‘AT+COPN’ should reponse with the selected operator. Although I wait for 120 seconds, no response will be received.

→ AT+COPS=?<\r>
<\n>
← +COPS: (1,“vodafone.de”,“26202”,7),(1,“Telekom Deutschl”,“Telekom”,“26201”,7),(0,“o2 - de”,“o2 - de”,“26203”,7),(0-3),(0-2)<\r>
<\n>
OK<\r>
<\n>
+CREG: 4<\r>
<\n>
+CREG: 5,“A5D6”,“031AA101”,7<\r>
<\n>
→ AT+COPS=0<\r>
<\n>
← OK<\r>
<\n>
→ AT+COPN<\r>
<\n>
← Timeout

  • Does anyone use this command and receive a response?
  • Any information why I did not receive a response?

Best regards
Claus

Ok, AT+COPN did not response the selected operator, but transmit a very, very long list of operators. This produces in my implementation a buffer overflow (and response was not detected).

Exists a possibillity to get the information, which operater was selected in roaming condition?

Best regards
Claus

have you check +CPOL?

Hi,

+CPOL? returns only the list of preferred PLMN, if you have created a list before.

COPS=? returns the available operators
← +COPS: (1,“vodafone.de”,“26202”,7),(1,“Telekom Deutschl”,“Telekom”,“26201”,7),(0,“o2 - de”,“o2 - de”,“26203”,7),(0-3),(0-2)<\r>

CREG gives information about location area and cell ID
+CREG: 5,“A5D6”,“031AA101”,7<\r>
(5 means registered, roaming)

but I need the information which operator was selected (for registration to PLMN)

I did not find an AT-command which returns the actual selected operator.
Is it possible to get this information?

Best regards
Claus

did you set AT+CPLS?
Here is my test:


ati3

HL7800.4.4.13.0

 

OK

at+cpls?

+CPLS: 0

 

OK

at+cpls=?

+CPLS: (0-2)

 

OK

at+cpol?

 

OK

at+cpls=2

OK

at+cpol?

+CPOL: 1,2,"45400",0,0,0,1

 

OK

at+cpls=1

OK

at+cpol?

+CPOL: 1,2,"45400",0,0,0,1

+CPOL: 2,2,"45501",0,0,1,0

+CPOL: 3,2,"46001",0,0,1,0

+CPOL: 4,2,"310410",0,0,1,0

+CPOL: 5,2,"310380",0,0,1,0

+CPOL: 6,2,"52501",0,0,1,0

+CPOL: 7,2,"46697",0,0,1,0

+CPOL: 8,2,"44020",0,0,1,0

+CPOL: 9,2,"51010",0,0,1,0

+CPOL: 10,2,"52003",0,0,1,0

+CPOL: 11,2,"50502",0,0,1,0

+CPOL: 12,2,"45005",0,0,1,0

+CPOL: 13,2,"50212",0,0,1,0

+CPOL: 14,2,"302880",0,0,1,0

+CPOL: 15,2,"302610",0,0,1,0

+CPOL: 16,2,"302220",0,0,1,0

+CPOL: 17,2,"51502",0,0,1,0

+CPOL: 18,2,"40410",0,0,1,0

+CPOL: 19,2,"40492",0,0,1,0

+CPOL: 20,2,"40445",0,0,1,0

+CPOL: 21,2,"45201",0,0,1,0

+CPOL: 22,2,"22801",0,0,1,0

+CPOL: 23,2,"42402",0,0,1,0

+CPOL: 24,2,"20601",0,0,1,0

+CPOL: 25,2,"23203",0,0,1,0

+CPOL: 26,2,"23820",0,0,1,0

+CPOL: 27,2,"41401",0,0,1,0

+CPOL: 28,2,"65501",0,0,1,0

+CPOL: 29,2,"42501",0,0,1,0

+CPOL: 30,2,"33403",0,0,1,0

+CPOL: 31,2,"42003",0,0,1,0

+CPOL: 32,2,"24202",0,0,1,0

+CPOL: 33,2,"71606",0,0,1,0

+CPOL: 34,2,"47001",0,0,1,0

+CPOL: 35,2,"24001",0,0,1,0

+CPOL: 36,2,"24491",0,0,1,0

+CPOL: 37,2,"45703",0,0,1,0

+CPOL: 38,2,"73002",0,0,1,0

+CPOL: 39,2,"41503",0,0,1,0

+CPOL: 40,2,"310110",0,0,1,0

+CPOL: 41,2,"27401",0,0,1,0

+CPOL: 42,2,"21901",0,0,1,0

+CPOL: 43,2,"42702",0,0,1,0

+CPOL: 44,2,"60401",0,0,1,0

+CPOL: 45,2,"72207",0,0,1,0

+CPOL: 46,2,"27801",0,0,1,0

+CPOL: 47,2,"47202",0,0,1,0

+CPOL: 48,2,"42899",0,0,1,0

+CPOL: 49,2,"71401",0,0,1,0

+CPOL: 50,2,"20801",0,0,1,0

+CPOL: 51,2,"26801",0,0,1,0

+CPOL: 52,2,"20404",0,0,1,0

 

OK

Hi jyijyi

your sample shows different methods of selction a preferred PLMN (PLMN list). This can be usefull before registering to a PLMN.

We use a 1nce SIM card which uses the roaming option, so it will connect to an operator which is available at the location of the device. After it has registered succesfully, I need to know* to which operator it has connected.

Best regards
Claus

didn’t AT+COPS? can show the registered operator?

For example:
image

Hi jyijyi,

Yes, thanks a lot!

It was my error. I used AT+COPS=? (wrong) but should use AT+COPS? (correct)

Best regards
Claus