<Instance Aid="A0000000185000000000000052414441" Index="1" ApplicationSpecificParameters="7110A0000000185201050000000040534357" EepromSize="0000" RamSize="0000" InstallToken="" Privilege="00">
<!--If you add another Instance, you should increase his Index number-->
<GSMParameter TextMaxLength="14" MaxNumberOfMenuEntries="01" PriorityLevel="FF" TimerMaxNumber="00" Menus="0000">
<!--You can customize the GSM parameters of this Instance here-->
<SIMR5Parameter MaximumChannels="02">
<!--2 Channel -->
</SIMR5Parameter>
</GSMParameter>
<UICCParameter>
<!--You can customize the UICC parameters of this Instance here-->
<UICCToolkitParameter>
<UICCR6ToolkitParameter MaximumNumberOfServices="00"/>
</UICCToolkitParameter>
<!--You can customize the UICC Access Application parameters of this Instance here-->
<UICCAccessApplicationParameter Index="1">
<UICCR6AccessApplicationParameter AccessDomainParameter="00" AccessDomainData=""/>
</UICCAccessApplicationParameter>
</UICCParameter>
</Instance>
Showing posts with label Close Channel. Show all posts
Showing posts with label Close Channel. Show all posts
Friday, March 21, 2008
Thursday, February 21, 2008
Terminal Response
- OPEN CHANNEL <-- Channel Identifier
ProRespHdlr = ProactiveResponseHandlerSystem.getTheHandler();
ChannelID = ProRespHdlr.getChannelIdentifier() ;
- SEND DATA <-- Channel Data Length
- CLOSE CHANNEL <-- OK
- GET CHANNEL STATUS <-- Channel Status
- RECEIVE DATA <-- Channel Data Length , Data
ProRespHdlr = ProactiveResponseHandlerSystem.getTheHandler();
ProRespHdlr.findTLV(TAG_CHANNEL_DATA ,0);
sOffset= ProRespHdlr.copyChannelData(byte[] dstBuffer, short dstOffset, short dstLength) ;
ProRespHdlr.findTLV(TAG_CHANNEL_DATA_LENGTH ,0);
datalength=ProRespHdlr.getValueVyte((short)0x0000);
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
Subscribe to:
Posts (Atom)