Commit Graph

836 Commits

Author SHA1 Message Date
Matteo Cypriani 6ea849625c [Listener] Add -R option (read from pcap file)
The new -R option allows one to read packets from a pcap file instead of
capturing from a network interface.
2013-04-23 18:32:59 -04:00
Matteo Cypriani c95257f26a [Listener] Use pcap_next_ex instead of pcap_loop
pcap_next_ex() will allow us to detect the end of a capture file. Since
we used pcap_loop() to capture one packet at a time anyway, this won't
change anything for live captures.

The variable names were standardised in functions using pcap data types
('pkt_header' and 'pkt_data' instead of 'header' and 'packet').
2013-04-23 18:32:37 -04:00
Matteo Cypriani 0fc84a548f [doc] Add -client (unfinished) 2013-03-20 13:20:56 -04:00
Matteo Cypriani 3780d3ff6d [doc] Add -architecture 2013-01-11 16:47:17 -05:00
Matteo Cypriani 375ddb513b Update TODO 2013-01-11 16:22:20 -05:00
Matteo Cypriani d423339374 Update gitignore 2013-01-11 16:22:08 -05:00
Matteo Cypriani a3b76dd9ec [doc] Fix preproc-man & owlps.t2t 2013-01-11 16:21:38 -05:00
Matteo Cypriani 867ee1cd80 Add doc/
Add the directory for all the future documentation. The file owlps.t2t
is aimed at being the entry point of all the other documentation pages.
Included are a Makefile to generate man pages and a couple of scripts to
improve the rendering.
2012-11-08 21:45:56 +01:00
Matteo Cypriani 2898141f3b Add README.t2t 2012-11-08 19:16:35 +01:00
Matteo Cypriani 7dc7b9af6e INSTALL -> INSTALL.t2t (+ minor fixes) 2012-11-08 19:13:34 +01:00
Matteo Cypriani 06375794d6 COPYRIGHT: add APP deposit information 2012-11-08 18:18:05 +01:00
Matteo Cypriani 197de231d3 Rename TODO -> TODO.t2t, update 2012-11-08 17:29:49 +01:00
Matteo Cypriani 4eaac47b98 COPYRIGHT -> COPYRIGHT.t2t
Convert the copyright file to txt2tags format.
2012-11-08 04:44:31 +01:00
Matteo Cypriani 1216f4e045 Update TODO 2012-11-06 01:22:17 +01:00
Matteo Cypriani 317c9918b7 common.mk: fix OpenWrt SDK commands 2012-11-06 01:22:17 +01:00
Matteo Cypriani 8df82b9c41 Fix typo "endianness" 2012-11-06 01:22:16 +01:00
Matteo Cypriani 8310467f7c [Logo] Resize SVG frames 2012-11-06 01:22:16 +01:00
Matteo Cypriani 8f09237773 Add INSTALL 2012-11-06 01:09:01 +01:00
Matteo Cypriani cadb64e4c6 [lib] Fix a typo in owlps.h 2012-11-03 16:51:13 +01:00
Matteo Cypriani ae1fa584a7 [Positioner] Measurement: intervals are uints 2012-11-03 16:51:13 +01:00
Matteo Cypriani d1c64212d8 Test malloc/realloc return values 2012-11-03 16:51:13 +01:00
Matteo Cypriani e9e6d25894 Add CHANGELOG 2012-11-03 16:49:07 +01:00
Matteo Cypriani 8455dd0d74 Add copyright & license information
Add the file COPYRIGHT, the CeCILL license's text, and update the source
files' headers with the copyright and license information.
2012-11-03 14:52:33 +01:00
Matteo Cypriani 69390a3f6b [Positioner] Fix Request::to_csv() (missing ;) 2012-08-30 16:05:23 +02:00
Matteo Cypriani 3808c2ce6f [Positioner] Add Request::to_csv()
Code moved from InputLogCSV.
2012-08-30 10:23:09 +02:00
Matteo Cypriani 5d94fe8cc4 [Client] Add option -N (number of requests)
New option to use in conjunction with -F, in order to stop after a given
number of requests.
2012-08-29 12:20:34 +02:00
Matteo Cypriani 60e32ac500 [Client] Minor cosmetic fixes 2012-08-29 12:17:26 +02:00
Matteo Cypriani 8c93cc467e [Positioner] Add option output.2d-error 2012-08-24 16:39:00 +02:00
Matteo Cypriani 5fd5f13b93 [Positioner] Add Point3D::distance_2d() 2012-08-24 16:33:47 +02:00
Matteo Cypriani b11b63c46b [Positioner] cfg: improve comments 2012-08-24 16:33:47 +02:00
Matteo Cypriani 8cf840ba1b [Positioner] Reindent input.cc 2012-08-24 16:28:44 +02:00
Matteo Cypriani 18761a06ce [Positioner] Input: fix calib. request handling
Reorganise the tests in order to really ignore calibration requests if
positioning.accept-new-calibration-requests = false and
positioning.position-calibration-requests = false.

Display a message when a calibration request is ignored.
2012-07-24 16:21:03 +02:00
Matteo Cypriani e278aab032 [lib] Force 9 digits to display nanoseconds
In owl_timestamp_to_string(), the conversion of the nanosecond value is
forced to be on 9 digits.
2012-07-13 16:35:00 +02:00
Matteo Cypriani f6fa26507f [Positioner] EvAAL: do not send \0
The NULL character must not be sent at the end of the result string, or
the Socket Server behaves weirdly.
2012-07-10 16:15:45 +02:00
Matteo Cypriani 307da87760 [Positioner] EvAAL: fix AOI printing
The AOI (Area Of Interest) number must be printed only if greater than
zero.
2012-07-10 16:13:15 +02:00
Matteo Cypriani db63c88a45 [Positioner] EvAAL: handle empty results' lists 2012-07-10 16:11:25 +02:00
Matteo Cypriani 2d2b8551fb [Positioner] Rename cfg/listeners.csv (typo) 2012-06-28 21:44:00 +02:00
Matteo Cypriani d21dcc7b9a common.mk: protect $HOME 2012-06-28 14:58:57 +02:00
Matteo Cypriani 1882cc26ca Update TODO 2012-06-21 18:43:12 +02:00
Matteo Cypriani 8f3bf50aa5 [Positioner] Fix "interval" similarity algorithm
The "interval" similarity algorithm now handles the case where no packet
is found within the interval.
2012-06-20 18:39:21 +02:00
Matteo Cypriani 1f22ece3d9 [Positioner] PosUtil::is_in_interval(): bound == 0
PosUtil::is_in_interval() now handles a zero interval width. That is
required in case of standard deviation equals to zero.
2012-06-20 18:36:30 +02:00
Matteo Cypriani 6a13e4fc54 [Positioner] Fix Point3D::operator bool() 2012-06-20 17:26:00 +02:00
Matteo Cypriani 91ff55ca0e [Positioner] Measurement: variance in dBm
Along with the variance in mW, compute the variance of the dBm values.
2012-06-19 17:56:10 +02:00
Matteo Cypriani 6d40ecc8c5 [Positioner] Measurement: fix recalculate_average()
Adds the attribute variance_size to handle the number of elements taken
into account in the variance computation, instead of relying on
ss_list.size(), which is a mistake in the case of recalculate_average().
2012-06-19 17:41:10 +02:00
Matteo Cypriani b952dc94ab [Positioner] Measurement: rename variance variables
We compute only the variance for the milliwatt values, so the
variance-related variables are renamed with the _mw suffix.
2012-06-19 17:13:27 +02:00
Matteo Cypriani 812c616841 [Positioner] autocalibration.cc: missing includes 2012-06-14 13:42:05 +02:00
Matteo Cypriani d8f3fe0508 Update TODO 2012-06-08 19:27:49 +02:00
Matteo Cypriani 3640bcf0ba [Positioner] replay option is boolean
Fixes the test of the replay option: it is a boolean, not a
configured/not configured option.
2012-06-08 19:27:49 +02:00
Matteo Cypriani dce842bad3 [Positioner] Add option unique-calibration-requests
The default behaviour is preserved.
2012-06-08 19:27:49 +02:00
Matteo Cypriani 167cc1fcb6 [Positioner] Input: test the request earlier
Return before to update the current time if the request is empty.
2012-06-08 19:27:49 +02:00