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
Printable View
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
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.
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
i'm sure that a mobile phone accept at command....in every mobile phone there is a modem so.....
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.
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... :thumb:
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
You can try the MSCOMM control (mscomm32.ocx).
i dont understand.. can u explain more.
i use mscomm for serial communicatian.
but i want use usb (perallel).
USB isn't parallel - it looks like a serial port to the software.
so i can use same program like serial datacable. just change the com port..
or i must change the program.
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.
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
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.
I think you need to Enumaret Port to find the port at which mobile is connected once you get the port then proceed
Dear potetojb,
Try using 9600 or 19200 as the baud rate....works for me...hope it work for you too..
Thanks,
Warm regards,
Dharmasasta
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.
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. :wave:
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.
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.