Hello everybody.
I recently purchased the Arduino SM5100B shield and I am having 2 weird issues that are preventing me from moving forward. I have the SM5100B shield atop an Arduino UNO using pins 2,3 and NewSoftSerial. I have the device connected to the USB on my computer, but I am powering it from a 12vdc 2A power supply.
So far my Execution of AT commands is as follows…
-
Wait until the device responds with +SIND: 11 and +SIND: 4 before sending commands
-
delay(1000)
-
AT+CGDCONT=1,“IP”,“wap.cingular” (Configure PDP)
-
delay(1000)
-
AT+CGACT=1,1
-
delay(1000)
-
AT+SDATACONF=1,“TCP”,“SERVER_ADDRESS”,PORT
-
delay(1000)
-
AT+SDATASTART=1,1
Weird Problem #1 - After the device powers up and I receive +SIND: 11 and +SIND: 4 I configure the PDP and try to activate it by performing steps 3-5. Sometimes after this has occurred I recieve CMS ERROR: 28 or CMS ERROR: 4 which I have looked up as being…
CMS ERROR: 28 - Unidentified Subscriber
CMS ERROR: 4 - Operation not Supported.
It seems that the only way that I can recover from these weird errors is to perform a reset using AT+CFUN=1,1
This causes cellular device to reboot and often times returns back OK for the response.
Weird Problem #2 - When performing step 9 which opens the socket connection to my server the device just simply reboots itself. I see a series of small t’s in the serial monitor followed by the boot sequence of the cellular card as if I reset the device.
I was wondering if anyone has experienced these issues or has any advise on correcting these problems or things to look out for while programming this module.
Thanks