Commit Graph

13 Commits

Author SHA1 Message Date
Vasily Evseenko
9a0b50604b Fix CLI and OSD issues 2023-07-06 13:05:55 +03:00
Vasily Evseenko
890b6f95fc Large refactoring of WFB-ng control-plane
Changes:
1. Added support for multiple profiles and profile inheritance (no need to have multiple copies of wifibroadcast.cfg).
2. No hadcoded streams (video/mavlink/tunnel) anymore. You can define own profiles and any number of data streams can be added/removed to profiles without any code change.
3. Multiple profiles can be active simultaneously (no need to run multiple instances of wfb-server when using the same wifi adapters for different links).
4. Added support for raw udp data streams. They don't use any frame aggregation or mavlink injection.
5. TX antenna selection is now link_domain wide - i.e. one-way udp_proxy tx stream will use active antenna selected by other RX streams.

Compatibility:
This commit maintain both radio and config compatibility with previous version.
So you can use previous verion of wfb-ng on the other link side and import most of your customizations from /etc/wifibroadcast.cfg
The only config incompatible change is that `common.link_id` was moved to profile section and renamed to `link_domain`.
2023-07-05 21:19:50 +03:00
Vasily Evseenko
06f5b8cda4 Add default route option for IP tunnel 2023-06-22 22:38:09 +03:00
Vasily Evseenko
fdb173723e Add support for RTS frames 2023-06-21 16:23:48 +03:00
Vasily Evseenko
10706c5b2b Improve udp socket buffer overflow handling
1. Add option for socket buffer size for incoming messages on the tx side.
2. Check for socket buffer overflow and show warnings.

You can set socket buffer size system-wide via net.core.rmem_default or
via -R option in wfb_tx.
2023-03-21 13:00:59 +03:00
Vasily Evseenko
5ea1b3e577 Add mavlink tcp proxy
Now it is possible to use backup link via LTE modem or connect onboard computer without external mavlink-router.
To connect as backup link in QGC use tcp connection to port 5760 and check "high latency link" checkbox.
2023-02-03 01:10:59 +03:00
Vasily Evseenko
d41554d880 Refactor mavlink parser 2023-02-01 18:41:37 +03:00
Vasily Evseenko
cef2b325e2 Add initial support for dynamic FEC 2023-01-09 19:30:30 +03:00
Vasily Evseenko
d6723e6c3d Update mavlink parser. Fix logging in systemd. Add color logs. 2022-12-12 22:12:53 +03:00
Vasily Evseenko
090eaf027b Pack small tuntap packets into one radio packet 2022-12-12 22:12:40 +03:00
Vasily Evseenko
e2fbeae9ac Add primary/secondary role for multi-instance setup 2022-11-30 14:48:16 +03:00
Vasily Evseenko
73af6d7cfa 1. Add WFB-NG std draft.
2. Fix frame format.
3. Add multiple links support
4. Add missing libsodium init. Warn if not enough entropy is available
5. Add project logo
2022-09-08 21:38:42 +03:00
Vasily Evseenko
a988e911ff Rename python module to wfb_ng. Code cleanup 2022-07-06 23:36:17 +03:00