You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thats all, now put the SD card in your vrx and turn it ON, you will get 2 wifi interfaces connected to APFPV credentials, and with ip route it will pick the best wifi card every time, the range should increase significantly.
391
391
392
-
### Using APAlink
393
-
APAlink will modify the bitrate on the fly to keep link alive, its stable beta now, will be port in cpp soon.
394
-
1. Download it from [GitHub](https://github.com/carabidulebabat/CaraSandbox/blob/main/ap_alink.sh).
395
-
2. Modify rc.local in /etc/ folder and add before exit 0 and save the file.
396
-
```bash
397
-
/etc/ap_alink.sh &
398
-
````
399
-
400
-
3. SSH into it(putty can be used) and type:
392
+
Using APALink
401
393
402
-
```bash
403
-
chmod +x /etc/ap_alink.sh
404
-
```
394
+
APALINK is a C program designed to keep your video link alive. It uses fallback logic to switch to a lower bitrate (e.g., 2 Mbps) when the signal is weak.
395
+
396
+
Installation
397
+
398
+
To install it is easy:
399
+
400
+
1. Go to https://github.com/carabidulebabat/CaraSandbox
401
+
2. Follow the steps in the README.md.
402
+
403
+
3. Copy the ap_alink binary to /usr/bin:
404
+
405
+
'''bash
406
+
chmod 777 +x /usr/bin
407
+
'''
408
+
409
+
4. Copy the ap_alink.conf file to the /etc/ folder.
410
+
411
+
5. (Optional) Copy vtxmenu.ini to /etc/ as well to enable the APFPV menu.
412
+
413
+
6. Go fly!
414
+
415
+
Settings
416
+
417
+
You can edit the ap_alink.conf file:
418
+
419
+
'''bash
420
+
bitrate_max=22 ## its the bitrate when good signal
421
+
bitrate_min=2 ## its the fallback bitrate
422
+
dbm_threshold=-47 ## this value is the threshold of when fallback mode needs to kick in. WARNING: set this value as your Wi-Fi RF sensitivity
423
+
'''
405
424
406
-
Now lets see how its work now.
425
+
- A lower threshold = better image quality for longer, but video may lag or freeze under weak signal.
426
+
- A higher threshold = fallback triggers faster, possibly reducing lag but also image quality.
407
427
408
-
Apfpv already got modulation scheme adaptive, so now the ap aplink is a simple fallback link that trigger 2mbps when signal is low.
409
-
We got bitrate max wich the maximum bitrate reachable and bitrate min wich is the fall back bitrate
428
+
Recommended Settings
410
429
411
-
Stock setting use 25mbps bitrate and 2 mbps for fallback
430
+
EU2:
431
+
'''bash
432
+
bitrate_max=45
433
+
bitrate_min=2
434
+
dbm_threshold=-52
435
+
'''
412
436
413
-
now we got dbm wich is the threshold when fallback kick in.
437
+
8812AU AF1:
438
+
'''bash
439
+
bitrate_max=20
440
+
bitrate_min=2
441
+
dbm_threshold=-48
442
+
'''
414
443
415
-
you can use 3 value
444
+
MSP Menu
416
445
417
-
-48 wich make fallback enter very quicly and a worse image quality, its good value for> 25mbps bitrate
418
-
-50 wich is the default value and a good compromise between link consistency and image quality
419
-
-61 Its works but not recommand this value, fallback will enter too late and you will lose video, if your on rc car or fix wing, or ardupilot kwad you can try it.
446
+
Navigate to the MSP menu just like in HDZero or WFB-NG.
420
447
421
-
Note, more higher bitrate you set you need to higher dbm value, unless majestic will not adapt intime and you will get poor performance.
448
+
Inside the "BASIC SETTING" submenu, you have:
422
449
423
-
for bitrates that works
450
+
- Tx Power: 1500 or 2000 (representing MIN/MAX power). 3000 is unstable on most chips. These are in dBm but may vary depending on your Wi-Fi chip’s power amplifier (PA).
451
+
- Channel: Every 5GHz Wi-Fi channel is listed.
424
452
425
-
10mbps very stable
426
-
15mbps stable
427
-
25mbps higher stable bitrate we got
453
+
That’s All
428
454
429
-
48mbps !!!!! will give a 50mbps video feed that crystal clear but not very stable now. I will suggest 45mbps to try first.
455
+
Straightforward, easy to understand — just plug and fly without overthinking.
0 commit comments