<div dir="ltr">PHew! - finally finished my experiments with RRLP. Full details at <a href="http://www.genesysguru.com">www.genesysguru.com</a><br><br>In summary:<br><br>range error=ephemURA of xx.0 (xx) doesn't fit in (0,15)<br>
<br>The problem seems to be that SV accuracy in metres is being used as the URA index. The confusion arises due to differences between the Receiver Independent Exchange Format (RINEX) 2.10 format and Interface Specification IS-GPS-200 (<a href="http://www.gps.gov/technical/icwg/">http://www.gps.gov/technical/icwg/</a>). IS-GPS-200 section 20.3.3.3.1.3 states: ”SV Accuracy - Bits 13 through 16 of word three shall give the URA index of the SV. The URA index (N) is an integer in the range of 0 through 15.”<br>
<br>RRLP server needs to be  modified to support RINEX and specifically to add a mapping from SV accuracy to URA index. For now I changed line 1084 in rrlpserver.erl to assume a URA index of 6 e.g. SV accuracy in the range 13.65 – 24 metres:<br>
<br>stuff("ephemURA", nmth(7,1,Tokens), AdjustTable),<br><br>Change to:<br><br>stuff("ephemURA", “6” , AdjustTable),<br><br>With Control.Call.QueryRRLP.Early OpenBTS option configured a crash occurs.<br>
<br>OpenBTS: ../CommonLibs/Vector.h:189: void Vector<T>::copyToSegment(Vector<T>&, size_t, size_t) const [with T = char, size_t= unsigned int]: Assertion `base+span<=other.mEnd' failed.<br><br>Hence the solution for now is to unconfigure this option:<br>
<br>unconfig Control.Call.QueryRRLP.Early<br><br>It looks at though the Almanac file downloaded from <a href="http://www.navcen.uscg.gov/?pageName=currentAlmanac&format=yuma">http://www.navcen.uscg.gov/?pageName=currentAlmanac&format=yuma</a> is saved into /tmp/almanac as HTML rather than plain text:<br>
<br>As a quick fix I changed my Almanac URL:<br><br>config GSM.RRLP.ALMANAC.URL <a href="http://celestrak.com/GPS/almanac/Yuma/almanac.yuma.txt">http://celestrak.com/GPS/almanac/Yuma/almanac.yuma.txt</a><br><br>My final configuration options are:<br>
<br>config GSM.RRLP.ACCURACY 40<br>config GSM.RRLP.ALMANAC.ASSIST.PRESENT 1<br>config GSM.RRLP.ALMANAC.URL <a href="http://celestrak.com/GPS/almanac/Yuma/almanac.yuma.txt">http://celestrak.com/GPS/almanac/Yuma/almanac.yuma.txt</a><br>
config GSM.RRLP.EPHEMERIS.ASSIST.COUNT 3<br>config GSM.RRLP.EPHEMERIS.REFRESH.TIME 0.5<br>config GSM.RRLP.RESPONSETIME 6<br><br>Hope this helps!<br><br>I'm moving on to experiments with Uplink-Time Difference of Arrival (U-TDOA) methods for locating mobile devices with a bit of GSM burst data analysis , Complex Event Processing (CEP) and data correlation thrown in …. I call this Mobile Fingerprinting … lets see!<br>
<br>Regards<br>Craig</div>