supl 安裝使用

來源:互聯網
上載者:User

標籤:gps   google   nokia   位置服務   

supl 這裡是用來追蹤A-GPS請求,觀察行動裝置和Google 或者Nokia GPS位置服務資料命令。作者在debian上測試發布,為了減少麻煩,初次使用,直接在debian上。
安裝好debian 7 32bit虛擬機器 下載源檔案http://www.tajuma.com/download/supl_1.0.6.tar.gz
$ wget http://www.tajuma.com/download/supl_1.0.6.tar.gz$ tar xvf supl_1.0.6.tar.gz

不使用ASN1編譯
configure --precompiled-asn1sudo apt-get install libssl-devsudo apt-get install pkg-config


然後
$ make$ sudo make install


It works!

測試 supl-client
深圳的一個移動基站位置
$ ./supl-client --cell=gsm:460,0:0x262b,0x0df3 


出錯
./supl-client: error while loading shared libraries: libsupl.so.1: cannot open shared object file: No such file or directory


src檔案下明明有這個動態庫,$ echo $LD_LIBRARY_PATH發現連結庫的路徑不對,隨後添加路徑
$ LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib在check 一下$ echo $LD_LIBRARY_PATHexport LD_LIBRARY_PATH


在運行這是深圳一個基站的命令,需要相應修改。可以用手機擷取Cell ID info
$ ./supl-client --cell=gsm:460,0:0x262b,0x0df3 


OK,正常返回資料了。
完,後續具體抓包資料會陸續寫blog。

supl 安裝使用

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.