commit-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Commit-gnuradio] r10007 - openbts/branches/developers/dburgess00/trunk/


From: dburgess00
Subject: [Commit-gnuradio] r10007 - openbts/branches/developers/dburgess00/trunk/GSM
Date: Sun, 16 Nov 2008 22:25:03 -0700 (MST)

Author: dburgess00
Date: 2008-11-16 22:25:03 -0700 (Sun, 16 Nov 2008)
New Revision: 10007

Modified:
   openbts/branches/developers/dburgess00/trunk/GSM/GSML3RRMessages.cpp
Log:
Fixed ordering of elements in Paging Request Type 1.


Modified: openbts/branches/developers/dburgess00/trunk/GSM/GSML3RRMessages.cpp
===================================================================
--- openbts/branches/developers/dburgess00/trunk/GSM/GSML3RRMessages.cpp        
2008-11-17 05:23:41 UTC (rev 10006)
+++ openbts/branches/developers/dburgess00/trunk/GSM/GSML3RRMessages.cpp        
2008-11-17 05:25:03 UTC (rev 10007)
@@ -158,8 +158,10 @@
 {
        int sz = mMobileIDs.size();
        assert(sz<=2);
+       // Remember for reverse orders of 1/2-octet fields.
+       // Because GSM transmits LSB-first within each byte.
+       dest.writeField(wp,0x0,4);              // "any channel", GSM 04.08 
Table 10.5.29
        dest.writeField(wp,0x0,4);              // "normal paging", GSM 04.08 
Table 10.5.63
-       dest.writeField(wp,0x0,4);              // "any channel", GSM 04.08 
Table 10.5.29
        mMobileIDs[0].writeLV(dest,wp);
        if (sz>1) mMobileIDs[1].writeTLV(0x17,dest,wp);
 }





reply via email to

[Prev in Thread] Current Thread [Next in Thread]