Sending AT Commands to a mobile phone (Ericsson)

Posted on 2002-06-04
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...
Question by:raybeam
  • 3
  • 2
  • 2

Accepted Solution

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.


Author Comment

ID: 7055003
I tried'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...
LVL 10

Expert Comment

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.

some more info here.
Networking for the Cloud Era

Join Microsoft and Riverbed for a discussion and demonstration of enhancements to SteelConnect:
-One-click orchestration and cloud connectivity in Azure environments
-Tight integration of SD-WAN and WAN optimization capabilities
-Scalability and resiliency equal to a data center

LVL 10

Expert Comment

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.

Expert Comment

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

Author Comment

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...

Author Comment

ID: 7063296
Thanx mate, never knew Hyperterminal can be used for 2-ways communicaton...

Featured Post

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Macro which automatically send Excel spreadsheet to Outlook problem 2 76
How to debug this code 7 64
Help me. 3 60
checkbox to hide entire section 10 42
Article by: Martin
Here are a few simple, working, games that you can use as-is or as the basis for your own games. Tic-Tac-Toe This is one of the simplest of all games.   The game allows for a choice of who goes first and keeps track of the number of wins for…
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…
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…

837 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