Hackrf One模拟GPS信号—手记

首次准备

下载编译gps-sdr-sim

git clone https://github.com/osqzss/gps-sdr-sim.git

cd gps-sdr-sim

gcc-mp-5 gpssim.c -lm -O3 -o gps-sdr-sim

获取目的坐标

https://tool.lu/coordinate/
http://api.map.baidu.com/lbsapi/getpoint/index.html

生成数据

./gps-sdr-sim -e brdc3540.14n -l 43.969638,125.318352,100 -T 2021/07/20,09:50:00 -b 8

发射信号

hackrf_transfer -t gpssim.bin -f 1575420000 -s 2600000 -a 1 -x 0

你可能感兴趣的:(笔记,手记,ubuntu,sdr)