Matteo Cypriani
9944fef40d
[Positioner] Switch to C++11
...
This is a very basic switch, we don't use any of the C++11 features yet.
2013-05-16 17:46:44 -04:00
Matteo Cypriani
f55672ef01
[Positioner] Add class CSVStringReader
...
Code separated from CSVFileReader, which now inherits from both
TextFileReader and CSVStringReader.
2013-05-16 16:59:15 -04:00
Matteo Cypriani
559c884499
[Listener] Add display_captured_request()
...
Create the display_captured_request() function from read_packet() code.
2013-05-16 14:15:25 -04:00
Matteo Cypriani
75b6539757
[Listener] Warn if rtap SS field is absent
...
Display a warning if the radiotap antenna signal is absent and the
signal strength could not be extracted. Change the SS value to 127 dBm
(the maximum and improbable value) in this case.
2013-05-16 14:15:25 -04:00
Matteo Cypriani
b3f688b2cf
[Listener] Improve radiotap parsing
...
Get rid of the useless parsing loop; make clear we only want to extract
the signal strength and work only for that.
2013-05-16 13:52:57 -04:00
Matteo Cypriani
7a5ed8ec51
[Listener] Remove unused radiotap fields
...
From the radiotap header, we only use the antenna signal field,
therefore we don't need to handle the fields that are after it. We do
need to take into account the fields preceding the antenna signal field
though, in order to know where it is.
2013-05-16 11:37:18 -04:00
Matteo Cypriani
4a3e1e1091
[Listener] Improve/fix radiotap fields definitions
2013-05-16 11:09:45 -04:00
Matteo Cypriani
0614b52219
[lib] Stop defining owl_bool (use stdbool.h)
...
We don't define our own boolean type in owlps.h any more: bool (from
stdbool.h) is used instead.
2013-05-15 15:46:13 -04:00
Matteo Cypriani
94a567ca4b
Update COPYRIGHT.t2t (new year)
2013-05-14 13:40:24 -04:00
Matteo Cypriani
aa2e72f423
[Positioner] positioner.conf: comment lines
...
Comment unnecessary lines from cfg/owlps-positioner.conf.
2013-05-14 13:37:18 -04:00
Matteo Cypriani
5a7d30ea84
[Positioner] InputUDPSocket: include unistd.h
...
Fixes compilation on DragonFly.
2013-05-01 13:41:05 -04:00
Matteo Cypriani
9d18c1b598
Makefile: adapt targets to the OS
...
The Listener is built only on Linux, the Positioner is not built on
OpenBSD. Some other changes might be required.
In common.mk, the OS is forced to Linux if we build for OpenWrt, which
should allow to cross-compile from BSD systems.
2013-05-01 11:13:49 -04:00
Matteo Cypriani
64c2ac9a58
Makefiles: move OS detection in common.mk
...
This fixes compilation on BSD.
2013-04-30 16:50:14 -04:00
Matteo Cypriani
2e4fb5a931
[Listener] Remove errbuf comment (cf. prev. commit)
...
errbuf doesn't seem to begin with ": " in all cases; I fixed that in
the previous commit but forgot to remove the wrong comment.
2013-04-29 11:50:40 -04:00
Matteo Cypriani
2b6a3a73ed
[Listener] Fix compilation with confuse (-r/-R)
...
The handling of -r/-R was buggy with libconfuse enabled.
2013-04-29 10:51:04 -04:00
Matteo Cypriani
1971e2def6
[doc] owlps: add section Contribute
2013-04-24 14:13:06 -04:00
Matteo Cypriani
2a23e31a28
Fix compilation warning/errors for OpenWrt
...
In lib-resultreader and Positioner.
2013-04-24 13:51:58 -04:00
Matteo Cypriani
f9fffd4a9e
Improve compilation process for OpenWrt
...
- common.mk has been tweaked so that the OpenWrt compilation process is
more flexible: one can now choose an OPENWRT_TARGET and the
OPENWRT_ROOT instead of just the OPENWRT_VERSION.
- The OPENWRT_VERSION's default value trunk" has been removed.
- Makefile_atheros_openwrt has been deleted, since with recent OpenWrt
versions (12.09) everything should compile just fine, and we are not
specific to the atheros target any more.
- INSTALL.t2t has been updated to reflect these changes, and a new
section was added to explain how to compile your own toolchain.
2013-04-24 13:51:58 -04:00
Matteo Cypriani
4aed9c1ef0
Radiotap Antenna Signal field is signed
...
Using int8_t instead of uint8_t which was erroneously used to code the
Antenna Signal radiotap field.
2013-04-24 10:59:55 -04:00
Matteo Cypriani
a046dcd3fb
[Listener] Fix radiotap alignment bug
...
The fields in the radiotap header are naturally aligned, which was not
taken into account by the parser.
2013-04-23 18:54:38 -04:00
Matteo Cypriani
6f0d5c8da5
[Listener] Warn in case of unknown rtap field
2013-04-23 18:54:38 -04:00
Matteo Cypriani
e7b639a020
[Listener] Minor fixes, mostly cosmetic
2013-04-23 18:54:38 -04:00
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