Add bladerf.script, and update README.md

This commit is contained in:
wangkang.wk 2015-07-20 15:12:00 +08:00
parent d77ec10dcd
commit 10acc03d50
2 changed files with 15 additions and 0 deletions

View File

@ -80,6 +80,12 @@ tx config file=gpssim.bin format=bin
tx start
```
Also, you can execute those commandline below as `bladeRF-cli` script:
```
> bladeRF-cli -s bladerf.script
```
For the HackRF:
```

9
bladerf.script Normal file
View File

@ -0,0 +1,9 @@
set frequency 1575.42M
set samplerate 2.6M
set bandwidth 2.5M
set txvga1 -25
cal lms
cal dc tx
tx config file=gpssim.bin format=bin
tx start
tx wait