Sending and Receiving SMS on Nokia 3100, 3120

Hello experts,
 I am doing a project on "SMS controlled computer". On the computer a visual basic program will be running
all the time with a mobile phone connected to that computer.

  The program will be polling the sms inbox to check any message have arrived and if there is any message it will take some action based on that message like "shutdown", "restart", "download" a file from the internet, scheduling jobs etc.

  In most of the mobile phones the arrived message is saved directly to the phone and not to the sim. For example Nokia 3310, 3315 stores to sim but Nokia 1100, 2100, 3100, 3120 stores to the phone directly.
  So i am not bothered whether the message is stored on sim or phone.My requirement is that the coding should be capable of reading the message as soon as it arrives absolutely without any human interaction.

  On my Sony Ericsson mobile the message will be saved to the phone as soon as it arrives. There is product from group which is capable of reading messages from sim memory and "NOT" from phone
memory. so this product is useless to me. if i once store that
indivisual message manually to the sim card using "Save to archive" then this product can read it as the message is in sim card now. but this product is useless to me as it requires human interaction of saving message to sim memory. There is no option in the mobile phone like "Save arriving messages to SIM directly". If this option was there then my problem will be solved but it does not exist on my mobile or any other mobile that i have seen.

  So finally i want to know the Model of the mobile phone for which which we can read the sms absolutely without any human interaction. I am not bothered whether the sms is stored to phone or sim. the coding should just read it as soon as it arrives..
 Recently i purchased the Nokia 3120 (very similar to 3100 with the shape of buttons modified). This is a series40 handset. I have the DKU-5 cable too. If you can suggest the code for this hand set i will retain this else i am prepared to buy a new for which the code is compatible. I have heard about AT commands but dont know how to implement them. Please explain me this concept too.

I think you understand my requirement..
If not i wil always to ready to explain more abt this..

I will be waiting for your expert replys..

Thanking you

Sathvik V.
Who is Participating?
For your requirements I think a GSM modem is more suitable....We are currently using Fargo Maestro 20 and Fargo Maestro 100 GSM/GPRS modems.... They are specifically build for these type of applications.... They support all the standard AT commands... You can also look for other cheaper GSM only modems as you donot require GPRS technology....

As far as your current Phone is concerned you can test it with a terminal program like "Hyper Terminal"

Open Hyper Terminal and set the baud rate , Comm Port and other settings....  Now you can test the following AT commands....

AT+CMGF=1 <Enter>
AT+CMGL="ALL" <Enter>
AT+CMGR=1 <Enter>

AT+CMGS="0123123123" <Enter>    Replace this with the no. you want to send the SMS to....
> Hello this is a test message <Ctrl-Z>

The modem/phone should respond with an OK to most of these commands.... Please try these and then post the response from these commands so that I can help you further.....

And as far as the other requirements are concerned they can be very easily implemented in your Visual Basic program....

From the page of your phone you need a CA-42 Data Cable and a software driver.....,3048,3120,00.html

CA-42 Data Cable Software Driver    6.13 MB   Software driver required for installation of CA-42 Data Cable. Modem drivers for cable connection are included in the CA-42 Connectivity Adapter Cable Driver. For use with or without Nokia PC Suite.

sathvikvAuthor Commented:
Well thanks for your intrest in solving my problem. I tried to give the commands to the modem but it is not responding for any command. I think the problem is of baund rate. I have set it to 9600. no parity and 8 databits. Am i doing anything wrong ?
 I have come accross another solution from Oxygen company and trying to find a solution to my problem. I dont know whether it works out or not..
 If the oxygen solution does not work i will get back to you for further details.
 Any way please provide me the specifications for the com port for this mobile if you know..

Thanking you.

Sathvik V
You can try issuing an AT command to force the phone to save the SMS to SIM instead of Phone, SM instead of ME i think.  Please check the AT command guide for your Nokia phone for details.

Joshua Lim
Visualtron Software
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.