Closed Bug 1137026 Opened 10 years ago Closed 10 years ago

[STK] Send TR for SET UP EVENT LIST command from Gaia

Categories

(Firefox OS Graveyard :: Gaia::System, defect)

x86
macOS
defect
Not set
normal

Tracking

(b2g-v2.0 unaffected, b2g-v2.0M unaffected, b2g-v2.1 unaffected, b2g-v2.1S fixed, b2g-v2.2 unaffected, b2g-master unaffected)

RESOLVED FIXED
Tracking Status
b2g-v2.0 --- unaffected
b2g-v2.0M --- unaffected
b2g-v2.1 --- unaffected
b2g-v2.1S --- fixed
b2g-v2.2 --- unaffected
b2g-master --- unaffected

People

(Reporter: selee, Assigned: selee)

Details

Attachments

(3 files)

Based on the specification [1]: "When the ME has successfully accepted or removed the list of events, it shall send TERMINAL RESPONSE (OK) to the SIM. " Gaia should send the TR for SET UP EVENT LIST because SPRD modem won't handle this. Reference: [1] ETSI TS 101 267 - 6.4.16 SET UP EVENT LIST [2] bug 1132363 comment 28 [3] bug 1132363 comment 30
Sean: Thank you for your help. Please handle this on v2.1s branch.
Flags: needinfo?(selee)
Attached file Trail Patch for v2.1s
Hi Jinghua, Could you help to try the trail patch? Thank you.
Flags: needinfo?(selee) → needinfo?(Jinghua.Xing)
Sean: I have test with the patch and it is ok to send TR for SET UP EVENT LIST command. Thank you.
Flags: needinfo?(Jinghua.Xing)
Attached file PR for v2.1s
Hi Fernando, Could you help to review this patch? Thank you!
Attachment #8569602 - Flags: review?(frsela)
Sean: But I wonder if we should change the order of the code and make it send the TR once received the message and then register the event list to avoid the envelope command is sent before the TR. @@ -42,6 +62,9 @@ var icc_worker = { // STK_CMD_SET_UP_EVENT_LIST '0x5': function STK_CMD_SET_UP_EVENT_LIST(message) { DUMP('STK_CMD_SET_UP_EVENT_LIST:', message.command.options); + icc.responseSTKCommand(message, { + resultCode: icc._iccManager.STK_RESULT_OK + }); icc_events.register(message, message.command.options.eventList); },
Flags: needinfo?(selee)
Hi Jinghua, Based on the specification: "When the ME has successfully accepted or removed the list of events, it shall send TERMINAL RESPONSE (OK) to the SIM. " TR should be sent after accepting or removing the list of events successfully. About envelope command before TR, register() only do event registration then send TR, so any envelope commands will be sent at next tick. Do you have any suggestions? Thank you very much.
Flags: needinfo?(selee)
Sean: I am agree with you. Thank you.
Assignee: nobody → selee
Status: NEW → ASSIGNED
Comment on attachment 8569602 [details] [review] PR for v2.1s Cool ;)
Attachment #8569602 - Flags: review?(frsela) → review+
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: