Replies: 47 comments
-
BTW, when I enable DEBUG_TX, my PC can receive the UDP packets from Pi Zero. But fail for PcapTransmitter. |
Beta Was this translation helpful? Give feedback.
-
the command I used: |
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
-
I don't recommend ath9k - use rt28xx or rtl8812au instead |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
Without firmware patch ath9k will unable to switch radio channel. See #46 (comment) |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
Are you sure, that internal zero card can do packet injection? |
Beta Was this translation helpful? Give feedback.
-
monitor mode != packet injection in general case |
Beta Was this translation helpful? Give feedback.
-
Thanks for your clarification. But do I check it supports injection or not? I was thinking monitor mode == packet injection originally. |
Beta Was this translation helpful? Give feedback.
-
But actually, I add some logs here. It will never throw out the runtime error. I think it should support packet injection. I need to find some way to install the patch on my RX wifi card. |
Beta Was this translation helpful? Give feedback.
-
If I use rtl8812au for the ground side, do I need to patch rtl8812au? Or it just supports the monitor mode. |
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
-
ath9k without patches inject packets but ignore wifi channel and modulation type (MCS) settings. So RX card will listen one channel and TX transmit on other. |
Beta Was this translation helpful? Give feedback.
-
Well explained. I have tried on one channel. But it still doesn't work. I think you are right. My Pi zero internal wifi card doesn't support packet injection. Maybe I need to buy an RTL8812AU wifi adapter for my Pi Zero. I just notice another wonderful project from you: https://github.com/svpcom/rtl8812au Can I use Thanks |
Beta Was this translation helpful? Give feedback.
-
Thanks for your reply. is it the same for rtl8812au with injection/monitoring modes out of box |
Beta Was this translation helpful? Give feedback.
-
No. For rtl8812au you should use https://github.com/svpcom/rtl8812au driver. Stock driver doesn't support injection. |
Beta Was this translation helpful? Give feedback.
-
OOOOh, thanks. The stock driver of rtl8812au only supports monitor mode. right? If used this ground side, it doesn't need this driver. But for the drone side, need to use https://github.com/svpcom/rtl8812au driver, is this correct? |
Beta Was this translation helpful? Give feedback.
-
If you want to use only one-side communication (like video only), you can use it. But ip tunnel will not work |
Beta Was this translation helpful? Give feedback.
-
Yes, what do you mean by ip tunnel? Is it for mavlink telemetry |
Beta Was this translation helpful? Give feedback.
-
https://github.com/svpcom/wifibroadcast/wiki/Setup-HOWTO
In case of unidirectional communication will work only (1) and (2) in downstream mode. (3) will not work at all |
Beta Was this translation helpful? Give feedback.
-
Thanks, I see this! Is it based on UDP? It can be used to send commands to Drone. BTW, is it possible to disable encryption on the video tunnel which may reduce latency? Or can it be as a switch in the configuration file? |
Beta Was this translation helpful? Give feedback.
-
Dear svpcom, Do you suggest using RTL 3070 or RTL 5370 wifi cards? |
Beta Was this translation helpful? Give feedback.
-
Both should work, but I used only RT5572 and RT3572 |
Beta Was this translation helpful? Give feedback.
-
Encryption doesn't affect to latency. it is always on. If you don't need it you can try to use https://github.com/OpenHD/Open.HD. They have premade images |
Beta Was this translation helpful? Give feedback.
-
Thanks. Do they support injection mode out of the box? How can I check that before I buy it? |
Beta Was this translation helpful? Give feedback.
-
RT5572 and RT3572 supported by rt28xx without any patches. But these chipsets are out-of-stock now.
|
Beta Was this translation helpful? Give feedback.
-
Thanks. Why do you recommend rtl8812au? It's a little bit expensive compare with rt28xx in my country. But in my country, I can still buy rt28xx chipsets. I just find that TX power is only 20 dBm. Is there any way to maximize it? You help me a lot. Realllly appreciate a lot |
Beta Was this translation helpful? Give feedback.
-
In contrast, my raspberry pi zero has 31 dBm in TX power which higher than my rt28xx wifi card. |
Beta Was this translation helpful? Give feedback.
-
This is a fake TX power. 31dBm is ~ 1W of output. Only card with heatsink can operate. Some of rtl8812au can output such power, for example https://www.aliexpress.com/item/4001243968808.html, but heatsink (or active cooling) is required |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello, thanks for making such an amazing project.
But I face some problems while using this.
Hardware:
gs as a Linux virtual machine with TPLink TL-WN722N V1.
It can be set into monitor mode like the following picture:

start with:

drone as raspberry pi zero with Linux Kernal patch, which can be set into monitor mode also.
start with: ./wfb_tx -p 1 -u 5600 -K drone.key wlan0
Problem:
I print some logs at the file of rx.cpp at line 688 like this:
But the rc value is always 0.
How could I solve this problem? I can verify that the GStreamer works well because I can forward the video stream from Pi zero to my PC via standard wifi.
Beta Was this translation helpful? Give feedback.
All reactions