Thursday, February 21, 2008

EVENT DOWNLOAD CHANNEL STATUS

  1. Channel Status*
    1. Channel Status Tag = '38'
    2. Length = '02'
    3. Channel Status
      1. bit 1 -3 : Channel Identifier 1- 7 , 0 --> No Channel Available
      2. BIP TCP Client
        • bit 4-7 : RFU
        • bit 8 : 0 -> Link not established/Packet data service not activated, 1 -> Opposite
      3. BIP TCP Server
        • bit 4-6 : RFU
        • bit 7-8 :
          • 00 = TCP in CLOSED state
          • 01 = TCP in LISTEN state
          • 10 = TCP in ESTABLISHED state
          • 11 = reserved
  1. Device identities*
    1. device identities tag = '82'
    2. Length = '02'
    3. Source Device identity = '82' --> Terminal
    4. Destination Device Identity ='81' --> UICC
  2. Event List*
    1. Event List Tag= '19'
    2. Length = '01'
    3. Event List : Channel Status = '0A'
  3. Bearer Description
    1. Bearer Description Tag = '35'
    2. Length
    3. Bearer Type = '02' (GSM/3GPP) --> GPRS
    4. Bearer Parameter
      1. Precedence Class ( Priority) = '00'
      2. Delay Class = '00'
      3. Reability Class = '03'
      4. Peak Throughput '00'
      5. Mean Throughput = '00'
      6. PDP IP = '02'
  4. Other Data Destination Address Tag = '3E'
    1. Length = '05'
    2. Type of Address = '21' (IPv4)
    3. Address ( 4 byte , XX.XX.XX.XX)
You don't need to remember the tag value if you use appendTLV function. All of the tag value are explained briefly in uicc.toolkit.ToolkitConstant library.

note :
* mark means mandatory
Only one event in Event list
Bearer Description is needed after OPEN Channel