Solved

Sending AT Commands to a mobile phone (Ericsson)

Posted on 2002-06-04
7
265 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
  • 2
7 Comments
 
LVL 4

Accepted Solution

by:
mcoop earned 100 total points
ID: 7054995
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
ID: 7055003
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 11

Expert Comment

by:arana
ID: 7055061
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
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 11

Expert Comment

by:arana
ID: 7055071
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
ID: 7055559
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
ID: 7056096
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
ID: 7063296
Thanx mate, never knew Hyperterminal can be used for 2-ways communicaton...
0

Featured Post

[Live Webinar] The Cloud Skills Gap

As Cloud technologies come of age, business leaders grapple with the impact it has on their team's skills and the gap associated with the use of a cloud platform.

Join experts from 451 Research and Concerto Cloud Services on July 27th where we will examine fact and fiction.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction While answering a recent question about filtering a custom class collection, I realized that this could be accomplished with very little code by using the ScriptControl (SC) library.  This article will introduce you to the SC library a…
Background What I'm presenting in this article is the result of 2 conditions in my work area: We have a SQL Server production environment but no development or test environment; andWe have an MS Access front end using tables in SQL Server but we a…
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
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…
Suggested Courses
Course of the Month7 days, 13 hours left to enroll

632 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