- Open BIP TCP Server mode
- At least support 2 channel, HTTP and HTTPS
- HTTP port 3516
- HTTPS (TLS) port 4116
- Enable automatically, not such BIP Client mode
Showing posts with label BIP Client. Show all posts
Showing posts with label BIP Client. Show all posts
Friday, February 22, 2008
SCWS Local Server
Wednesday, February 20, 2008
CLOSE CHANNEL BIP
After OPEN Channel, You should know how to close it. Here are some important things you should be aware.
note :
* mark means mandatory
Channel indentifier must be valid
- Command details*
- command details tag = '81'
- length = '03' (1 byte)
- command number 01 - FE (1 byte)
- Type of Command ='41' (CLOSE CHANNEL)
- Command Qualifier :
- RFU for BIP Client Mode
- bit 1
- 0 : close TCP Connection and go to "TCP in CLOSED state"
- 1 : close TCP Connection and go to "TCP in LISTEN state"
- Device identities*
- device identities tag = '82'
- Length = '02'
- Source Device identity = '81' --> UICC
- Destination Device Identity = '21'-'27' --> channel ID (PRE_ID _CHANNEL_BASE='20')
- Alpha Identifier
- Alpha identifier TAG = '05'
- Length = 0
- Alpha Identifier (TS 131 102)
- Icon Identifier
- Icon Identifier Tag
- Length = '02'
- Icon Qualifier
- bit 1, 0 = self explanatory, 1 = non self explanatory
- bit 2-8 =0 (RFU)
- Icon Identifier (TS 131 102)
- Text Attribute
- Text Attribute Tag = '50'
- Length
- Text formatting ( TS 123 040)
- Frame Identifier
- Frame Identifier Tag
- Length = '03'
- Identifier of Frame, the value is between '00' - '0F'
note :
* mark means mandatory
Channel indentifier must be valid
OPEN CHANNEL BIP TCP Client Mode
According to TS 102 223(6.6.27.2), the requirement for setting up Open Channel command in BIP TCP Client are
note :
* mark means mandatory
- Command details*
- command details tag = '81'
- length = '03' (1 byte)
- command number 01 - FE (1 byte)
- Type of Command ='40' (OPEN CHANNEL)
- Command Qualifier :
- bit 1 : 0 = for Demand link establishment, 1 = immediate link establishment
- bit 2 : 0 = no automatic reconnection, 1 = automatic reconnection
- bit 3 : 0 = no background mode, 1 = immediate link establishment in background mode
- bit 4-8 = RFU
- Device identities*
- device identities tag = '82'
- Length = '02'
- Source Device identity = '81' --> UICC
- Destination Device Identity = '82' --> Terminal
- Alpha Identifier
- Alpha identifier TAG = '05'
- Length = 0
- Alpha Identifier (TS 131 102)
- Icon Identifier
- Icon Identifier Tag
- Length = '02'
- Icon Qualifier
- bit 1, 0 = self explanatory, 1 = non self explanatory
- bit 2-8 =0 (RFU)
- Icon Identifier (TS 131 102)
- Bearer Description*
- Bearer Description Tag = '35'
- Length
- Bearer Type = '02' (GSM/3GPP) --> GPRS
- Bearer Parameter
- Precedence Class ( Priority) = '00'
- Delay Class = '00'
- Reability Class = '03'
- Peak Throughput '00'
- Mean Throughput = '00'
- PDP IP = '02'
- Buffer Size*
- Buffer Size Tag = '39'
- Length = '02'
- Byte 3-4 = Buffer size, for example 1000 bytes = 03E8
- Network Access Name
- Network Access Name Tag = '47'
- Length
- Network Access Name
- Other Data Destination Address (local)
- Other Data Destination Address Tag = '3E'
- Length = '05'
- Type of Address = '21' (IPv4)
- Address ( 4 byte , XX.XX.XX.XX)
- Login
- Text String Tag = '0D'
- Length
- Data Coding Scheme = null
- Text String = your username
- Password
- Text String Tag = '0D'
- Length
- Data Coding Scheme = null
- Text String = your password
- UICC/ Terminal Interface
- UICC/ Terminal Interface level tag = '3C'
- Length = '03'
- Transport Protocol Type = '02' (TCP,UICC in client mode)
- Port Number(2 bytes) = '00' '50' (80)
- Data destination address
- Data Destination Address Tag = '3E'
- Length = '05'
- Type of Address = '21' (IPv4)
- Address ( 4 byte , XX.XX.XX.XX)
- Text Attribute
- Text Attribute Tag = '50'
- Length
- Text formatting ( TS 123 040)
- Frame Identifier
- Frame Identifier Tag
- Length = '03'
- Identifier of Frame, the value is between '00' - '0F'
note :
* mark means mandatory
Subscribe to:
Posts (Atom)