|
-
Mar 22nd, 2006, 01:14 AM
#1
Thread Starter
Member
Send AT command to mobile phone
hello
i want send the AT command to Sony ericsson T610 using VB 6 use serial or USB data cable..
can u help me.. give idea or something
-
Mar 22nd, 2006, 10:39 AM
#2
Re: Send AT command to mobile phone
This has been asked recently. AT commands only can be sent to modems over the COM port. I'm pretty sure mobile phones cannot accept AT commands.
Nobody knows what software they want until after you've delivered what they originally asked for.
Don't solve problems which don't exist.
"If I had eight hours to cut down a tree, I'd spend six hours sharpening my axe." --- Abraham Lincoln (1809-1865)
2 idiots don't make a genius.
-
Apr 7th, 2006, 03:39 PM
#3
New Member
Re: Send AT command to mobile phone
i think the mobile phone can accept AT command .....try this link
http://discussion.forum.nokia.com/fo...ad.php?t=19396
may be it will give some idea
-
Apr 7th, 2006, 04:40 PM
#4
Addicted Member
Re: Send AT command to mobile phone
i'm sure that a mobile phone accept at command....in every mobile phone there is a modem so.....
-
Apr 7th, 2006, 04:47 PM
#5
Re: Send AT command to mobile phone
Use the MSComm control. A USB port appears to VB as a serial port once the driver is installed (which usually happens automatically). Most mobile phones (in fact I've never heard of a current one that doesn't) accept AT commands.
-
Apr 7th, 2006, 11:07 PM
#6
Junior Member
Re: Send AT command to mobile phone
search the net for prevous projects...use google or other search engine..there are a lot who have done almost the same projects...and gud luck with the project...
-
Apr 11th, 2006, 02:34 PM
#7
Thread Starter
Member
Re: Send AT command to mobile phone
hello
thank for reply..
my phone have build in modem. so the phone support at command...
my problem is, i use usb data cable.but i connot know how to send at command using vb. if use serial data cabel i know.. the command for serial and peraller(usb) is not same in vb. can some one help me..
thank for help
-
Apr 11th, 2006, 02:37 PM
#8
Re: Send AT command to mobile phone
You can try the MSCOMM control (mscomm32.ocx).
Nobody knows what software they want until after you've delivered what they originally asked for.
Don't solve problems which don't exist.
"If I had eight hours to cut down a tree, I'd spend six hours sharpening my axe." --- Abraham Lincoln (1809-1865)
2 idiots don't make a genius.
-
Apr 11th, 2006, 03:09 PM
#9
Thread Starter
Member
Re: Send AT command to mobile phone
i dont understand.. can u explain more.
i use mscomm for serial communicatian.
but i want use usb (perallel).
-
Apr 11th, 2006, 04:09 PM
#10
Re: Send AT command to mobile phone
USB isn't parallel - it looks like a serial port to the software.
-
Apr 11th, 2006, 04:25 PM
#11
Thread Starter
Member
Re: Send AT command to mobile phone
so i can use same program like serial datacable. just change the com port..
or i must change the program.
-
Apr 11th, 2006, 04:57 PM
#12
Re: Send AT command to mobile phone
Same exact program. Sort of. You're going to have to experiment with speed - the only devices I've written code for are things attached to USB->serial converters, so the speeds were the normal serial speeds. I don't know if you can get full USB 2 speed with MSComm. But the rest of the code is plain serial input and output.
-
Apr 12th, 2006, 02:30 PM
#13
Thread Starter
Member
Re: Send AT command to mobile phone
this my code
Dim Hookdata As String
Private Sub CmdEnter_Click()
MSComm.Output = Text5.Text + Chr(13)
Text5.Text = ""
End Sub
Private Sub Form_Load()
MSComm.CommPort = 3
MSComm.Settings = "57600,n,8,1"
MSComm.PortOpen = True
MSComm.Handshaking = comNone
End Sub
Private Sub MSC_OnComm()
If MSComm.CommEvent = comEvReceive Then
Hookdata = Hookdata & MSC.Input
Text2.Text = Hookdata
End If
i try use many speed but still cannot. i dont know why. i use usb data cable for sonyericsson T610
-
Apr 12th, 2006, 07:52 PM
#14
Thread Starter
Member
Re: Send AT command to mobile phone
hello..
i use hyperterminal for send at command. i use usb cable. it ok. all the speed support. i dont know why i use vb6 it cannot function.
-
Apr 14th, 2006, 06:51 PM
#15
Hyperactive Member
Re: Send AT command to mobile phone
I think you need to Enumaret Port to find the port at which mobile is connected once you get the port then proceed
Regards,
Vishalgiri Goswami
Gujarat, ( INDIA ).
---------------------
-
May 10th, 2006, 06:12 AM
#16
New Member
Re: Send AT command to mobile phone
Dear potetojb,
Try using 9600 or 19200 as the baud rate....works for me...hope it work for you too..
Thanks,
Warm regards,
Dharmasasta
-
May 10th, 2006, 07:51 AM
#17
Thread Starter
Member
Re: Send AT command to mobile phone
thankQ
i success do this 2 week ago... use serial data cable
thank for all
but cant use USB Cable. i dont know why.
i try many speed... still cant.
-
May 19th, 2006, 03:45 AM
#18
New Member
Re: Send AT command to mobile phone
Sorry to answer it so late.
I'm not sure wether you all will get the message.
In facts ,A USB->Com has delay times more than PCI->Com & ISA->Com.
I know this from a hardware project.
For example if a string "ABC" & vbcrlf is sending to terminal:
The USB->Com will do like this "AB" wait a while "C" & vbcrlf .It's so high speed device & no one will care about it till failure.
You'd better use the internal 2 coms or buy another PCI or PCIM to com card.
-
May 19th, 2006, 07:56 PM
#19
Re: Send AT command to mobile phone
Bomb, I communicate with serial devices through the USB port all the time and have never seen what you describe unless the data is being sent too fast for the receiving device, which is a function of the receiving device when it wants the data stream to stop.
The most difficult part of developing a program is understanding the problem.
The second most difficult part is deciding how you're going to solve the problem.
Actually writing the program (translating your solution into some computer language) is the easiest part.
Please indent your code and use [HIGHLIGHT="VB"] [/HIGHLIGHT] tags around it to make it easier to read.
Please Help Us To Save Ana
-
May 21st, 2006, 09:14 PM
#20
New Member
Re: Send AT command to mobile phone
Thank you above all.
I used the spool fuction to chr 10 & chr 13.
The hardware delay may be look on as 0 & the transform time depends on the shift regist clk frequence(internal ).If stream length > buffer length.data will be divided into several block.USB->com have less buffer lenth than PCI or ISA expanding card maybe.
Am I right? Are you a system designer? It's avocation to me.My idear maybe wrong It's also depending on the software.We can have it as a topic to us.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|