Specifications

Table Of Contents
Niagara Release 2.3
Revised: May 22, 2002 Niagara Networking & Connectivity Guide
Chapter 5 Connecting to an ISP
Configuring Captive ISP on the JACE-4/5
5–16
Notes With the IspConnection object, the connect/disconnect schedule resides in the
station rather than being managed by the Niagara daemon. Therefore, if the
station on the JACE is not running, the JACE will not follow the disconnect
schedule. For more information, see the “Troubleshooting Connection
Problems” section on page 5-19.
The IspConnection object can only be used with the captive ISP function, not
with the direct dial function.
The object has one input (sIn or statusIn). To establish a connection, use a schedule
or other binary object to set sIn to Active. To terminate the connection, set sIn to
Inactive. When inactive, the modem will resort to either idle, or listening as
configured in the dialOutOnly parameter in ras.properties.
Note The object passes your connection request to the Niagara daemon, which implements
it on its next cycle. There can be a delay from when the command is issued and the
daemon begins the connection process.
The object also has several output status properties, as listed in Figure 5-2.
Examples
You can connect the statusOutput to boolean or GxText objects, and the state, rate,
and connection outputs to text objects.
Figure 5-4 shows examples of an ISPConnection object in use. Figure 5-5 shows a
simple GxPage containing information from the outputs of the IspConnection object.
Table 5-2 Outputs of the ispConnection object.
Output Valid Values Description
statusOutput Active
Inactive
Indicates if there is a currently active
connection.
state
IDLE (dialOutOnly
parameter set to true)
DIALING
LISTENING (dialOutOnly
parameter set to false)
HANGING_UP
CONNECTED_AS_CLIENT
CONNECTED_AS_SERVER
Represents the current state of the
modem.
rate various The connected baud rate as
reported in the connect string from
the modem.
lastSuccessfulConnection any time, date, and time zone
in the form:
hh:mm dd-mmm-yy ZZZ
The start time, day, and time zone of
the last successful connection.
lastConnectionAttempt any time, date, and time zone
in the form:
hh:mm dd-mmm-yy ZZZ
The start time, day, and time zone of
the last connection attempt.