We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 82fd8b2 commit 84b1719Copy full SHA for 84b1719
scripts/bind/init_gs.sh
@@ -23,14 +23,20 @@ fi
23
24
if ! [ -f /etc/wifibroadcast.cfg ]
25
then
26
+ link_domain="auto_$(tr -dc 0-9 < /dev/urandom | head -c8)"
27
cat > /etc/wifibroadcast.cfg <<EOF
28
[common]
-link_domain = 'auto_$(tr -dc 0-9 < /dev/urandom | head -c8)'
29
wifi_channel = 165 # 165 -- radio channel @5825 MHz, range: 5815–5835 MHz, width 20MHz
30
# see https://en.wikipedia.org/wiki/List_of_WLAN_channels for reference
31
32
wifi_region = 'BO' # Your country for CRDA (use BO or GY if you want max tx power)
33
34
+[drone]
35
+link_domain = '$link_domain'
36
+
37
+[gs]
38
39
40
[gs_mavlink]
41
peer = 'connect://127.0.0.1:14550' # mavlink connection to QGC
42
0 commit comments