Change in osmo-gsm-manuals[master]: chapters/gsup.adoc: further documentation for SM-RP-DA/OA IE coding

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

fixeria gerrit-no-reply at lists.osmocom.org
Fri Jan 3 11:56:24 UTC 2020


fixeria has submitted this change. ( https://gerrit.osmocom.org/c/osmo-gsm-manuals/+/16654 )

Change subject: chapters/gsup.adoc: further documentation for SM-RP-DA/OA IE coding
......................................................................

chapters/gsup.adoc: further documentation for SM-RP-DA/OA IE coding

Change-Id: I315ae412c83de80f09284c8c1f28faf360ac4662
Related: OS#4324
---
M common/chapters/gsup.adoc
1 file changed, 30 insertions(+), 7 deletions(-)

Approvals:
  Jenkins Builder: Verified
  pespin: Looks good to me, approved



diff --git a/common/chapters/gsup.adoc b/common/chapters/gsup.adoc
index 1c18ae1..2742e0f 100644
--- a/common/chapters/gsup.adoc
+++ b/common/chapters/gsup.adoc
@@ -1685,21 +1685,44 @@
 |===
 |Field|Presence|Length|Description
 |T|M|1|Identity type
-|V|O|...|Encoded identity itself
+|V|O|1|ToN/NPI header
+|V|O|...|BCD encoded (or alphanumeric) identity
 |===
 
 where the identity type can be one of the following:
 
 .Identity types of SM-RP-DA / SM-RP-OA IEs
-[options="header",cols="15%,85%"]
+[options="header",cols="15%,15%,70%"]
 |===
-|Type|Description
-|0x01|IMSI (see 3GPP TS 29.002, clause 7.6.2.1)
-|0x02|MSISDN (see 3GPP TS 29.002, clause 7.6.2.17)
-|0x03|Service centre address (see 3GPP TS 29.002, clause 7.6.2.27)
-|0xff|Omit value for noSM-RP-DA and noSM-RP-OA
+|Type|ToN/NPI Header|Description
+|0x01|No|IMSI (see 3GPP TS 29.002, clause 7.6.2.1)
+|0x02|Yes|MSISDN (see 3GPP TS 29.002, clause 7.6.2.17)
+|0x03|Yes|Service centre address (see 3GPP TS 29.002, clause 7.6.2.27)
+|0xff|No|Omit value for noSM-RP-DA and noSM-RP-OA
 |===
 
+Coding of the optional ToN/NPI header, as well as all possible ToN/NPI values,
+is described in 3GPP TS 129.002, section 17.7.8 "Common data types", and
+can be summarized as follows:
+
+.ToN/NPI header coding (as per 3GPP TS 129.002, MSB first)
+[packetdiag]
+----
+{
+	colwidth = 32
+	node_height = 40
+
+	0:	extension
+	1-3:	nature of address indicator
+	4-7:	numbering plan indicator
+}
+----
+
+Please note that unlike both <<gsup-ie-imsi>> and <<gsup-ie-msisdn>>, where the value
+part is encoded as LV (i.e. contains an additional length), an identity in both
+<<gsup-ie-sm-rp-da>> / <<gsup-ie-sm-rp-oa>> IEs shall not contain the redundant
+length octet.
+
 [[gsup-ie-sm-rp-ui]]
 ==== SM-RP-UI (SM TPDU)
 

-- 
To view, visit https://gerrit.osmocom.org/c/osmo-gsm-manuals/+/16654
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-gsm-manuals
Gerrit-Branch: master
Gerrit-Change-Id: I315ae412c83de80f09284c8c1f28faf360ac4662
Gerrit-Change-Number: 16654
Gerrit-PatchSet: 2
Gerrit-Owner: fixeria <axilirator at gmail.com>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: fixeria <axilirator at gmail.com>
Gerrit-Reviewer: laforge <laforge at osmocom.org>
Gerrit-Reviewer: neels <nhofmeyr at sysmocom.de>
Gerrit-Reviewer: pespin <pespin at sysmocom.de>
Gerrit-MessageType: merged
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20200103/15f8a280/attachment.htm>


More information about the gerrit-log mailing list