Maintenance; Ip Service - Siemens Java TC65 User Manual

Java user's guide
Hide thumbs Also See for Java TC65:
Table of Contents

Advertisement

TC65 JAVA User's Guide
Strictly confidential / Released
5

Maintenance

The basic maintenance features of the TC65 are described below. Explicit details of these
functions and modes can be found in the AT Command Set [3] and the Hardware Interface
Description [4].
5.1

IP Service

Apart from the standard Java IP networking interfaces (UDPDatagramConnection,
SocketConnection, ...) the TC65 also supports a set of Internet Services via AT command.
There are some correlations between the Java and the AT IP Services.
1. the connection profile 0 is also used by Java: when Java starts up a networking
connection it tries to set and activate connection profile 0 with the parameters
configured by at^sjnet or in the connector.open method.
2. Java tries to (re-)use an active Internet Service profile: if using connection profile 0
fails, because e.g. this (or another) connection profile is already used by the Internet
Services, Java networking also uses this, already active, profile.
3. deactivation of the connection profile happens when all applications are "finished":
Java has its networking idle time, the Internet Services have the inactTO.
So that means that Java networking and AT Internet Services can be used in parallel but
care has to be taken about configuring and activation of the connection profile. In the
simplest case use connection profile 0 for the Internet Services and set the parameters to the
same values as the Java networking parameters. This way it makes no difference whether
the connection is activated by the Internet Services or Java.
There are some aspects which have to be kept in mind for all IP Services (Java and AT
command):
• when an open TCP connection is cut (e.g. the other side dies/is switched off) it takes
around 10 minutes during which retransmissions are send, until the situation is
detected as an error (in Java an exception is thrown).
• the number of IP services used in parallel should be kept small. An active IP service
uses up resources and may deteriorate the overall performance.
TC65 JAVA User's Guide_V05
Page 24 of 90
s
26.09.2005

Advertisement

Table of Contents
loading

Table of Contents