Commit Graph

1127 Commits

Author SHA1 Message Date
Matteo Cypriani 49066f451b [lib] getaddrinfo() in create_udp_listening_socket() 2013-09-23 17:03:50 -04:00
Matteo Cypriani 25cc1ee67a [lib] getaddrinfo() in create_udp_trx_socket()
Use getaddrinfo() to resolve names in owl_create_udp_trx_socket(). The
client_description parameter has been removed from the function's
synopsis.
2013-09-23 17:03:50 -04:00
Matteo Cypriani e58d158286 [Client] Change -F option's behaviour
In flood mode, the delay is now counted from the beginning of the
transmission of a request, instead of after the end of the transmission.
The old behaviour is still supported by adding a '+' before the delay
duration on the command line.
2013-09-23 16:10:54 -04:00
Matteo Cypriani 9ca63f0858 [Client] Print config on stdout (not stderr) 2013-09-23 16:10:53 -04:00
Matteo Cypriani e48724b332 [lib-result] Mark arguments as const consistently 2013-09-23 16:10:53 -04:00
Matteo Cypriani f10f99634c [doc] Cosmetic improvements
"Options" comes right after "Description", quotes, etc.
2013-09-23 16:10:53 -04:00
Matteo Cypriani c10b9de1b4 [doc] aggregator and listener: add Files section 2013-09-23 16:10:53 -04:00
Matteo Cypriani 9d02312603 [doc] preproc: translate {{INSTALL_PREFIX}}
preproc.sh now translates the {{INSTALL_PREFIX}} string as well as the
{{OWLPS_VERSION}} string. Both values are now obtained from the
corresponding environment variables (OWLPS_VERSION was previously
obtained through a special git command).
2013-09-23 16:10:53 -04:00
Matteo Cypriani c48ee0c555 [UDP-HTTP] "NoResults" instead of "NoResult"
Set the explanation to "NoResults" when a request is received but no
results were read yet.
2013-09-23 16:10:53 -04:00
Matteo Cypriani 5435fd8e68 [doc] Add owlps-udp-to-http.t2t 2013-09-23 16:10:53 -04:00
Matteo Cypriani 82154b9a46 Cosmetic changes in C modules 2013-09-23 16:10:53 -04:00
Matteo Cypriani bd94f128b3 [Client] check_configuration(): add missing options 2013-09-23 16:10:53 -04:00
Matteo Cypriani 647b025840 [UDP-HTTP] Verbose/quiet command-line options
Add options -v and -q to handle verbose and quiet mode.
2013-09-23 16:10:53 -04:00
Matteo Cypriani d6fb1c04fc [UDP-HTTP] Command-line options -h, -V, -l, -t
Add support for basic command-line options: -h (help), -V (version), and
-l and -t for the port numbers.
2013-09-23 16:10:53 -04:00
Matteo Cypriani f181087d70 [doc] CMake: handle dependencies for doc_doxygen
The doc_doxygen target now depends on the C input files.
2013-09-23 16:10:53 -04:00
Matteo Cypriani efaf4da6ed [doc] Somewhat improve Doxygen-generated man pages
Fix some problems in the Doxygen-generated man pages (C libraries), the
more noticeable being removing the full path of the files from the
header and synopsis.
2013-09-23 16:10:53 -04:00
Matteo Cypriani b126cdc98d [doc] CMake: Perl modules' man pages go to man3
The manual pages of Perl modules now go to the man3/ directory instead
of a separate man3perl/ directory.
2013-09-23 16:10:52 -04:00
Matteo Cypriani 3edf06337c [doc] CMake: rename Perl modules' man pages (::)
Perl modules' man pages should be named Foo::Bar.3perl instead of
Foo--Bar.3perl. This is fixed but the solution is incomplete and hacky,
due to a limitation of make: Foo--Bar.3perl is first generated, then
renamed to Foo::Bar.3perl. This breaks the dependencies and
Foo--Bar.3perl will be re-generated at each run of make.
2013-09-23 16:10:52 -04:00
Matteo Cypriani 810d02d5b8 [doc] CMake: more portable clean_doxygen_garbage
Use cmake -E remove instead of rm -f.
2013-09-23 16:10:52 -04:00
Matteo Cypriani c3896662fd [doc] CMake: force order of Doxygen targets
Make sure the doxygen garbage is cleaned after being generated.
2013-09-23 16:10:52 -04:00
Matteo Cypriani cc121f382e [doc] CMake: generate man pages from Perl files
Generate manual pages from the Perl programs and modules in the scripts/
directory, thanks to pod2man.
2013-09-23 16:10:52 -04:00
Matteo Cypriani 5afecf42ca [doc] INSTALL: details on libclaw with OpenWrt 2013-09-23 16:10:52 -04:00
Matteo Cypriani c169bcb5d2 [doc] CMake: don't quit if txt2tags is not found
Don't return if txt2tags is not found, so that Doxygen-generated man
pages can be built.
2013-09-23 16:10:52 -04:00
Matteo Cypriani 386c279f6c [doc] aggregatord: add section CSV format 2013-09-23 16:10:52 -04:00
Matteo Cypriani 935b77e114 [scripts] AggCheck: -n prints total nb of packets 2013-09-23 16:10:52 -04:00
Matteo Cypriani 89cf84403c [doc] listenerd: add links in the description 2013-09-23 16:10:52 -04:00
Matteo Cypriani 73b71f279d [doc] Add owlps-aggregatord.t2t 2013-09-23 16:10:52 -04:00
Matteo Cypriani 0650059bca [Aggregator] Fix usage message 2013-09-23 16:10:52 -04:00
Matteo Cypriani 725d804bc2 [scripts] *.pl: fix synopsis' typesetting 2013-09-23 16:10:51 -04:00
Matteo Cypriani 3bc4c3bb8d [scripts] AggSetCoord: document batch processing
Add an example of shell script to set different coordinates at multiple
line ranges in a single aggregation file.
2013-09-23 16:10:51 -04:00
Matteo Cypriani e56a718b22 [scripts] AggSetCoord: -I option (backup suffix) 2013-09-23 16:10:51 -04:00
Matteo Cypriani 1307ac6dc5 [scripts] AggSetCoord: -i option (in-place) 2013-09-23 16:10:51 -04:00
Matteo Cypriani 1ffbe7a8c1 [scripts] AggSetCoord: -l option (select lines) 2013-09-23 16:10:51 -04:00
Matteo Cypriani 37b8157bc6 [scripts] AggSetCoord: -c option (fixed coords) 2013-09-23 16:10:51 -04:00
Matteo Cypriani 98a3e04c89 [scripts] AggSetCoord: -m option (client MAC) 2013-09-23 16:10:51 -04:00
Matteo Cypriani 0addbc2a0f [scripts] Add AggSetCoord
Add the script owlps-aggsetcoord.pl, which allows to filter an
aggregation file and interpolate the coordinates already present in it.
2013-09-23 16:10:51 -04:00
Matteo Cypriani 9073013997 [scripts] Add OwlPS::{CSV,TimeInterpolation}
Add Perl modules OwlPS::CSV and OwlPS::TimeInterpolation.
2013-09-23 16:10:51 -04:00
Matteo Cypriani 8ef5a55b07 [scripts] Add AggCheck (owlps-aggcheck.pl)
Add owlps-aggcheck.pl in the new scripts/ directory. As its name
indicates, this script allows one to analyse an aggregation file in
various ways: print human-readable information, extract signal strength
distribution, or extract the number of packets per request and per
capture point.
2013-09-23 16:10:27 -04:00
Matteo Cypriani a8cb529b2c [doc] Add Positioner's class diagram
Add the figure positioner_class_diagram.uxf, created with Umlet
(http://umlet.com/).
2013-07-26 16:48:54 -04:00
Matteo Cypriani b227bb17b5 [doc] Change format of links to other manpages
Links to other manual pages are now in italic, to match the links
generated by pod.
2013-07-25 19:11:03 -04:00
Matteo Cypriani c17675d5ff Update changelog for v1.3.4 2013-07-25 19:02:18 -04:00
Matteo Cypriani b91fdc52ab Update TODO.t2t 2013-07-25 18:47:14 -04:00
Matteo Cypriani 4dffac8216 [Positioner] CSVStringReader: remove useless init
Remove useless initialisation in CSVStringReader::set_str().
2013-07-25 18:31:30 -04:00
Matteo Cypriani 1c34eaee1e [Positioner] Add AutocalibrationLine
New autocalibration technique to generate points in line (use case:
underground tunnels). The handling of the
positioning.generate-reference-points has changed to be able to use
several autocalibration methods simultaneously.
2013-07-19 11:05:02 -04:00
Matteo Cypriani b100513265 Update .gitignore
Add a few more patterns to .gitignore.
Delete owlps-positioner/.gitignore, now useless thanks to CMake's
out-of-tree compliation.
2013-07-19 11:05:02 -04:00
Matteo Cypriani e7e4991000 [Positioner] AutocalibrationMesh: use 128 as error
Use 128 instead of 1 as error code in
AutocalibrationMesh::compute_multi_packet_ss(), since small positive
values can sometimes occur.

Some minor other cosmetics changes.
2013-07-19 11:05:02 -04:00
Matteo Cypriani 652ed7b706 [Positioner] is_cp_coordinates(): return pointer
Stock::is_cp_coordinates() now returns a pointer to the CP if found, or
NULL if not found.
2013-07-19 11:05:01 -04:00
Matteo Cypriani 2ac9cc2c1d [Positioner] Add AutocalibrationMesh (refactored)
Refactor pieces of Autocalibration into the new class
AutocalibrationMesh, in order to allow the addition of new
autocalibration sub-classes.
2013-07-19 11:05:01 -04:00
Matteo Cypriani b436526d40 [Positioner] Timestamp: print ns on 9 digits 2013-07-17 18:09:15 -04:00
Matteo Cypriani 10a1cfe1ca [Positioner] EvAAL: current format is 2012
The code for the EvAAL output was slightly updated in 2012 for the 2nd
contest. Although OwlPS doesn't handle sub-areas of interest, it was
indeed compatible with the 2012 evaluation system.
2013-07-17 18:09:15 -04:00