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
Solved

Sending Username and Password with TC45

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

VMware Disaster Recovery and Data Protection

In this expert guide, you’ll learn about the components of a Modern Data Center. You will use cases for the value-added capabilities of Veeam®, including combining backup and replication for VMware disaster recovery and using replication for data center migration.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Wireless WAP School 4 74
Control which SSID or Wifi service laptop can connect to 4 87
wifi not working 3 67
Guest Wireless in a Business Environment 6 95
Coaxial cable bending There are several factors that govern the selection of coaxial cable for your Machine to Machine (M2M) application: the location of cable runs, either indoor or outdoor, inside or outside an enclosure, maximum bending and the…
In this article we have discussed about the OS X EI Capitan and how to fix Wi-Fi issue in OS X El Capitan. We have explained how to delete system level preferences and create a new Wi-Fi location to resolve Wi-Fi issue.
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…

860 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