com.motorola.oem.call
Class DataCallConfig

java.lang.Object
  extended by com.motorola.oem.call.DataCallConfig

public class DataCallConfig
extends java.lang.Object

This Class holds the Data Call Configuration parameters. Relevant parameters are the connection type and connection data rate. If the connection type is non-transparent, then Radio link Protocol parameters should be configured as well. Radio Link Protocol parameters (non-transparent connection) are window size, acknowledgment timer and number of retransmission attempts. Valid range (besides the default ones) for RLP should be queried using getValidRlpRange().


Field Summary
static int BST_1200_75_BPS_V23
           
static int BST_1200_BPS_V110
           
static int BST_1200_BPS_V120
           
static int BST_1200_BPS_V22
           
static int BST_14400_BPS_V110
           
static int BST_14400_BPS_V120
           
static int BST_14400_BPS_V34
           
static int BST_19200_BPS_V110
           
static int BST_19200_BPS_V120
           
static int BST_19200_BPS_V34
           
static int BST_2400_BPS_V110
           
static int BST_2400_BPS_V120
           
static int BST_2400_BPS_V22
           
static int BST_2400_BPS_V26TER
           
static int BST_28800_BPS_V110
           
static int BST_28800_BPS_V120
           
static int BST_28800_BPS_V34
           
static int BST_300_BPS_V110
           
static int BST_300_BPS_V21
           
static int BST_38400_BPS_V110
           
static int BST_38400_BPS_V120
           
static int BST_4800_BPS_V110
           
static int BST_4800_BPS_V120
           
static int BST_4800_BPS_V32
           
static int BST_48000_BPS_V110
           
static int BST_48000_BPS_V120
           
static int BST_56000_BPS_BIT_TRANSAPARENT
           
static int BST_56000_BPS_V110
           
static int BST_56000_BPS_V120
           
static int BST_64000_BPS_BIT_TRANSAPARENT
           
static int BST_9600_BPS_V110
           
static int BST_9600_BPS_V120
           
static int BST_9600_BPS_V32
           
static int BST_9600_BPS_V34
           
static int BST_AUTO_BAUD
           
static int CONN_NON_TRANSPARENT
           
static int CONN_TRANSPARENT
           
static int RLP_IMWS_MAX_VALUE
          Interworking-function to Mobile station window size - Max value
static int RLP_IMWS_MIN_VALUE
           
static int RLP_IWS_DEFAULT
          Interworking-function to Mobile station window size - default value
static int RLP_MIWS_MAX_VALUE
          Mobile station to Interworking-function window size - Max value
static int RLP_MIWS_MIN_VALUE
          Mobile station to Interworking-function window size - Min value
static int RLP_MWS_DEFAULT
          Mobile station to Interworking-function window size - default value
static int RLP_N2_DEFAULT
          Retransmission attempts - default value
static int RLP_N2_MAX_VALUE
          Retransmission attempts - Max value
static int RLP_N2_MIN_VALUE
          Retransmission attempts - Min value
static int RLP_T1_DEFAULT
          Acknowledgement timer - default value
static int RLP_T1_MAX_VALUE
          Acknowledgement timer - Min value
static int RLP_T1_MIN_VALUE
          Acknowledgement timer - Min value
 
Constructor Summary
DataCallConfig()
          Constructs a DataCallConfig object with default parameters' values.
DataCallConfig(int[] cnfgInfo)
          Constructs a DataCallConfig object with the parameters' values specified in cnfgInfo.
 
Method Summary
 int[] getDataCallConf()
          Returns current set of MO Data Call connection parameters.
 int[] getRlpRange()
          Get range for RLP set parameters.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CONN_NON_TRANSPARENT

public static final int CONN_NON_TRANSPARENT
See Also:
Constant Field Values

CONN_TRANSPARENT

public static final int CONN_TRANSPARENT
See Also:
Constant Field Values

BST_AUTO_BAUD

public static final int BST_AUTO_BAUD
See Also:
Constant Field Values

BST_300_BPS_V21

public static final int BST_300_BPS_V21
See Also:
Constant Field Values

BST_1200_BPS_V22

public static final int BST_1200_BPS_V22
See Also:
Constant Field Values

BST_1200_75_BPS_V23

public static final int BST_1200_75_BPS_V23
See Also:
Constant Field Values

BST_2400_BPS_V22

public static final int BST_2400_BPS_V22
See Also:
Constant Field Values

BST_2400_BPS_V26TER

public static final int BST_2400_BPS_V26TER
See Also:
Constant Field Values

BST_4800_BPS_V32

public static final int BST_4800_BPS_V32
See Also:
Constant Field Values

BST_9600_BPS_V32

public static final int BST_9600_BPS_V32
See Also:
Constant Field Values

BST_9600_BPS_V34

public static final int BST_9600_BPS_V34
See Also:
Constant Field Values

BST_14400_BPS_V34

public static final int BST_14400_BPS_V34
See Also:
Constant Field Values

BST_19200_BPS_V34

public static final int BST_19200_BPS_V34
See Also:
Constant Field Values

BST_28800_BPS_V34

public static final int BST_28800_BPS_V34
See Also:
Constant Field Values

BST_1200_BPS_V120

public static final int BST_1200_BPS_V120
See Also:
Constant Field Values

BST_2400_BPS_V120

public static final int BST_2400_BPS_V120
See Also:
Constant Field Values

BST_4800_BPS_V120

public static final int BST_4800_BPS_V120
See Also:
Constant Field Values

BST_9600_BPS_V120

public static final int BST_9600_BPS_V120
See Also:
Constant Field Values

BST_14400_BPS_V120

public static final int BST_14400_BPS_V120
See Also:
Constant Field Values

BST_19200_BPS_V120

public static final int BST_19200_BPS_V120
See Also:
Constant Field Values

BST_28800_BPS_V120

public static final int BST_28800_BPS_V120
See Also:
Constant Field Values

BST_38400_BPS_V120

public static final int BST_38400_BPS_V120
See Also:
Constant Field Values

BST_48000_BPS_V120

public static final int BST_48000_BPS_V120
See Also:
Constant Field Values

BST_56000_BPS_V120

public static final int BST_56000_BPS_V120
See Also:
Constant Field Values

BST_300_BPS_V110

public static final int BST_300_BPS_V110
See Also:
Constant Field Values

BST_1200_BPS_V110

public static final int BST_1200_BPS_V110
See Also:
Constant Field Values

BST_2400_BPS_V110

public static final int BST_2400_BPS_V110
See Also:
Constant Field Values

BST_4800_BPS_V110

public static final int BST_4800_BPS_V110
See Also:
Constant Field Values

BST_9600_BPS_V110

public static final int BST_9600_BPS_V110
See Also:
Constant Field Values

BST_14400_BPS_V110

public static final int BST_14400_BPS_V110
See Also:
Constant Field Values

BST_19200_BPS_V110

public static final int BST_19200_BPS_V110
See Also:
Constant Field Values

BST_28800_BPS_V110

public static final int BST_28800_BPS_V110
See Also:
Constant Field Values

BST_38400_BPS_V110

public static final int BST_38400_BPS_V110
See Also:
Constant Field Values

BST_48000_BPS_V110

public static final int BST_48000_BPS_V110
See Also:
Constant Field Values

BST_56000_BPS_V110

public static final int BST_56000_BPS_V110
See Also:
Constant Field Values

BST_56000_BPS_BIT_TRANSAPARENT

public static final int BST_56000_BPS_BIT_TRANSAPARENT
See Also:
Constant Field Values

BST_64000_BPS_BIT_TRANSAPARENT

public static final int BST_64000_BPS_BIT_TRANSAPARENT
See Also:
Constant Field Values

RLP_IWS_DEFAULT

public static final int RLP_IWS_DEFAULT
Interworking-function to Mobile station window size - default value

See Also:
Constant Field Values

RLP_MWS_DEFAULT

public static final int RLP_MWS_DEFAULT
Mobile station to Interworking-function window size - default value

See Also:
Constant Field Values

RLP_N2_DEFAULT

public static final int RLP_N2_DEFAULT
Retransmission attempts - default value

See Also:
Constant Field Values

RLP_T1_DEFAULT

public static final int RLP_T1_DEFAULT
Acknowledgement timer - default value

See Also:
Constant Field Values

RLP_IMWS_MIN_VALUE

public static final int RLP_IMWS_MIN_VALUE
See Also:
Constant Field Values

RLP_IMWS_MAX_VALUE

public static final int RLP_IMWS_MAX_VALUE
Interworking-function to Mobile station window size - Max value

See Also:
Constant Field Values

RLP_MIWS_MIN_VALUE

public static final int RLP_MIWS_MIN_VALUE
Mobile station to Interworking-function window size - Min value

See Also:
Constant Field Values

RLP_MIWS_MAX_VALUE

public static final int RLP_MIWS_MAX_VALUE
Mobile station to Interworking-function window size - Max value

See Also:
Constant Field Values

RLP_T1_MIN_VALUE

public static final int RLP_T1_MIN_VALUE
Acknowledgement timer - Min value

See Also:
Constant Field Values

RLP_T1_MAX_VALUE

public static final int RLP_T1_MAX_VALUE
Acknowledgement timer - Min value

See Also:
Constant Field Values

RLP_N2_MIN_VALUE

public static final int RLP_N2_MIN_VALUE
Retransmission attempts - Min value

See Also:
Constant Field Values

RLP_N2_MAX_VALUE

public static final int RLP_N2_MAX_VALUE
Retransmission attempts - Max value

See Also:
Constant Field Values
Constructor Detail

DataCallConfig

public DataCallConfig()
Constructs a DataCallConfig object with default parameters' values.


DataCallConfig

public DataCallConfig(int[] cnfgInfo)
Constructs a DataCallConfig object with the parameters' values specified in cnfgInfo.

Parameters:
cnfgInfo - int[] array holding the Data Call Configuration parameters:
element in index 0 = value for connection type
element in index 1 = value for data rate
element in index 2 = value for RLP IWS
element in index 3 = value for RLP MWS
element in index 4 = value for RLP T1
element in index 5 = value for RLP N2
 Note: if connection type is transparent then RLP params will not be used.
 Note:if elements in indexes 2 to 5 equalse 0, then default value will be assinged
Method Detail

getRlpRange

public int[] getRlpRange()
                  throws CallException,
                         java.lang.InterruptedException
Get range for RLP set parameters.

Returns:
array of 8 elements:
Interworking-function to Mobile station window size -
Index 0 - Holds Min value
Index 1 - Holds Max value
Mobile station to Interworking-function window size -
Index 2 holds Min value
Index 3 holds Max value
Acknowledgement timer -
Index 4 holds Min value
Index 5 holds Max value
Retransmission attempts -
Index 6 holds Min value
Index 7 holds Max value
Throws:
CallException - If failed to get RLP range parameters from platform.
java.lang.InterruptedException - If failed to get value.

getDataCallConf

public int[] getDataCallConf()
Returns current set of MO Data Call connection parameters.

Returns:
array(int[6]):
 index 0 - connection type; 
 index 1 - connection data rate;
 index 2 - RLP IWS; 
 index 3 - RLP MWS;
 index 4 - RLP T1; 
 index 5 - RLP N2;