public class ModemConfiguration
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
ADD_DEFAULT_ROUTE |
static java.lang.String |
ALLOW_BSD_COMP |
static java.lang.String |
ALLOW_DEFLATE_COMP |
static java.lang.String |
ALLOW_MAGIC |
static java.lang.String |
ALLOW_PROXY_ARPS |
static java.lang.String |
ALLOW_VJ_CONNID_COMP |
static java.lang.String |
ALLOW_VJ_TCPIP_HDR_COMP |
static java.lang.String |
APN
the APN to use with this provider/carrier
|
static java.lang.String |
AUTH_TYPE
the authentication type to use (e.g. pap or chap)
|
static java.lang.String |
BAUDRATE |
static java.lang.String |
CARRIER_IMAGE_ID
Carrier image ID on MC8355
|
static java.lang.String |
CONNECT_DELAY |
static java.lang.String |
DEBUG_ENABLE |
static java.lang.String |
DIALSTRING
dialstring to use for this modem
|
static java.lang.String |
ENABLED
whether or not the modem is enabled
|
static java.lang.String |
IPCP_ACCEPT_LOCAL |
static java.lang.String |
IPCP_ACCEPT_REMOTE |
static java.lang.String |
LCP_ECHO_FAILURE |
static java.lang.String |
LCP_ECHO_INTERVAL |
static java.lang.String |
LOCK_SERIAL_DEVICE |
static java.lang.String |
LOGFILE |
static java.lang.String |
MODEL
the modem model number
|
static java.lang.String |
NETWORK_TECHNOLOGY
the network technology
|
static java.lang.String |
NUMBER_OF_MODEMS
number of modems on this system
|
static java.lang.String |
PASSWORD
the password to use if authentication is required
|
static java.lang.String |
PDP_TYPE
PDP type
|
static java.lang.String |
PEER_MUST_AUTHENTICATE_ITSELF |
static java.lang.String |
PEER_SUPPLIES_LOCAL_IP |
static java.lang.String |
PERSISTENCE
whether or not the configuration should be persisted in non-volatile RAM
|
static java.lang.String |
PPP_UNIT_NUMBER
ppp unit number (e.g. ppp0 would be 0, ppp1 would be 1)
|
static java.lang.String |
PRODUCT_ID
modem product id
|
static java.lang.String |
PROFILE_NAME
the profile name
|
static java.lang.String |
SERIAL_MODEM_TYPE
type of serial modem
|
static java.lang.String |
SERIAL_NUMBER
the modem serial number
|
static java.lang.String |
SERVICE_MODE
type of cellular service (i.e.
|
static java.lang.String |
SERVICE_PROVIDER
cellular provider/carrier name
|
static java.lang.String |
UMTS_PROFILE_ID
UMTS profile ID
|
static java.lang.String |
USB_PORT_ADDRESS
USB port address of this modem
|
static java.lang.String |
USE_DEFAULT_PEER_PARAM
whether or not to use the default ppp peer parameters
|
static java.lang.String |
USE_MODEM_CTRL_LINES |
static java.lang.String |
USE_PEER_DNS |
static java.lang.String |
USE_RTS_CTS_FLOWCTRL |
static java.lang.String |
USERNAME
the username to use if authentication is required
|
static java.lang.String |
VENDOR_ID
modem vendor id
|
Constructor and Description |
---|
ModemConfiguration()
ModemConfiguration constructor
|
ModemConfiguration(java.util.Properties configProps)
ModemConfiguration constructor
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getApn()
Reports APN
|
java.lang.String |
getAuthenticationType()
Reports authentication type
|
java.util.Properties |
getConfigProps()
Reports configuration properties attached
|
java.lang.String |
getDialString()
Reports dialstring
|
java.lang.String |
getPassword()
Reports password
|
java.lang.String |
getPdpType() |
int |
getPppUnitNumber()
Reports PPP unit number (e.g. number of ppp interface)
|
java.lang.String |
getProfileName() |
java.lang.String |
getProvider()
Reports service provider
|
int |
getServiceMode()
Reports cellular service mode.
|
java.lang.String |
getUsername()
Reports username
|
boolean |
isEnabled()
Reports if modem is enabled in configuration
|
public static final java.lang.String ENABLED
public static final java.lang.String SERVICE_MODE
public static final java.lang.String CARRIER_IMAGE_ID
public static final java.lang.String UMTS_PROFILE_ID
public static final java.lang.String NUMBER_OF_MODEMS
public static final java.lang.String PPP_UNIT_NUMBER
public static final java.lang.String USB_PORT_ADDRESS
public static final java.lang.String SERIAL_MODEM_TYPE
public static final java.lang.String VENDOR_ID
public static final java.lang.String PRODUCT_ID
public static final java.lang.String USE_DEFAULT_PEER_PARAM
public static final java.lang.String SERVICE_PROVIDER
public static final java.lang.String DIALSTRING
public static final java.lang.String PERSISTENCE
public static final java.lang.String PROFILE_NAME
public static final java.lang.String PDP_TYPE
public static final java.lang.String APN
public static final java.lang.String AUTH_TYPE
public static final java.lang.String USERNAME
public static final java.lang.String PASSWORD
public static final java.lang.String MODEL
public static final java.lang.String SERIAL_NUMBER
public static final java.lang.String NETWORK_TECHNOLOGY
public static final java.lang.String LOGFILE
public static final java.lang.String BAUDRATE
public static final java.lang.String DEBUG_ENABLE
public static final java.lang.String USE_RTS_CTS_FLOWCTRL
public static final java.lang.String LOCK_SERIAL_DEVICE
public static final java.lang.String PEER_MUST_AUTHENTICATE_ITSELF
public static final java.lang.String ADD_DEFAULT_ROUTE
public static final java.lang.String USE_PEER_DNS
public static final java.lang.String ALLOW_PROXY_ARPS
public static final java.lang.String ALLOW_VJ_TCPIP_HDR_COMP
public static final java.lang.String ALLOW_VJ_CONNID_COMP
public static final java.lang.String ALLOW_BSD_COMP
public static final java.lang.String ALLOW_DEFLATE_COMP
public static final java.lang.String ALLOW_MAGIC
public static final java.lang.String CONNECT_DELAY
public static final java.lang.String LCP_ECHO_FAILURE
public static final java.lang.String LCP_ECHO_INTERVAL
public static final java.lang.String USE_MODEM_CTRL_LINES
public static final java.lang.String PEER_SUPPLIES_LOCAL_IP
public static final java.lang.String IPCP_ACCEPT_LOCAL
public static final java.lang.String IPCP_ACCEPT_REMOTE
public ModemConfiguration()
public ModemConfiguration(java.util.Properties configProps)
configProps
- - configuration properties as Properties
public java.util.Properties getConfigProps()
Properties
public boolean isEnabled()
boolean
public int getServiceMode()
int
public int getPppUnitNumber()
int
public java.lang.String getProvider()
String
public java.lang.String getDialString()
String
public java.lang.String getApn()
String
public java.lang.String getAuthenticationType()
String
public java.lang.String getUsername()
String
public java.lang.String getPassword()
String
public java.lang.String getProfileName()
public java.lang.String getPdpType()
Copyright © 2009 Eurotech Inc. All rights reserved.