×

Discussion Board

Results 1 to 8 of 8
  1. #1
    Registered User
    Join Date
    Jan 2004
    Posts
    1

    Any SMS advice for a university project

    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:

    blue,black,green,red

    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,
    Yours Sincerely,
    Colin M

  2. #2
    Regular Contributor
    Join Date
    Nov 2003
    Posts
    221
    Hi Colin,

    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.


    Zamba

  3. #3
    Registered User
    Join Date
    Aug 2003
    Posts
    6

    Help me Also PLease

    Hi Colin M

    I was wandering how are you able to read your SMS messages
    from the PC.

    I know the AT Command Set but i am not able to implement it.
    I cannot understand how am i supposed to query the phone.
    This is one problem

    Another problem is that i am using an infrared device to communicate with the infra red port of the phone.
    I am not able to do this either.

    So if you could help me out it would be great.

    I hope you would understand a need of a student doing a project for his university just like you.

    Andthere

  4. #4
    Registered User
    Join Date
    Aug 2003
    Posts
    6

    Zamba

    Hi Zamba

    it would be great if you could render some hlep too.

    See i just need to know how exactly should i communicate
    with the infra red port of phone using the infra red device that i have.

    I am unable to do that.
    Some code example would be appreciated

    Thanks for your help.

    Andthere

  5. #5
    Regular Contributor
    Join Date
    Nov 2003
    Posts
    221
    @Andthere:

    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?
    Please tell.

    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.

    Zamba

  6. #6
    Registered User
    Join Date
    Aug 2003
    Posts
    6

    thanks for reply

    Thanks for your reply ZAMBA

    Firstly

    How do i create a virtual com port out of the IR Device.
    Any help would be great. I have no clue.

    Secondly
    Where can i find that AT_Command help file that you were talking about.
    Could you mail it to me if you dont mind?
    Let me know if u can help on this front too.

    Thanks for yor help


    Andthere

  7. #7
    Regular Contributor
    Join Date
    Nov 2003
    Posts
    221
    The first one:
    Try IRCOMM2K. http://www.ircomm2k.de/

    or read this: http://homepage.ntlworld.com/alanjmc...XPand2000.html

    There are many other articles written about Infrared support in windows, try google.


    The second one:
    AT help document (short but helpful):
    http://nds1.nokia.com/phones/files/g...kia_AThelp.pdf

    Complete AT command reference:
    http://www.forum.nokia.com/main/1,65...ml&fileID=2230


    Zamba
    Last edited by Zamba; 2004-01-07 at 17:39.

  8. #8
    Registered User
    Join Date
    Aug 2003
    Posts
    6
    hi

    thanks for the links
    particularly the IRCOMM2K one.
    That was an eye opener.

    Any how do you use Hyper terminal to talk to a phone device using MSCOMM..
    Could you provide some sample code.

    Thanks for all the help uptil now..

    Andthere

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×