diff options
authorOliver Smith <>2019-02-01 16:01:55 +0100
committerOliver Smith <>2019-02-01 16:05:12 +0100
commit68bbdc5f02d891133123573c422202f61923ebdf (patch)
parent2bca846fab0412ccc74d9cb0328d3f374fd71933 (diff)
GSUP: message category indicated by last two bits
Make this part of the specification, so we can simplify libosmocore code by knowing that error message is (request message | 0x000001). Related: I46d9f2327791978710e2f90b4d28a3761d723d8f (libosmocore) Change-Id: Iec1b4ce4b7d8eb157406f006e1c4241e8fba2cd6
1 files changed, 13 insertions, 0 deletions
diff --git a/common/chapters/gsup.adoc b/common/chapters/gsup.adoc
index 673ed59..7a16e64 100644
--- a/common/chapters/gsup.adoc
+++ b/common/chapters/gsup.adoc
@@ -766,6 +766,19 @@ Direction: EIR (via HLR) => VLR
|0x32|CHECK-IMEI Result
+The category of the message is indicated by the last two bits of the type.
+Request, Error and Result messages only differ in these last two bits, so it is
+trivial to transform them.
+|Ending Bits|Message Category
==== IP Address