Bug 908536 - Part2: STK BIP CLOSE_CHANNEL, RECEIVE/SEND_DATA handle in RIL. r=yoshi.

This commit is contained in:
Georgia Wang 2013-10-23 10:39:23 +08:00
parent ec722597f1
commit 943a182411
2 changed files with 15 additions and 3 deletions

View File

@ -751,6 +751,9 @@ this.STK_CMD_SEND_SMS = 0x13;
this.STK_CMD_SEND_DTMF = 0x14;
this.STK_CMD_LAUNCH_BROWSER = 0x15;
this.STK_CMD_OPEN_CHANNEL = 0x16;
this.STK_CMD_CLOSE_CHANNEL = 0x17;
this.STK_CMD_RECEIVE_DATA = 0x18;
this.STK_CMD_SEND_DATA = 0x19;
this.STK_CMD_PLAY_TONE = 0x20;
this.STK_CMD_DISPLAY_TEXT = 0x21;
this.STK_CMD_GET_INKEY = 0x22;
@ -1045,9 +1048,9 @@ this.STK_TERMINAL_SUPPORT_PROACTIVE_LAUNCH_BROWSER = 1;
this.STK_TERMINAL_SUPPORT_PROACTIVE_LOCAL_INFO_ACCESS_TECH = 0;
this.STK_TERMINAL_SUPPORT_BIP_COMMAND_OPEN_CHANNEL = 1;
this.STK_TERMINAL_SUPPORT_BIP_COMMAND_CLOSE_CHANNEL = 0;
this.STK_TERMINAL_SUPPORT_BIP_COMMAND_RECEIVE_DATA = 0;
this.STK_TERMINAL_SUPPORT_BIP_COMMAND_SEND_DATA = 0;
this.STK_TERMINAL_SUPPORT_BIP_COMMAND_CLOSE_CHANNEL = 1;
this.STK_TERMINAL_SUPPORT_BIP_COMMAND_RECEIVE_DATA = 1;
this.STK_TERMINAL_SUPPORT_BIP_COMMAND_SEND_DATA = 1;
this.STK_TERMINAL_SUPPORT_BIP_COMMAND_GET_CHANNEL_STATUS = 0;
/**

View File

@ -9982,6 +9982,15 @@ StkCommandParamsFactory[STK_CMD_TIMER_MANAGEMENT] = function STK_CMD_TIMER_MANAG
StkCommandParamsFactory[STK_CMD_OPEN_CHANNEL] = function STK_CMD_OPEN_CHANNEL(cmdDetails, ctlvs) {
return this.processBipMessage(cmdDetails, ctlvs);
};
StkCommandParamsFactory[STK_CMD_CLOSE_CHANNEL] = function STK_CMD_CLOSE_CHANNEL(cmdDetails, ctlvs) {
return this.processBipMessage(cmdDetails, ctlvs);
};
StkCommandParamsFactory[STK_CMD_RECEIVE_DATA] = function STK_CMD_RECEIVE_DATA(cmdDetails, ctlvs) {
return this.processBipMessage(cmdDetails, ctlvs);
};
StkCommandParamsFactory[STK_CMD_SEND_DATA] = function STK_CMD_SEND_DATA(cmdDetails, ctlvs) {
return this.processBipMessage(cmdDetails, ctlvs);
};
let StkProactiveCmdHelper = {
retrieve: function retrieve(tag, length) {