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
-
calleesim
- The SIM number of the phone being called.
-
callersim
- The 15 digit caller SIM
-
succ
- Byte indicating success.
-
transid
- The transaction id - same as the allocated time-slot number
-
type
- Type of the UPSim pkt being sent.
-
upsim_pkt()
-
-
upsim_pkt(byte, byte, byte, int, String)
-
-
toString()
-
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
succ
public byte succ
- Byte indicating success. Value is 0 (fail) or 1 (sucess)
transid
public byte transid
- The transaction id - same as the allocated time-slot number
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
callersim
public String callersim
- The 15 digit caller SIM
upsim_pkt
public upsim_pkt()
upsim_pkt
public upsim_pkt(byte type,
byte succ,
byte transid,
int calleesim,
String callersim)
toString
public String toString()
- Overrides:
- toString in class Object
All Packages Class Hierarchy This Package Previous Next Index