All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class iceberg.iap.gsm_iap.upsim_pkt

java.lang.Object
   |
   +----iceberg.iap.gsm_iap.upsim_pkt

public class upsim_pkt
extends Object
The control packet sent between UPSim and gsm_iap


Variable Index

 o calleesim
The SIM number of the phone being called.
 o callersim
The 15 digit caller SIM
 o succ
Byte indicating success.
 o transid
The transaction id - same as the allocated time-slot number
 o type
Type of the UPSim pkt being sent.

Constructor Index

 o upsim_pkt()
 o upsim_pkt(byte, byte, byte, int, String)

Method Index

 o toString()

Variables

 o type
 public byte type
Type of the UPSim pkt being sent. Value is one of: CALL_TO_CP, CALL_FROM_CP, TERM_TO_CP, TERM_FROM_CP, DTMF_FROM_CP

 o succ
 public byte succ
Byte indicating success. Value is 0 (fail) or 1 (sucess)

 o transid
 public byte transid
The transaction id - same as the allocated time-slot number

 o calleesim
 public int calleesim
The SIM number of the phone being called. This is the 3 digit number mapped to the actual number in the UPSim

 o callersim
 public String callersim
The 15 digit caller SIM

Constructors

 o upsim_pkt
 public upsim_pkt()
 o upsim_pkt
 public upsim_pkt(byte type,
                  byte succ,
                  byte transid,
                  int calleesim,
                  String callersim)

Methods

 o toString
 public String toString()
Overrides:
toString in class Object

All Packages  Class Hierarchy  This Package  Previous  Next  Index