I would appreciate if anybody could offer some assistance for a university project i must complete.I know that this site is mainly web based technologies but i just thought i would give it a shot anyway.
I aim to send an sms text message from a mobile phone to another (Nokia) mobile phone which is attached to a computer.I then wish to read these incoming text messages from the phone into the computer at regular intervals.This text message data will be similar to the following:
In other words a comma seperated list.
My eventual goal is to place each element of the text message into a databases table.
I need advice about getting the text message into the computer from the phone and then getting this data into a database table.Even if i could get the text message data into a Visual Basic variable i have written comma seperation code and can place each element of data into an MS Access database table.
I also need to be able to send a command to the phone to delete the messages from the phones inbox to make room for more incoming text messages.
I hope to do all of the above in the simplest way possible due to time contraints, hopefully without the use of complicated programming technologies such as Java, C++ etc...
It may be useful to note that i have discovered one way to read the text messages into MS Hyperterminal using an "AT command" (at+cmgl="ALL"). Maybe there is a way for me to use this data from Hyperterminal and somehow seperate the message into individual pieces of data and then place them in a DB table.
Any advice would be greatly appreciated,
if you have already any code in VB, you should continue to code there. What's missing in your program is the serial communication. A simple solution would be the MSComm control. That's your HyperTerminal "replacement".
Note that when reading messages using text mode from the phone, you might have to decode some special characters - can't tell you exactly which, but I know that HyperTerminal has extra code in it to handle that automatically.
Depending on the infrared device and its drivers, you can possibly create a virtual COM port on the PC and can communicate with it just like a normal serial (RS232) connection. Don't ask me about "real" IR-communication. I don't know.
What do need about implementing AT commands?
* The command sequence?
* (Serial) communication in general?
* Something else?
On Forum Nokia I once found document called "AT_help.pdf" (or similar). It describes in simple steps how to send and read an SMS using HyperTerminal. It helped me at the beginning, it may help you, too.