Solved

Sending Username and Password with TC45

Posted on 2003-10-28
4
753 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

Revamp Your Training Process

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action.

Question has a verified solution.

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

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 …
Using in-flight Wi-Fi when you travel? Business travelers beware! In-flight Wi-Fi networks could rip the door right off your digital privacy portal. That’s no joke either, as it might also provide a convenient entrance for bad threat actors.
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…

752 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