-
Notifications
You must be signed in to change notification settings - Fork 5
JANUS : Run
vkebkal edited this page Jan 15, 2020
·
7 revisions
cat > rxcfg.ini << EOF --pset-file etc/parameter_sets.csv --pset-id 1 --stream-driver tcp --stream-driver-args listen:127.0.0.1:9998 --stream-fs 62500 --stream-format S16 --verbose 9 EOF
cat > txcfg.ini << EOF --pset-file etc/parameter_sets.csv --pset-id 1 --stream-driver raw --stream-driver-args tx.raw --stream-fs 62500 --stream-format S16 --verbose 9 EOF
$ sdmsh/> ./sdmsh MODEM_IP_RX -e "stop;config 30 0 3 0" tx cmd CONFIG: 1 samples rx cmd REPORT: CONFIG done $ sdmsh/> ./sdmsh MODEM_IP_TX -e "stop;config 30 0 3 0" tx cmd CONFIG: 1 samples rx cmd REPORT: CONFIG done
$ janus-c/> ./janus-rx --config-file rxcfg.ini
Here the janus-rx is waiting for TCP client to start signal reception.
Use --rx-once option, if you need to stop running the janus-rx after a successful demodulation.
$ sdmsh/> ./sdmsh MODEM_IP_RX -e "rx 0 tcp:connect:127.0.0.1:9998 raw:rx.raw" tx cmd RX : 0 samples rx cmd RX : rcv 270328 samples
At this point the sdmsh is storing the data in rx.raw and pass them to the janus-rx, the janus-rx does the JANUS signal processing.
$ janus-c/> ./janus-tx --config-file txcfg.ini
Here the janus-tx is waiting for TCP client to start signal transmission.
$ sdmsh/> ./sdmsh MODEM_IP_TX -e "tx raw:tx.raw"
After running the command JANUS signal transmission start using the sdmsh