Difference between revisions of "Explorer/RaspberryPi/Wifibroadcast"
Jump to navigation
Jump to search
Line 9: | Line 9: | ||
Don't worry with error (/bin/sh: 1: trial: not found make: *** [Makefile:43: test] Error 127) | Don't worry with error (/bin/sh: 1: trial: not found make: *** [Makefile:43: test] Error 127) | ||
* Airpi and GroundPi | |||
ifconfig $WFB_DEV down | |||
sleep 1 | |||
iw dev $WFB_DEV set monitor otherbss | |||
iw reg set DE | |||
ifconfig $WFB_DEV up | |||
iw dev $WFB_DEV set channel $WFB_CHAN | |||
* Airpi | * Airpi |
Revision as of 04:46, 23 June 2020
The software installation should be done on board (Airpi) and ground (Groundpi) RaspberryPi
sudo apt-get install libpcap-dev libsodium-dev -y
git clone https://github.com/svpcom/wifibroadcast mv wifibroadcast wifibroadcast-svpcom cd wifibroadcast-svpcom make
Don't worry with error (/bin/sh: 1: trial: not found make: *** [Makefile:43: test] Error 127)
- Airpi and GroundPi
ifconfig $WFB_DEV down sleep 1 iw dev $WFB_DEV set monitor otherbss iw reg set DE ifconfig $WFB_DEV up iw dev $WFB_DEV set channel $WFB_CHAN
- Airpi
/home/pi/wifibroadcast-svpcom/wfb_tx -K /home/pi/wifibroadcast-svpcom/drone.key -p 1 -u 5600 wlan1
- Groundpi
/home/pi/wifibroadcast-svpcom/wfb_rx -K /home/pi/wifibroadcast-svpcom/drone.key -p 1 -c 127.0.0.1 -u 6500 wlan1