Skip to content
This repository was archived by the owner on Oct 2, 2019. It is now read-only.

Commit 5e46fd2

Browse files
author
Eduardo Fullea
committed
adding references to SMS and MMS specs
1 parent 60d21a2 commit 5e46fd2

File tree

1 file changed

+21
-20
lines changed

1 file changed

+21
-20
lines changed

index.html

Lines changed: 21 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -603,7 +603,7 @@ <h3>Steps</h3>
603603
<li>Set the <code>timestamp</code> of the <code>SmsMessage</code> to the
604604
timestamp when the SMS message reached the Short Message Center, i.e. the
605605
value of the TP-Service-Centre-Time-Stamp (TP-SCTS) parameter returned in
606-
the SMS-SUBMIT-REPORT Protocol Data Unit.
606+
the SMS-SUBMIT-REPORT Protocol Data Unit [[!GSM-SMS]].
607607
<li>Call <var>resolver</var>'s <code>accept(value)</code>method with
608608
the sent <code>SmsMessage</code> as <code>value</code> argument.
609609
<li><a>Queue a task</a> to <a>fire an event</a> named <code>sent</code>
@@ -652,21 +652,21 @@ <h3>Steps</h3>
652652
identifier of the service at which the message has been received.
653653
<li>Set the <code>from</code> of the <code>SmsMessage</code> to the
654654
sender of the SMS message, i.e. the value of the TP Originating Address
655-
(TP-OA) field of the SMS message.
655+
(TP-OA) field of the SMS message [[!GSM-SMS]].
656656
<li>Set the <code>timestamp</code> of the <code>SmsMessage</code> to the
657657
timestamp of the SMS message, i.e. the value of the
658658
TP-Service-Centre-Time-Stamp (TP-SCTS) parameter received in the SMS
659-
DELIVER Protocol Data Unit.
659+
DELIVER Protocol Data Unit [[!GSM-SMS]].
660660
<li>Set the <code>read</code> of the <code>SmsMessage</code> to 'false'.
661661
<li>Set the <code>to</code> of the <code>SmsMessage</code> to the
662662
recipient of the SMS message, i.e. the value of the TP Destination
663-
Address (TP-DA) field of the SMS message.
663+
Address (TP-DA) field of the SMS message [[!GSM-SMS]].
664664
<li>Set the <code>messageClass</code> of the <code>SmsMessage</code> to
665665
the message class indicated in the TP-Data-Coding-Scheme (TP-DCS) field of
666-
the SMS.
666+
the SMS message [[!GSM-SMS]].
667667
<li>Set the <code>body</code> element to the text of the received SMS
668668
message, i.e. the value of the SM element contained within the TP User
669-
Data (TP-UD) field of the SMS message.
669+
Data (TP-UD) field of the SMS message [[!GSM-SMS]].
670670
<li>Set the <code>state</code> of the <code>SmsMessage</code> to
671671
'received'.
672672
<li>Set the <code>deliveryStatus</code> of the <code>SmsMessage</code> to
@@ -1067,18 +1067,19 @@ <h3>Steps</h3>
10671067
<li>Set the <code>timestamp</code> of the <code>MmsMessage</code> to
10681068
the timestamp of the binary SMS message used to transport the MMS
10691069
notification, i.e. the value of the TP-Service-Centre-Time-Stamp
1070-
(TP-SCTS) parameter received in the SMS-DELIVER Protocol Data Unit.
1070+
(TP-SCTS) parameter received in the SMS-DELIVER Protocol Data Unit
1071+
[[!GSM-SMS]].
10711072
<li>Add a new element in the <code>to</code> array of the
10721073
<code>MmsMessage</code> for each of recipients in the 'To' field of the
1073-
MMS notification, if present.
1074+
MMS notification [[!MMS13]], if present.
10741075
<li>Add a new element in the <code>cc</code> array of the
10751076
<code>MmsMessage</code> for each of recipients in the 'Cc' field of the
1076-
MMS notification, if present.
1077+
MMS notification [[!MMS13]], if present.
10771078
<li>Add a new element in the <code>bcc</code> array of the
10781079
<code>MmsMessage</code> for each of recipients in the 'Bcc' field of the
1079-
MMS notification, if present.
1080+
MMS notification [[!MMS13]], if present.
10801081
<li>Set the <code>subject</code> element to the value of the 'Subject'
1081-
field of the MMS notification, if present.
1082+
field of the MMS notification [[!MMS13]], if present.
10821083
<li>Set the <code>state</code> of the <code>MmsMessage</code> to
10831084
'not-downloaded'.
10841085
</ol>
@@ -1093,33 +1094,33 @@ <h3>Steps</h3>
10931094
message enclosed in the M-Retrieve.conf Protocol Data Unit</dfn>.
10941095
<ol>
10951096
<li>Set the <code>from</code> of the <code>MmsMessage</code> to the
1096-
value of the 'From' field of the MMS message.
1097+
value of the 'From' field of the MMS message [[!MMS13]].
10971098
<li>Set the <code>timestamp</code> of the <code>MmsMessage</code> to
1098-
the value of the 'Date' field of the MMS message.
1099+
the value of the 'Date' field of the MMS message [[!MMS13]].
10991100
<li>Add a new element in the <code>to</code> array of the
11001101
<code>MmsMessage</code> for each of recipients in the 'To' field of the
1101-
MMS message, if present.
1102+
MMS message [[!MMS13]], if present.
11021103
<li>Add a new element in the <code>cc</code> array of the
11031104
<code>MmsMessage</code> for each of recipients in the 'Cc' field of the
1104-
MMS message, if present.
1105+
MMS message [[!MMS13]], if present.
11051106
<li>Add a new element in the <code>bcc</code> array of the
11061107
<code>MmsMessage</code> for each of recipients in the 'Bcc' field of the
1107-
MMS message, if present.
1108+
MMS message [[!MMS13]], if present.
11081109
<li>Set the <code>subject</code> element to the value of the 'Subject'
1109-
field of the MMS message, if present.
1110+
field of the MMS message [[!MMS13]], if present.
11101111
<li>Set the <code>smil</code> element to a <code>DOMString</code>
1111-
containing the SMIL object of the received MMS message, if present.
1112+
containing the SMIL object of the received MMS message [[!MMS13]], if present.
11121113
<li>For each of the media files attached to the received MMS message add a
11131114
new element to the <code>attachments</code> array with:
11141115
<ol>
11151116
<li>A new <code>Blob</code> object including the media type and the
11161117
actual content of the attachment.
11171118
<li>The <code>contentID</code> attribute filled with the Content-ID used
11181119
to reference this element from the SMIL object in the incoming MMS
1119-
message, if present.
1120+
message [[!MMS13]], if present.
11201121
<li>The <code>contentLocation</code> attribute filled with the
11211122
Content-Location used to reference this element from the SMIL object in
1122-
the incoming MMS message, if present.
1123+
the incoming MMS message [[!MMS13]], if present.
11231124
</ol>
11241125
</ol>
11251126
<li>Set the <code>state</code> of the <code>MmsMessage</code> to

0 commit comments

Comments
 (0)