https://github.com/openipc/wfb-ng-openwrt
WFB-NG for OpenWrt
https://github.com/openipc/wfb-ng-openwrt
openipc openipc-fpv openwrt wfb-ng
Last synced: 5 months ago
JSON representation
WFB-NG for OpenWrt
- Host: GitHub
- URL: https://github.com/openipc/wfb-ng-openwrt
- Owner: OpenIPC
- License: gpl-3.0
- Created: 2024-08-14T14:51:46.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2024-11-15T06:27:04.000Z (about 1 year ago)
- Last Synced: 2025-08-11T02:31:11.095Z (6 months ago)
- Topics: openipc, openipc-fpv, openwrt, wfb-ng
- Language: Shell
- Homepage: https://openipc.org
- Size: 42 KB
- Stars: 25
- Watchers: 5
- Forks: 4
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[wfb-ng](https://github.com/svpcom/wfb-ng) for OpenWrt
------------------
Package name is wfb-ng, There are five options in OpenWRT's config:
1. wfb-rx: `wfb_rx` binary
2. wfb-tx: `wfb_tx` binary
3. wfb-keygen: `wfb_keygen` binary
4. wfb-key: Default key used by OpenIPC and Android FPVue, linked to `/etc/gs.key`
5. wfb-gs: `OpenWRT wfb groundstation`, Include necessary bins, scripts and configs. The main function is set wireless network card to Monitor mode, receive data from WNIC and sending to decode & dispaly device.
### __Hardware__
* OpenWRT router. Recommend dual-band router with USB port.
* [Tested devices](https://github.com/OpenIPC/wfb-ng-openwrt/wiki/0.-Tested-devices)
### __Features__
* Fully compatible with openipc fpv.
* Using the wireless card integrated by router, No need to use an external USB wireless network card.
* 2.4G and 5G band supported when using a dual-band router.
* Support sending video stream and Mavlink data to devices via ethernet cable, wifi, RNDIS, etc.
* Auto switch sending destination between Android phone(USB tethering) and PC(ethernet or wifi) using unicast mode. Sending data to the phone when USB tethering turned on, Otherwise sending data to the PC(static IP set in config)
* Sending data to Android(RNDIS) and SBC(ethernet) at the same time using multicast mode. QGroundControl does not support multicast in windows?
* Can place the router high or far away to get a better signal, such as on the roof. The working length of ethernet cable is much longer than USB cable.
### __TODO__
* Use multiple routers to receive.
* Receive data from 2.4G and 5G band simultaneously.
### __Configuration Example__
* Set channel to `36`
1. `uci set wfb-gs.config.channel='36'`
2. `uci commit`
3. `reload_config`
* Set stream destination IP to `192.168.1.100` and set mode to `unicast`
1. `uci set wfb-gs.config.ip_pc='192.168.1.100'`
2. `uci set wfb-gs.config.mode='unicast'`
3. `uci commit`
4. `reload_config`
* Change settings by edit config file
1. edit `/etc/config/wfb-gs` and save
2. `reload_config`
### __Tips__
* Router's default IP is `192.168.1.1`
* Config file is `/etc/config/wfb-gs`
* Default stream destination IP is `192.168.1.2`
* Default channel is `161`
* Default bandwidth is `20MHz`
### __WARNING__
* Not fully tested yet, Use at your own risk.