Solved

Are there anybody use the siemens tc45?

Posted on 2004-03-22
12
409 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 7
  • 3
12 Comments
 
LVL 4

Accepted Solution

by:
SimonTay earned 50 total points
ID: 10676676
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
ID: 10767322
Did this help?
0
 

Author Comment

by:hjf424
ID: 10771990
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
NFR key for Veeam Backup for Microsoft Office 365

Veeam is happy to provide a free NFR license (for 1 year, up to 10 users). This license allows for the non‑production use of Veeam Backup for Microsoft Office 365 in your home lab without any feature limitations.

 
LVL 4

Expert Comment

by:SimonTay
ID: 10773220
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
ID: 10775395
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
 
LVL 4

Expert Comment

by:SimonTay
ID: 10775722
     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
ID: 10781793
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
ID: 10781814
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
ID: 10784305
Did this answer your original question though?
0
 
LVL 4

Expert Comment

by:SimonTay
ID: 11060423
Why have you not allocated the points?  :-(
0

Featured Post

Will You Be GDPR Compliant by 5/28/2018?

GDPR? That's a regulation for the European Union. But, if you collect data from customers or employees within the EU, then you need to know about GDPR and make sure your organization is compliant by May 2018. Check out our preparation checklist to make sure you're on track today!

Question has a verified solution.

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

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…

734 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