phs8-p at+cgdcont error | Telit Cinterion IoT Developer Community
January 11, 2018 - 9:30am, 5526 views
Hi everyone,
I'm a trainee in a company and they asked me to work with at command , but i'm a newbie about it.
I'm trying to create/edit a connection to mobile network so setup/change : apn,username and password .
So i'm following the at command manual about the phs8 but i got lot of error.
I already made search around forum and look like noone got the same error so i'm probably doing some stupid mistake but can't see where .
That's the log of my try following the at command manual :
# gsmat AT+COPS?
+COPS: 0,0,"Orange F", 6
# gsmat AT+CGACT=1,
OK
# gsmat AT+CGDCONT=1,"IP","test.fr","0.0.0.0",0,0
ERROR
# gsmat AT+CGDCONT=101,"IP","test.fr","0.0.0.0",0,0
+CME ERROR: operation temporary not allowed
// sometimes the AT+CGDCONT return a busy error
So i tried to desactivate the pdp context before i change him and it give an error too :
# gsmat AT+CGACT=1,0
ERROR
Hope my english is decent
Thank you !
Hello,
To define the PDP context you only need to specify the PDP type and APN like below:
AT+CGDCONT=1,"IP","test.fr"
To see more descriptive error replies please type AT+CMEE=2.
You can try AT+CEER command to see last errors connected with PDP context activation.
You can check the active contexts with AT+CGACT?.
What module do you have and what is the solution that you would you like to use it for?
Regards,
Bartłomiej
Hello,
Thanks for the answer !
I just tried the commands, still got an error return after AT+CGDCONT=1,"IP","test.fr"
AT+CEER return me "Requested service option not subscribed"
My module is a PHS8
The compagny i'm working for is doing embedd linux devices , and they asked me to make an HMI who can get/setup some parameters (network status, data consomation, operator, be able to change apn/user/password if they change the simcard ....)
there is the log :
# gsdmmat AT+CMEE=2
OK
# gsmat AT+CDGDCONT=1,"IP3","test.fr",
ERROR
# gsmat AT+CGACT?
^SYSSTART
AT+CGACT?
+CGACT: 1,0
OK
# gsmat AT+CEER
+CEER: Requested service option not subscribed
OK
Cheers
Hello,
The CEER reply suggests that your subscription may not include data transmission. Please reset the CEER with AT+CEER=0 and retry to make sure that this error will occur again.
I can see in your log that AT+CDGDCONT command includes invalid values. And there's module reset in the middle of the log. Is the module registered to the network when you try the context activation?
So there already is a working solution and you need to add some configuration and status.
Regards,
Bartłomiej
Hello ,
i tried multiple time and now AT+CEER return No cause information available
Yeah there's invalid values on the log , i made mistake when i copy them to the forum my bad, but theye were not in the original command.
I think the module is registred to the network because when i try AT+COPS? it return me +COPS: 0,0,"Orange F",2
there is the log :
#gsmat AT+COPS?
+COPS: 0,0,"Orange F",2
#gsmat AT+CEER=0
OK
#gsmat AT+CGDCONT=1,"IP","orange.m2m.spec"
ERROR
#gsmat AT+CEER
+CEER: No cause information available
OK
#
How can i add configuration and status ?
Thank you !
Cheers
Hello,
It should be possible to configure or change the context if it is properly formatted and not used. Please send AT+CGATT=0 to detach the module from the Packet Domain service and try again. Please also try to configure other context number.
Regards,
Bartłomiej
Hello,
I tried what u said, still got error after AT+CGDCOONT=1,"IP","orange.m2m.spec", and the AT+CEER return +CEER: No Cause information available // that's the same error whatever context number i try
Cheers,
There is the log:
# gsmat AT+CGATT=0
OK
# gsmat AT+CEER=0
OK
# gsmat AT+CMEE=2
OK
# gsmat AT+CGDCONT=1,"IP","orange.m2m.spec"
ERROR
# gsmat AT+CEER
+CEER: No cause information available
OK
# gsmat AT+CEER=0
OK
# gsmat AT+CGATT=0
OK
# gsmat AT+CGDCONT=16,"IP","orange.m2m.spec"
BUSY
# gsmat AT+CGDCONT=16,"IP","orange.m2m.spec"
ERROR
# gsmat AT+CEER
+CEER: No cause information available
OK
# gsmat AT+CEER=0
OK
# gsmat AT+CGATT=0
OK
# gsmat AT+CGDCONT=2,"IP","orange.m2m.spec"
ERROR
# gsmat AT+CEER
+CEER: No cause information available
OK
Hello,
This CEER information means that there is no extended error report registered.
It is strange that you can't configure the context. Have you tried to read if there is anything configured (with AT+CGDCONT? command)? If you reboot the module and check that it is not attached you should be able to change this setting. please also try to set AT+CGDCONT=1 to reset the previous setting. Please check the firmware version with ATI1 command and please paste AT^SCFG? and AT&V commands outputs.
Is the module installed in some device? Is there any other logic executed on it while you are testing?
Regards,
Bartłomiej
Hello,
the command AT+CGDCONT? give me : +CGDCONT: 1,"IP","orange.fr","0.0.0.0",0,0
so look like something is already configured , i can "delete it" with AT+CGDCONT=1 , but i still can't configure the apn with AT+CGDCONT=1,"IP","orange.m2m.spec"
I don't know why but randomly the context is configuring itself and he came back to +CGDCONT: 1,"IP","orange.fr","0.0.0.0",0,0 without any action from me .
The module is in a routeur the ur5i v2 libratum Manufactured by Advantech, and i don't know if there is a logic executed by him while i'm testing, i think the problem may be there, something must define a context and prevent me to make it myself.
Thank you !
Cheers,
There is the log :
# gsmat AT^SCFG?
^SCF: "Call/ECC","0"
^SCFG: "Call/Speech/Codec","0"
^SCFG: "GPRS/Auth","2"
^SCFG: "GPRS/AutoAttach","disabled"
^SCFG: "GPRS/MaxDataRate/HSDPA","0"
^SCFG: "GPRS/MaxDataRate/HSUPA","0"
^SCFG: "Ident/Manufacturer","Cinterion"
^SCFG: "Ident/Product","PHS8-P"
^SCFG: "MEopMode/Airplane","off"
^SCFG: "MEopMode/CregRoam","0"
^SCFG: "MEopMode/PowerMgmt/LCI","disabled"
^SCFG: "MEopMode/PowerMgmt/VExt","high"
^SCFG: "MEopMode/PwrSave","enabled","0","50"
^SCFG: "MEopMode/RingOnData","off"
^SCFG: "MEopMode/RingUrcOnCall","on"
^SCFG: "MEShutdown/OnIgnition","off"
^SCFG: "Radio/Band","511"
^SCFG: "Radio/NWSM","0"
^SCFG: "Radio/OutputPowerReduction","8"
^SCFG: "Serial/USB/DDD","0","0","0409","1E2D","0053","Cinterion","PH8",""
^SCFG: "URC/DstIfc","app"
^SCFG: "URC/Datamode/Ringline","on"
^SCFG: "URC/Ringline","local"
^SCFG: "URC/Ringline/ActiveTime","1"
OK
# gsmat ATI1
Cinterion
PHS8-P
REVISION 02.003
A-REVISION 01.002.00
OK
Hello,
If this is a router it probably tries to configure and set-up the connection automatically. So this might collide with your tests. Maybe there is a way to disable this automatic connection via some configuration web interface for example.
On the other hand it is strange that you were able to configure empty context while it was not possible to set any APN. If the context is in use you should not be able to change it and if not used you should be able to do it.
You can check if there is any connection pending with AT+CGPADDR which in fact returns the local IP address for the connection.
You could also activate URC's with events occurring in the Packet Domain or the network with AT+CGEREP=2 command. Please check the interface type that you are using with AT^SQPORT?. in your configuration URC's are sent to the application interface, which is default (^SCFG: "URC/DstIfc","app").
How do you connect to the module - does the device provide any interface for this or you had to solder by yourself?
Regards,
Bartłomiej
Hello,
i found the way to cancel the automatic connection (using the interface of the routeur) but still can't setup the apn by using at Command even if the context is empty.
#gsmat AT+CGPADDR
+CGPADDR: 1,""
#gsmat AT+CGEREP=2
ERROR
# gsmat AT^SQPORT?
^SQPORT: Application
#gsmat AT^SCFG
ERROR
#gsmat AT^SCFG?
^SCFG: "Call/ECC","0"
^SCFG: "Call/Speech/Codec","0"
^SCFG: "GPRS/Auth","2"
^SCFG: "GPRS/AutoAttach","disabled"
^SCFG: "GPRS/MaxDataRate/HSDPA","0"
^SCFG: "GPRS/MaxDataRate/HSUPA","0"
^SCFG: "Ident/Manufacturer","Cinterion"
^SCFG: "Ident/Product","PHS8-P"
^SCFG: "MEopMode/Airplane","off"
^SCFG: "MEopMode/CregRoam","0"
^SCFG: "MEopMode/PowerMgmt/LCI","disabled"
^SCFG: "MEopMode/PowerMgmt/VExt","high"
^SCFG: "MEopMode/PwrSave","enabled","0","50"
^SCFG: "MEopMode/RingOnData","off"
^SCFG: "MEopMode/RingUrcOnCall","on"
^SCFG: "MEShutdown/OnIgnition","off"
^SCFG: "Radio/Band","511"
^SCFG: "Radio/NWSM","0"
^SCFG: "Radio/OutputPowerReduction","8"
^SCFG: "Serial/USB/DDD","0","0","0409","1E2D","0053","Cinterion","PH8",""
^SCFG: "URC/DstIfc","app"
^SCFG: "URC/Datamode/Ringline","on"
^SCFG: "URC/Ringline","local"
^SCFG: "URC/Ringline/ActiveTime","1"
OK
The routeur support telnet protocole but he didn't provide an interface to communicate with the module so i'm sending at command using telnet .
I send an email to the routeur manufacturer, maybe they already face this issue .
Thank you !
Cheers
Pages