GL8200, tmobile card, roaming in canada

We’re having issues with roaming tmobile sim cards. Here’s what happens:

CREG? gives 0,5 which seems good but I can’t get a KTCP connection to connect.

However, if we put the tmobile sim card in a phone, it works - and after that it also works in the gl8200. Then after a month (billing cycle?) it stops working again.

tmobile site says to dial #RON# or #766# to enable roaming, I’ve tried “ATD#766#” and got an OK, but still can’t get and TCP data to flow.

Any suggestions?

@Bob1974,

It would be good if you posted the command sequence given the unit is attached implying that roaming is already enabled, you might also want to send the below commands.

at+cgmr
at+cgdcont?
at+cops?
at+creg?
at+cgreg?

at+csq
at+cmee=1

Then send your command sequence and post it.

Regards

Matt

atz
OK
at+cfun=1,1
OK

+WDSI: 0
at+cgmr
SIERRA RGL8200.5.5.25.0.201804161340.x6250_2

OK
at+cgdcont?
OK
at+cops?
+COPS: 1,1,“Bell”,2

OK
at+creg?
+CREG: 0,5

OK
at+cgreg?
+CGREG: 0,5

OK
at+csq
+CSQ: 15,99

OK
at+cmee=1
OK
atz
OK
at+cops=2
OK
at+cfun=1,1
OK

+WDSI: 0
at
OK
at+cops=0
OK
at+cgmr
SIERRA RGL8200.5.5.25.0.201804161340.x6250_2

OK
at+cgdcont?
OK
at+cops?
+COPS: 0,1,“Bell”,2

OK
at+creg?
+CREG: 0,5

OK
at+cgreg?
+CGREG: 0,5

OK
at+csq
+CSQ: 15,99

OK
at+cmee=1
OK
AT+KIPOPT=0,“TCP”,0,0
OK
AT+KCNXCFG=3,“GPRS”,“epc.tmobile.com
OK
AT+KCNXTIMER=3,30,4,120
OK
AT+KURCCFG=“TCP”,0
OK
AT+KTCPCFG=3,0,"–.--.–.--",-- # ip/port removed
+KTCPCFG: 1

OK
AT+KTCPCNX=1
OK

+KCNX_IND: 3,4,1

+KCNX_IND: 3,2,1,4,30
AT+KTCPSTAT=1
+KTCPSTAT: 2,-1,0,0

OK

+KCNX_IND: 3,4,2

+KCNX_IND: 3,2,2,4,30

+KCNX_IND: 3,4,3

+KCNX_IND: 3,2,3,4,30

+KCNX_IND: 3,4,4

+KCNX_IND: 3,2,4,4,30
at+cgdcont?
+CGDCONT: 3,“IP”,“epc.tmobile.com”,“0.0.0.0”,0,0

OK

@Bob1974,

Looks like the unit is working as expected i.e. it is attached, connecting to the network, sending IP connection attempts, etc. I think the problem is somewhere upstream.

Regards

Matt

That’s the thing - if we take that card and put it in a phone, the phone can surf the web no problem. Once it has been in a phone, we can put it back in the GL8200 and the ‘upstream’ problem goes away until the next billing cycle. There is something the phone is doing automatically that makes the roaming work.

Like I said, I tried tmobile’s “dial #766# to enable roaming” fix (ATD#766# -> OK), but that doesn’t solve the problem.

@Bob1974,

please note that ATD support for TS 22.030 MMI codes is optional according to TS 27.007. It might make sense to retry with
AT+CSCS=“GSM”
followed by
AT+CUSD=1,"#766#",15
instead of
ATD#766#
on the GL8200.

Regards,
Reinhard

Looks promising, but still doesn’t work:

AT+KIPOPT=0,“TCP”,0,0
OK
AT+KCNXCFG=3,“GPRS”,“epc.tmobile.com
OK
AT+KCNXTIMER=3,30,4,120
OK
AT+KURCCFG=“TCP”,0
OK
AT+KTCPCFG=3,0,"–.--.–.--",–
+KTCPCFG: 1

OK
AT+CSCS=“GSM”
+CME ERROR: 4
AT+CSCS=“GSM”
OK
AT+CUSD=1,"#766#",15
+CUSD: 0,“Free T-Mobile Msg: International data has been enabled, to disable international data roaming dial #763#”,15

OK
AT+KTCPCNX=1
OK

+KCNX_IND: 3,4,1

+KCNX_IND: 3,2,1,4,30
AT+KTCPSTAT=1
+KTCPSTAT: 2,-1,0,0

OK
AT+KTCPSTAT=1
+KTCPSTAT: 2,-1,0,0

OK
AT+KTCPSTAT=1
+KTCPSTAT: 2,-1,0,0

OK
AT+KTCPSTAT=1
+KTCPSTAT: 2,-1,0,0

OK

+KCNX_IND: 3,4,2

+KCNX_IND: 3,2,2,4,30

+KCNX_IND: 3,4,3

+KCNX_IND: 3,2,3,4,30

+KCNX_IND: 3,4,4

+KCNX_IND: 3,2,4,4,30


our upstream is working fine if I use a local card:

AT+KIPOPT=0,“TCP”,0,0
OK
AT+KCNXCFG=3,“GPRS”,“sp.telus.com
OK
AT+KCNXTIMER=3,30,4,120
OK
AT+KURCCFG=“TCP”,0
OK
AT+KTCPCFG=3,0,"–.--.–.--",–
+KTCPCFG: 1

OK
AT+KTCPCNX=1
OK

+KCNX_IND: 3,4,1

+KCNX_IND: 3,1,0

+KTCP_IND: 1,1

+KTCP_DATA: 1,22

No other suggestions? Anyone? This is such a strange problem.