Replies: 3 comments
-
Reference implementation: https://github.com/svpcom/wfb-ng/tree/auto-provisioning
It will create (if doesn't exists) on the GS:
and /etc/bind.key on the drone After this it will transfer /etc/wifibroadcast.cfg and /etc/drone.key to the drone and restart wifibroadcast services both on drone and GS. |
Beta Was this translation helpful? Give feedback.
-
Hello! Consider the scenario of a many to many (drones/groundstations) scenario which is normal in openipc-fpv. A user may have aviateur (windows), android, radxa, custom x86 synced to many drones. There is a need to be able to manage binds on any one of the groundstations without breaking the others and having to rely on keypair file syncing. For example local keypair generation using a passphrase like ELRS. |
Beta Was this translation helpful? Give feedback.
-
Merged into master branch |
Beta Was this translation helpful? Give feedback.
-
Optional easy binding protocol proposal
Prereqs:
drone_bind
andgs_bind
with only IP tunnel enabledBind protocol:
drone_bind
profile on drone andgs_bind
on gsImplementation notes:
Protocol description
command_name \t [arg1 [arg2] ... ]
where\t
is tabulationstatus \t [optional message]
. Predefined statuses OK and ERRCommands:
VERSION
Should return drone versionBIND message
Wheremessage
is tar.gz archive base64 encodedBind archive contents:
checksum.txt
Contains sha1 checksum of all files inside of archive (use sha1sum command to generate)wifibroadcast.cfg
(optional). WFG-ng config file for drone.bind.yaml
(optional). Simple machine readable config. Will include basic link parameters.drone.key
(optional). Encryption key.Bind archive must not be empty.
bind.yaml
descriptionIt should include:
Also it may include any additional data needed by vendor
Reference implementation
Drone bind protocol server:
socat TCP4-LISTEN:5555,bind=10.5.99.2,reuseaddr,crlf EXEC:/usr/bin/bind-drone.sh
GS bind protocol client:
socat TCP4:10.5.99.2:5555,crlf,retry=10,interval=1 EXEC:/usr/bin/bind-gs.sh
bind-drone.sh:
bind-gs.sh
Beta Was this translation helpful? Give feedback.
All reactions