Closed Bug 790543 Opened 12 years ago Closed 12 years ago

B2G STK: Support Proactive command 'SET UP EVENT LIST'

Categories

(Core :: DOM: Device Interfaces, defect)

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla18
blocking-basecamp +

People

(Reporter: allstars.chh, Assigned: allstars.chh)

References

Details

(Whiteboard: [LOE: S])

Attachments

(2 files, 3 obsolete files)

We should add support for 'SET UP EVENT LIST' proactive command to let web-apps to monitor those events needed by ICC.
Assignee: nobody → allstars.chh
blocking-basecamp: --- → ?
Whiteboard: [LOE: S]
Yoshi, is this a basecamp blocker?
Whiteboard: [LOE: S] → [LOE: S][blocked-on-input Yoshi Huang]
Yes, it's needed in Brazil.
Whiteboard: [LOE: S][blocked-on-input Yoshi Huang] → [LOE: S]
Status: NEW → ASSIGNED
blocking-basecamp: ? → +
Attached patch Part 1 : Update IDL (obsolete) (deleted) — Splinter Review
Attached patch Part 2: Update RIL (obsolete) (deleted) — Splinter Review
Attached patch Part 1: Update IDL. v2 (deleted) — Splinter Review
updated documentation in IDL.
Attachment #661114 - Attachment is obsolete: true
Comment on attachment 661116 [details] [diff] [review] Part 1: Update IDL. v2 Hi, philikon This patch updates the IDL for supporting SET_UP_EVENT_LIST proactive command, would you help to review this ? Thanks
Attachment #661116 - Flags: review?(philipp)
Comment on attachment 661115 [details] [diff] [review] Part 2: Update RIL Hi, philikon This part is about the implementation. Thanks
Attachment #661115 - Flags: review?(philipp)
Attachment #661116 - Flags: review?(philipp) → review+
Comment on attachment 661115 [details] [diff] [review] Part 2: Update RIL Review of attachment 661115 [details] [diff] [review]: ----------------------------------------------------------------- ::: dom/system/gonk/ril_worker.js @@ +5525,5 @@ > + throw new Error("Stk Display Text: Required value missing : Event List"); > + } > + > + return { > + eventList: ctlv.value ? ctlv.value.eventList : null Can't we reuse ctlv.value? Like so: if (ctlv.value) { return ctlv.value; } return { eventList: null }; r=me with that.
Attachment #661115 - Flags: review?(philipp) → review+
Comment on attachment 661116 [details] [diff] [review] Part 1: Update IDL. v2 Hi, sicking The purpose of this patch is, when ICC(or SIM) sends STK_CMD_SET_UP_EVENT_LIST to ME(or phone), it tells ME the list of events that shall be monitored by ME, so when one of these events is happened, ICC shall be notified. (Notifying those events are addressed in Bug 795047, Bug 791935) Would you review this for me ? Thank you.
Attachment #661116 - Flags: superreview?(jonas)
Attached patch Part 2: Add SET_UP_EVENT_LIST in RIL . v2 (obsolete) (deleted) — Splinter Review
Addressed to philikon's comments: reuse ctlv.value Thanks
Attachment #661115 - Attachment is obsolete: true
Comment on attachment 661116 [details] [diff] [review] Part 1: Update IDL. v2 Review of attachment 661116 [details] [diff] [review]: ----------------------------------------------------------------- I've probably mentioned this before, but ideally these things should be strings rather than enums. But this is totally fine for now.
Attachment #661116 - Flags: superreview?(jonas) → superreview+
(In reply to Jonas Sicking (:sicking) from comment #11) > Comment on attachment 661116 [details] [diff] [review] > Part 1: Update IDL. v2 > > Review of attachment 661116 [details] [diff] [review]: > ----------------------------------------------------------------- > > I've probably mentioned this before, but ideally these things should be > strings rather than enums. But this is totally fine for now. Hi Jonas Yes, you have mentioned it before, but currently we're running out of time, so I would like to finish all required features first. Also to make it consistent, I still use 'unsigned short' in new patch instead of 'string'. I definitely will change it to string when these features is completed. :) Thank you.
Fixed typos.
Attachment #662821 - Attachment is obsolete: true
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Flags: in-testsuite?
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: