Closed
Bug 1110050
Opened 11 years ago
Closed 11 years ago
[B2G][SMS] Support RIL_REQUEST_REPORT_SMS_MEMORY_STATUS to inform SMS Device Storage to modem.
Categories
(Firefox OS Graveyard :: RIL, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
2.2 S3 (9jan)
People
(Reporter: bevis, Assigned: bevis)
References
Details
Attachments
(1 file, 2 obsolete files)
In bug 945089, we support to send SMS ACK with PDU_FCS_MEMORY_CAPACITY_EXCEEDED if device is not able to save incoming SMS due to full device storage to indicate the SMSC not to deliver the SMS until device notify the SMSC that the storage is available again [1].
However, we haven't support to proactively inform the device storage to the network when device storage is changed.
This introduces a potential issue of being unable to receiving further SMS from SMSC until the device informs SMSC that the device storage is available again.
File this bug to support updating the status of device storage to the network.
[1] TS 23.040, Table 1: Error indications related to mobile terminated short message transfer which may be transferred to the originating SC.
[2] TS 23.040, Figure 20c: The alert procedure when the MS notifies the network that it has memory available to receive one or more short messages and MCEF is set.
Assignee | ||
Comment 1•11 years ago
|
||
The basic idea to support this is to create a monitor to observe the notification from |disk-space-watcher| to notify the storage status via RIL_REQUEST_REPORT_SMS_MEMORY_STATUS to the modem.
OS: Linux → Gonk (Firefox OS)
Hardware: x86_64 → ARM
Assignee | ||
Comment 2•11 years ago
|
||
This patch is to
1. observe the topic of |disk-space-watcher| in SmsService and
2. report the availability of device storage according to the value from |disk-space-watcher| to the modem via |RIL_REQUEST_REPORT_SMS_MEMORY_STATUS|.
Hi Edgar,
May I have your review for this change?
Thanks!
Attachment #8536487 -
Flags: review?(echen)
Assignee | ||
Comment 3•11 years ago
|
||
UICC is removable among devices.
It could be full in the device the UICC previously inserted into, but is available in current test device.
Hence, we have to ensure the first run will always be triggered even when the device storage is available.
Update the patch to address this.
Attachment #8536487 -
Attachment is obsolete: true
Attachment #8536487 -
Flags: review?(echen)
Attachment #8536994 -
Flags: review?(echen)
Comment 4•11 years ago
|
||
Comment on attachment 8536994 [details] [diff] [review]
Patch v2: Support RIL_REQUEST_REPORT_SMS_MEMORY_STATUS to inform SMS Device Storage to modem. r=echen
Review of attachment 8536994 [details] [diff] [review]:
-----------------------------------------------------------------
Nice, thank you. :)
::: dom/mobilemessage/gonk/SmsService.js
@@ +1065,5 @@
> }
> break;
> + case kDiskSpaceWatcherObserverTopic:
> + if (DEBUG) {
> + debug("Observe kDiskSpaceWatcherObserverTopic: " + aData);
nit: I prefer showing original topic string for debugging message,
debug("Observe " + kDiskSpaceWatcherObserverTopic + ": " + aData);
Attachment #8536994 -
Flags: review?(echen) → review+
Assignee | ||
Comment 5•11 years ago
|
||
address comment 4.
Attachment #8536994 -
Attachment is obsolete: true
Attachment #8540532 -
Flags: review+
Assignee | ||
Comment 6•11 years ago
|
||
update try server result:
https://tbpl.mozilla.org/?tree=Try&rev=cb4c0e7a536d
Keywords: checkin-needed
Comment 7•11 years ago
|
||
Keywords: checkin-needed
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → 2.2 S3 (9jan)
You need to log in
before you can comment on or make changes to this bug.
Description
•