Hello,
recently I bought the popular SM5100B GSM modem with its shield from sparkfun.
It’s running just fine.
My problem is that I am not able to send an sms.
My code is simple:
NewSoftSerial cell(2, 3);
cell.begin(9600);
cell.print(“AT+CMGF=1\r”);
cell.print(“AT+CMGS=+306947825647\r”);
cell.print(“Hello, I’m Arduino\r”);
cell.print(0x1A, BYTE);
Always I get a +CMS ERROR: 303 which means operation not supported.
I have tested the SIM card with a normal phone and works ok.
What I’m doing wrong?
Thanks for your time.
Ok, I did it.
It’s
cell.print(“AT+CMGS="306947825647"\r”);
cell.print(“Hello from Arduino”);
cell.print(0x1A, BYTE);
Dorf
3
I’ll revive this thread since my problem is along the same lines.
When I try to send an sms via hyperterminal I get a “sim card failure” message.
The module has a connection to a network, in my case, I’m using my t-mobile
pay as you go sim. I’m not sure what the problem is though. Any tips or
suggestions for those of you who have worked with this module? Note, I’m
using text mode not pdu mode.
Cheers!
Hello
I am using Sm5100b with arduino to send messages.
I am getting the messages. But the module is very unreliable.
Because, I get OK every time I run the code but my messages gets delivered only 1 out of 10 times.
I checked with my code and the Telecom service also. Doesn look like there can be a problem with both.
Can there be a problem with the GSM module ?
Could you help.
Regards
Shruti