Solved

Are there anybody use the siemens tc45?

Posted on 2004-03-22
12
402 Views
Last Modified: 2013-12-09
if anyone have used the tc45,i'd like to ask him following question:
1,in tc45 at command manual ,i did'nt see any command to create tcp or udp connection,so how do i use the tc45 to create tcp or udp connetion?And where could i find more detailed documents with tc45?Can you give me the url or send me the documents to my email address:hjf424@qq.com,thank you!
2,Does tc45 support http protocol?if it do,how could i use the http with at command?And how to use it with the http protocol?And anyone use http to send mms successfully?Because i know mms could sent over http.
0
Comment
Question by:hjf424
  • 7
  • 3
12 Comments
 
LVL 4

Accepted Solution

by:
SimonTay earned 50 total points
Comment Utility
TC45 can connect to HTTP, no problem, use something like :

String url = "http://www.tdc.co.uk/index.htm";
try {

c = (HttpConnection)Connector.open( url );
 

That makes the HTTP request!

The TC45 SDK should have enough detailed information, code examples etc.

Some more information and a simple UDP socket connection program (externalcommands.jar) is available at http://www.tdc.co.uk/gprs/tc45.htm                            
0
 
LVL 4

Expert Comment

by:SimonTay
Comment Utility
Did this help?
0
 

Author Comment

by:hjf424
Comment Utility
simontay:
   Thank you!But i have any questions as following:
1,how can i create tcp connection?and could you give me some samples?
2,when i use tcp connection,whether i should define pdp context use at command such as cgdcont command or not?
if do ,could you give me some samples?
0
 
LVL 4

Expert Comment

by:SimonTay
Comment Utility
The externalcommands program at the link above will create a tcp connection using the TC45 modem, you will still set the context using the cgdcont command.
0
 

Author Comment

by:hjf424
Comment Utility
thank you
 from the tc45_java_usersguide ,i found the interfaces httpconnection,datagramconnection,streamconnection.
so if i could use the streamconnection to create a tcp connection other than use the externalcommands program?
And using the interface streamconnection and using the externalcommands program have any differences?could you give me two examples use above interfaces?
0
Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

 
LVL 4

Expert Comment

by:SimonTay
Comment Utility
     try {
            // open a StreamConnection to the defined socket
            socket=(StreamConnection)Connector.open(sock,Connector.READ_WRITE);
            //System.out.println( "Socket: " +  socket);
                               
            // Create a OutputStream and a PrintStream
            OutputStream outGPRS = socket.openOutputStream();
            InputStream inGPRS = socket.openInputStream();
           
            respond("CONNECT\n\r");
 
Does this help?
0
 

Author Comment

by:hjf424
Comment Utility
thank you! could you give me your email,so if i have any question i could send email to you.my eamil is hjf424@163.net .
sincerely!
0
 
LVL 4

Expert Comment

by:SimonTay
Comment Utility
Please ask questions via EE.  The only way I answer questions by email is for my company's customers.

Regards,

Simon

www.tdc.co.uk
0
 
LVL 4

Expert Comment

by:SimonTay
Comment Utility
Did this answer your original question though?
0
 
LVL 4

Expert Comment

by:SimonTay
Comment Utility
Why have you not allocated the points?  :-(
0

Featured Post

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

MAC Filtering: MAC filtering is like handing a list of names to a doorman. If someone comes to the door and mentions a name, this name is checked by the doorman on his list and granted or denied access by this. This means that if someone menti…
This article is a step by step guide on how to create a basic PTP link using Ubiquiti airOS devices. This guide can be used on the following Ubiquiti AirMAX devices. Nanostation, Bullets, AirBridge, Nanobeam, NanoBridge to name a few. Please review …
This Micro Tutorial will show you how to maximize your wireless card to its maximum capability. This will be demonstrated using Intel(R) Centrino(R) Wireless-N 2230 wireless card on Windows 8 operating system.
Viewers will learn how to connect to a wireless network using the network security key. They will also learn how to access the IP address and DNS server for connections that must be done manually. After setting up a router, find the network security…

762 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

Need Help in Real-Time?

Connect with top rated Experts

9 Experts available now in Live!

Get 1:1 Help Now