Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Send AT Command to Sony Ericsson W700i through USB cable

Status
Not open for further replies.

champnim

Junior Member level 2
Joined
Sep 9, 2006
Messages
22
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,489
sony ericsson at commands

I want to write a C code to send AT command to my Sony Ericsson W700i through its USB cable...can sumbody pls tell me how to do this
 

davemaster

Advanced Member level 4
Joined
Jan 23, 2007
Messages
112
Helped
11
Reputation
20
Reaction score
8
Trophy points
1,298
Location
Peru, South America
Activity points
1,866
at commands for sony ericsson

champnim said:
I want to write a C code to send AT command to my Sony Ericsson W700i through its USB cable...can sumbody pls tell me how to do this

Greetings

First:
1. What C compiler are you going to use?
2. What AT Command?
3. For example: AT+CBC (BATERY LEVEL)

Declaration
-------------
unsigned char atcbc[]="AT+CBC";


Use of AT Command
-----------------------
printf(atcbc);
putc(0x13); //CR Character, necessary for end the command transmission

4. Thats all you need. One more thing
5. Read the phone specific AT Command.



good luck
 

champnim

Junior Member level 2
Joined
Sep 9, 2006
Messages
22
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,489
at commands sony ericsson

thanx fr ur help...can u tell me how to send this command to my phone connected thru its usb cable using the ouportb command...or is there another way of doin this?????????
 

davemaster

Advanced Member level 4
Joined
Jan 23, 2007
Messages
112
Helped
11
Reputation
20
Reaction score
8
Trophy points
1,298
Location
Peru, South America
Activity points
1,866
sony ericsson usb commands

champnim said:
thanx fr ur help...can u tell me how to send this command to my phone connected thru its usb cable using the ouportb command...or is there another way of doing this?????????

Hi,

1. First, Configure your hyperterminal to connect in COMX where is installed by the usb cable driver.

2. Once you have installed hyperterminal connection to that COMX, connect, then try with this basic AT Command:

> AT <enter>
> OK (the phone must respond with this)

3. If it doesn't respond to AT command, try to put the speed of your COMX port, to 9600, then 4800, and so on... that speed (Baud speed) depends on the Phone model.

4. When you receive the OK response... you will be ready to send other commands, for example:

>AT+CBC <ENTER>
>+CBC 0,23 (Response, where 23 means 23% of 100 of battery charge)
>OK

5. This is a must and never ignore step. Read, READ the AT manual of your phone.


Good Luck!
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Top