Solved

Sending Username and Password with TC45

Posted on 2003-10-28
4
749 Views
Last Modified: 2013-12-09
Hi!

I am currently programming a Siemens TC45 using the integrated Java environment (J2ME).

The APN I am connecting to requires the IPCP fields password and username to be filled in (the GGSN is rejecting any pdp-context request without these fields set).

As I want to use more than one simultaneously pdp-context I can not only use the at^sjnet command to specify the APN, username and password.

Consequently, I was hoping that the

at+cgdcont=1,"ip","myapn"
at+cgdata="ppp",1

would provide me with the possibility to negotiate PPP between the Java code and the TC45 GSM stack.

When I issue the at+cgdata command from the Java program it hangs until the command returns

CONNECT
~ }#À!}!}#} }9}"}&} }*} } }'}"}(}"}%}&aóEo}#}%Â#}%Å~~ }#À!}!}#} }9}"}&} }*} } }
'}"}(}"}%}&aóEo}#}%Â#}%Å~~ }#À!}!}#} }9}"}&} }*} } }'}"}(}"}%}&aóEo}#}%Â#}%Å~~
 }#À!}!}#} }9}"}&} }*} } }'}"}(}"}%}&aóEo}#}%Â#}%Å~~ }#À!}!}#} }9}"}&} }*} } }'
}"}(}"}%}&aóEo}#}%Â#}%Å~~ }#À!}!}#} }9}"}&} }*} } }'}"}(}"}%}&aóEo}#}%Â#}%Å~~
}#À!}!}#} }9}"}&} }*} } }'}"}(}"}%}&aóEo}#}%Â#}%Å~~ }#À!}!}#} }9}"}&} }*} } }'}
"}(}"}%}&aóEo}#}%Â#}%Å~~ }#À!}!}#} }9}"}&} }*} } }'}"}(}"}%}&aóEo}#}%Â#}%Å~~ }
#À!}!}#} }9}"}&} }*} } }'}"}(}"}%}&aóEo}#}%Â#}%Å~
NO CARRIER

Could anyone please help me to establish a pdp-context using the at+cgdata from the Java code on the TC45?

Best Regards
Leif Einar
0
Comment
Question by:einaraune
[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
4 Comments
 

Author Comment

by:einaraune
ID: 9656165
According to Siemens the only GPRS connection that is supported from Java is using the AT^sjnet command.

So, when using J2ME on the TC45 you can only utilise one of the three PDP-contexts the terminal supports. (Of course you may use the other pdp-contexts by using an external entity connecting via the RS232 port, but then the whole point about embedded Java seems to be gone ;-)

What a pitty.

Leif Einar
0
 
LVL 4

Expert Comment

by:SimonTay
ID: 10774718
http://www.tdc.co.uk/gprs/tc45.htm has a program : externalcommands.jar which provides a modified dial command which may well do what you want.

Simon
0
 
LVL 1

Accepted Solution

by:
Computer101 earned 0 total points
ID: 11167427
PAQed - no points refunded (of 50)

Computer101
E-E Admin
0

Featured Post

Simple, centralized multimedia control

Watch and learn to see how ATEN provided an easy and effective way for three jointly-owned pubs to control the 60 televisions located across their three venues utilizing the ATEN Control System, Modular Matrix Switch and HDBaseT extenders.

Question has a verified solution.

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

Suggested Solutions

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…
Tired of waiting for your show or movie to load?  Are buffering issues a constant problem with your internet connection?  Check this article out to see if these simple adjustments are the solution for you.
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…

756 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