Roaming sim card on EHS6 | Telit Cinterion IoT Developer Community
February 27, 2017 - 12:23pm, 6256 views
I am using a roaming SIM card on EHS6 module and facing some difficulties when selecting network operator.
1, I sometimes experience switching of network operators. The module sometimes stays on a network for a few seconds and then switches to another network.
2, When disconnection happens, I send AT+COPS=0 but receive error: "operation temporary not allowed" or no response from module. I wait for 5 minutes but still no response, so I send some random character and the operation was aborted.
3, I try sending AT+COPS=2 to deregister, then send AT+COPS=0 to test and the above mentioned happens.
I saw this thread https://iot-developer.thalesgroup.com/threads/ph8-network-selection-roam...
Probably I am facing the same problem?
I am wondering if probably there are cases where AT+COPS=0 is not supposed to be used?
Thank you. I will check with the local distributor and hopefully they have solution for this.
Just an update. After I set AT^SSTA=1 and reboot the device, the AT+COPS commands work fine. Probably the module's SIM toolkit and the SIM are not totally compatible.
Some communication from the SIM probably causes problems for the module.
So you have entered the Explicit Response mode. Are there many URC's thrown? Can you paste some example?
This is my log:
8:54:08.685> +STKCNF: 39,0,255,145
8:54:08.685> +STKPRO: 05,25
8:54:11.741> +CREG: 5,"01A5","001625E1",4
8:54:13.552> +COPS: 0,0,"SGP-M1",2
8:54:14.800> +CREG: 5,"01A5","00166456",4
8:54:17.795> +CREG: 5,"01A5","000CEAC5",4
8:54:22.100> +CREG: 0
8:54:30.214> +CREG: 5,"01A5","00166456",4
8:54:31.398> +CREG: 5,"01A5","001625E1",4
8:54:33.769> +CREG: 5,"01A5","000CEAC5",4
I cannot find some of the parameter values for +STKCNF and +STKPRO in the AT command document. Does that mean the module does not support these commands?
Could you please explain abit more about AR and ER modes? After reading the manual, I am still not clear about this.
I was expecting that there might be a huge amount of URC's for example but there isn't.
I'll try to verify why these numbers are not listed in the AT commands specification and if it is possible that these are unsupported commands and will write back.
I've consulted with the expert and here's what I got:
"Setting the EHS6 to Explicit Response Mode and not handling the proactive commands is not a good solution.
The URC +STKPRO: 05,25 seems to indicate a ST UP EVENT LIST command, requesting the event "Profile Container" (dec 25 = hex 19). This feature is part of SAT letter class "u" (Event download: Profile Container, ******** command:
******** CONTAINER, Proactive Commands: COMMAND CONTAINER and ENCAPSULATED SESSION CONTROL). This mechanism is used for Toolkit commands which are encapsulated in other Toolkit commands (external eCAT client).
None of our modules support this.
However, I have the strong feeling that this is a problem of the Toolkit applet of the card. I don't think that the card wanted to request an event "Profile Container"."
So I think that it might be possible and it looks like that now that these unsupported commands are causing this module's behavior.
I think that you could simultaneously ask the MVNO about these commands - are they really intended while there is any eCAT client on the device.
Thank you a lot for the information.
May I confirm that regardless whether the mode is Automatic Response or Explicit Response, the module's SIM Toolkit is still enabled?
The SIM Application Toolkit enables the applications on SIM card to communicate with the device. There are 2 modes available (configurable with AT^SSTA):Automatic Response mode - where all commands and responses are exchanged automatically between the module and the SIM application; Explicit Response mode - where the user application is required to handle all commands and responses transmitted from the SIM or USIM.
So the difference is that in the Automatic Response mode you don't need to reply to the commands.
Thank you for the information!