Solved

Sending AT Commands to a mobile phone (Ericsson)

Posted on 2002-06-04
7
258 Views
Last Modified: 2010-05-02
Hi everyone,
I'm trying to send AT Commands to an Ericsson T39 phone using the RS-232 Data Cable, but I have no idea how to set this up in VB...I added a Comm object and I am sending the command using the .Output = [Value] method but the phone isn't responding to any command and isn't returning anything...
0
Comment
Question by:raybeam
  • 3
  • 2
  • 2
7 Comments
 
LVL 4

Accepted Solution

by:
mcoop earned 100 total points
Comment Utility
Probably the best way to work, is to make sure your physical connection is valid, and that the phone is willing to talk.

Use Hyperterminal or similar to open he port to the phone, then manually test the commands you are trying to use - then you can see if the phone is reacting as expected etc.

Once you know what beast you are fighting, you can then plan a coded attack using what you learned in Hyperterminal.

Of course there are better tools than HT - but you already have it and it's free.


0
 
LVL 1

Author Comment

by:raybeam
Comment Utility
I tried it...it's giving me funny characters, I tried changing the baud rate, parity bits, and stuff but it's still giving me funny characters...eventhough Ericsson said that you should use a "9600,n,8,1" setting...
0
 
LVL 10

Expert Comment

by:arana
Comment Utility
maybe this is not what you want to hear, but dont you have any manual or reference card for that phone, regarding its rs232 posibilities?

try the same you are doing with an external modem (or internal, i prefer externals), if you code works fine with your modem, then it should do the same with your t39, probably your t39 settings are not right. (speed, parity,stop bits, etc)

i have no experience whatsoever in irda or bluetooth, but if you are already connected things should be very straight.

if you use IRDA then make sure you are using the right version/driver/etc.


here are some Delphi sources that will probably give you an idea.

http://hot.ee/ssservice/

some more info here.
http://www.cl.cam.ac.uk/Research/SRG/netos/coms/
0
6 Surprising Benefits of Threat Intelligence

All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

 
LVL 10

Expert Comment

by:arana
Comment Utility
also if you have any other serial device (modem or printer) try changing them to another port
if you are using port 1 try for port 3 to be free, if you are using port 2 then try to get the port 4 free.

this is about that irq sharing(conflicts)  the com ports used to do (i dont know if they still do), but it allways gave problems like moving your serial mouse and "hearing" it in your modem speakers or so.

also turn off then on your computer and make sure you where not using that port for something else (it wont work if you disconnect a mouse and then attach other device, you should start with that as a free port)

take a look at your bios setup screens, maybe the port is even disabled or disconnected from the inside of your PC case.

IF YOU CAN ATTACH SOME OTHER DEVICE AND MAKE YOUR TESTS THERE then you will be able to isolate the problem to the t39 configuration.
0
 
LVL 4

Expert Comment

by:mcoop
Comment Utility
I don't have a T39 - but I assume that it has an internal modem ???  Otherwise you need to use Ericsson's data package that manages the phone connection (in binary - hence odd characters)

In the latter case, your AT commands are processed by the software, and only then sent to the phone in their proprietary format.   The existence of an RS232 link does not guarantee the protocol will be ASCII or human readable.

good luck
0
 
LVL 1

Author Comment

by:raybeam
Comment Utility
The list of commands is with me, but I am receiving funny language using the default setting which is (9600,n,8,1)

I'll have to investigate this further...
0
 
LVL 1

Author Comment

by:raybeam
Comment Utility
Thanx mate, never knew Hyperterminal can be used for 2-ways communicaton...
0

Featured Post

Better Security Awareness With Threat Intelligence

See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

Join & Write a Comment

Introduction I needed to skip over some file processing within a For...Next loop in some old production code and wished that VB (classic) had a statement that would drop down to the end of the current iteration, bypassing the statements that were c…
This article describes some techniques which will make your VBA or Visual Basic Classic code easier to understand and maintain, whether by you, your replacement, or another Experts-Exchange expert.
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…

772 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now