Skip to content

Commit

Permalink
Fix README and help output
Browse files Browse the repository at this point in the history
  • Loading branch information
svpcom committed May 27, 2022
1 parent 6bc5a53 commit 83d1eeb
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 1 deletion.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -112,3 +112,7 @@ https://dev.px4.io/en/qgc/video_streaming_wifi_broadcast.html
Wiki:
-----
See https://github.com/svpcom/wifibroadcast/wiki for additional info

Community chat:
---------------
Telegram: https://t.me/EZWBC
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ def _make_spec_file(self):
fd.write("# Don't make any changes here, use local.cfg instead!\n\n[common]\nversion = %r\ncommit = %r\n" % (version, commit))

setup(
url="http://github.com/svpcom/wifibroadcast",
url="http://wifibroadcast.org",
name="wifibroadcast",
version=version,
packages=find_packages(exclude=["*.tests", "*.tests.*", "tests.*", "tests"]),
Expand Down
1 change: 1 addition & 0 deletions src/rx.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -862,6 +862,7 @@ int main(int argc, char* const *argv)
fprintf(stderr, "Remote (aggregator): %s -a server_port [-K rx_key] [-k RS_K] [-n RS_N] [-c client_addr] [-u client_port] [-l log_interval]\n", argv[0]);
fprintf(stderr, "Default: K='%s', k=%d, n=%d, connect=%s:%d, radio_port=%d, log_interval=%d\n", keypair.c_str(), k, n, client_addr.c_str(), client_port, radio_port, log_interval);
fprintf(stderr, "WFB version " WFB_VERSION "\n");
fprintf(stderr, "WFB home page: <http://wifibroadcast.org>\n");
exit(1);
}
}
Expand Down
1 change: 1 addition & 0 deletions src/tx.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -362,6 +362,7 @@ int main(int argc, char * const *argv)
keypair.c_str(), k, n, udp_port, radio_port, bandwidth, short_gi ? "short" : "long", stbc, ldpc, mcs_index, poll_timeout);
fprintf(stderr, "Radio MTU: %lu\n", (unsigned long)MAX_PAYLOAD_SIZE);
fprintf(stderr, "WFB version " WFB_VERSION "\n");
fprintf(stderr, "WFB home page: <http://wifibroadcast.org>\n");
exit(1);
}
}
Expand Down
5 changes: 5 additions & 0 deletions telemetry/server.py
Original file line number Diff line number Diff line change
Expand Up @@ -471,7 +471,12 @@ def _cleanup(x):

def main():
log.startLogging(sys.stdout)

log.msg('WFB version %s-%s' % (settings.common.version, settings.common.commit[:8]))
profile, wlans = sys.argv[1], list(wlan for arg in sys.argv[2:] for wlan in arg.split())
uname = os.uname()
log.msg('Run on %s/%s @%s, profile %s using %s' % (uname[4], uname[2], uname[1], profile, ', '.join(wlans)))

reactor.callWhenRunning(lambda: defer.maybeDeferred(init, profile, wlans)\
.addErrback(abort_on_crash))
reactor.run()
Expand Down

0 comments on commit 83d1eeb

Please sign in to comment.