I have connected my samsung phone (GT-S3350) to my PC through an usb cable and installed usb driver for it. I am able to send SMS to any phone number through my PC using AT commands. I've tried with Hyperterminal also through Java.
To configure the mobile to text mode and to receive elaborate errors I'm submitting following commands in the Hyperterminal.
AT+CMGF=1
OK
AT+CMEE=2
OK
As I said earlier I am completely able to send an SMS using CMGS command, it works perfectly fine. But when I'm trying to list the messages I get a long list of OK's like below.
AT+CMGL="ALL"
OK
OK
OK
OK
OK
OK
OK
OK
.
.
.
ERROR
OK
Same is the case when I give "REC READ", "REC UNREAD" etc. instead of "ALL".
Also when I am using CNMI command to listen to the new message notifications I receive an OK right away. It is expected that it shows the index of the newly received SMS, but for me it stays blank.
AT+CNMI=1,1,0,0,0
OK
I've tried receiving SMS from my other phone. The message is received but I don't see any memory index on my terminal.
I learnt these mostly from blogs and browsing through APIs. I've also tried the method suggested by this thread. Am I doing anything wrong or am I missing something?
I am totally open for alternatives about receiving an SMS in PC. Please suggest.