Matteo Cypriani
ee3ab7b383
[Listener] Same port for all requests
...
The autocalibration requests are now sent on the same port as the
positioning request, by default. There was no real reason to send them
on a different port.
2012-02-06 13:27:05 +01:00
Matteo Cypriani
a0005e9dad
Don't use inet_ntoa() any more
2012-02-06 13:27:05 +01:00
Matteo Cypriani
2c1697b78a
Enable compilation on GNU/kFreeBSD
2012-02-06 13:27:05 +01:00
Matteo Cypriani
a20156a45e
[Listener] print_configuration(): fix verbose
...
The verbose level was displayed as a boolean when the program was
compiled without libconfuse.
2012-02-06 13:27:05 +01:00
Matteo Cypriani
16eaecc53f
Avoid displaying non-ASCII characters
...
Avoid displaying UTF-8 characters on the terminal (French quotes &
ellipsis).
2012-02-06 13:26:50 +01:00
Matteo Cypriani
dd01705608
Wrap help messages at 80 columns
...
In Client, Listener and Aggregator, wrap the help message text at 80
columns to make them easier to read on a standard console.
2012-01-24 18:29:50 +01:00
Matteo Cypriani
a1bc3db310
Fix daemon modes (Aggregator, Listener, Client)
...
daemon() must be called prior to set up signal handlers and threads.
2012-01-24 17:27:46 +01:00
Matteo Cypriani
cfe58267e3
Makefile: ARG variable allows to specify a target
...
One can now call make ARG=static to call the "static" target of each
module.
2012-01-24 17:26:13 +01:00
Matteo Cypriani
ad8f42117b
[Listener] Compile without confuse (Atheros)
...
For the Atheros platforms, do not link to libconfuse by default.
2012-01-24 17:26:06 +01:00
Matteo Cypriani
7fc89a381c
[Listener] Check radiotap header length
...
From time to time, the length of the radiotap header (rtap_bytes in
read_packet()) is 65535. This is a quick & dirty fix to avoid segfaults,
but we should search for the reason why this value sometimes appears.
2012-01-24 16:11:36 +01:00
Matteo Cypriani
08a8626354
Makefiles: improve static compilation
...
Add a static target for Listener, Aggregator and Positioning.
Strip the static and semistatic targets.
2012-01-11 16:50:39 +01:00
Matteo Cypriani
c9c82211d8
[Client] Compile-time option ENABLE_RECEIVE_POSITION
...
Enables or disables the -l option at compile-time.
2012-01-11 16:50:39 +01:00
Matteo Cypriani
a81b539a05
Remove Makefiles for OpenWrt 8.09
2012-01-11 16:50:39 +01:00
Matteo Cypriani
58e86c304a
[lib] Bump so version to 2.0
2012-01-11 16:50:39 +01:00
Matteo Cypriani
327f8ae199
[Client] Daemon mode (-D)
2012-01-11 16:50:39 +01:00
Matteo Cypriani
a4857e4b1f
[Aggregator] Daemon mode (-D)
2012-01-11 16:50:39 +01:00
Matteo Cypriani
2ed7ccd4bc
[Listener] Daemon mode (-D)
...
Basic implementation of the daemon mode.
2012-01-11 16:50:39 +01:00
Matteo Cypriani
cf73bf6309
[lib] Avoid struct arguments & return values
...
Modify the *time*() functions to avoid passing structures in arguments
(using const pointers instead) or returning structures (using result
arguments instead).
2012-01-11 16:50:36 +01:00
Matteo Cypriani
93f316d2c6
[lib] Fix time_elapsed()
...
The previous implementation was very naive and incorrect.
2012-01-11 16:48:59 +01:00
Matteo Cypriani
4dc45acff7
Get rid of the SS - 0x100 problems
...
In the listener & aggregator, the signal strength is stored as an
unsigned byte. To display the actual (negative) value, one must
substract 256 (0x100) to the unsigned value.
This commit changes several things:
- Use the decimal (256) instead of the hexadecimal value (0x100).
- Don't substract 256 when copying the value to another unsigned byte
(aggregator).
- Be careful with the type length. In the positioning server, a SS
could be copied to a signed byte, while (theoretically) the negative
value can exceed the capacity of the signed byte. measurement.hh now
defines a type ss_t to store a signal strength value with the good
size (it is currently an int_fast16_t).
2012-01-09 11:11:31 +01:00
Matteo Cypriani
5bef966d14
[Positioning] InputMedium: fix a comment
2012-01-09 11:11:30 +01:00
Matteo Cypriani
58ba4c79ff
[lib] Rename start_time -> capture_time
...
"start_time" was meaningless in the global data structures of owlps.h,
and could lead to errors in the aggregator, since it defines a field
start_time in one of its internal structures.
2012-01-09 11:11:30 +01:00
Matteo Cypriani
aa8d11e12b
[lib] Rename antenna_signal_dbm -> ss_dbm
...
Use "ss" instead of "antenna_signal" in the data types declared in
owlps.h. Shorter, and as meaningful.
2012-01-09 11:11:30 +01:00
Matteo Cypriani
376aa106dc
[Aggregator] Fix Makefile (don't link with .h)
2012-01-09 11:11:30 +01:00
Matteo Cypriani
812273cc0c
Update TODO
2012-01-09 11:11:30 +01:00
Matteo Cypriani
3d05f203aa
[Positioning] Rename RADAR -> NSS
...
The algorithm RADAR is renamed "NSS", which is more neutral.
2012-01-09 11:11:30 +01:00
Matteo Cypriani
61124e4cfc
Makefiles: test CC prior to surcharge it
...
Verifies that CC is at its default value prior to try to surcharge it
with colorgcc.
2012-01-09 11:11:30 +01:00
Matteo Cypriani
700782f9a6
[Positioning] Makefile: disable the 'test' target
...
Unit tests are unmaintained. It's nicer to tell it to the user.
2012-01-09 11:11:30 +01:00
Matteo Cypriani
cf18386310
[Positioning] Review CLI options descriptions
...
Fix some typos and reorganise the command-line options' descriptions.
Rename positioning.radar-* --> positioning.radar.*
Same in the sample configuration file.
2012-01-09 11:11:30 +01:00
Matteo Cypriani
5ffeafb857
[Listener] Option ENABLE_KEEP_MONITOR
...
Add the compile-time option ENABLE_KEEP_MONITOR to enable/disable the
option -K. That allows to make optional the dependency on iwlib.
This option is disabled by default in the Makefiles.
2012-01-09 11:11:30 +01:00
Matteo Cypriani
8c070d482e
Standardise CLI options
...
Make uniform the command-line options of the various programs.
Positioning: delete some useless short options.
2012-01-09 11:11:30 +01:00
Matteo Cypriani
ffd1c1d625
[Listener] Verbose level #4 instead of option -c
...
Add a fourth verbose level to display the captured packets and suppress
the dedicated options -c / -Q.
2012-01-09 11:11:30 +01:00
Matteo Cypriani
39300aaa85
Makefiles: translate help
...
Translate help messages from French.
2012-01-09 11:11:30 +01:00
Matteo Cypriani
a70fc783e2
Makefiles: translate comments
...
Translate all the comments from French.
2012-01-09 11:11:30 +01:00
Matteo Cypriani
fc0ab05620
[Positioning] Fix comments in Stock & Request
2011-12-02 11:44:01 +01:00
Matteo Cypriani
b3b1f8eda2
[Listener] Display the mobile's IP address
...
When displaying the request to send, display the IP address of the
mobile.
Aggregator: clean the code for displaying requests.
2011-11-22 19:59:01 +01:00
Matteo Cypriani
5e0a227905
[Positioning] Only one occurrence of an algorithm
...
If an algorithm name is specified more than once (e.g. once in the
configuration file and once on the command line), the algorithm is
now executed only once.
2011-11-22 15:14:39 +01:00
Matteo Cypriani
6aae51ab97
[Positioning] InputUDPSocket: verbose mode
...
In verbose mode, the received requests are now displayed.
2011-10-27 10:03:07 +02:00
Matteo Cypriani
c84df6d8a8
[lib-client] send_request(): test owl_run
...
Stop sending packets if owl_run is false.
2011-10-25 11:33:47 +02:00
Matteo Cypriani
ac6d5d7854
[Aggregator] Fix position endianess
...
Convert endianess of the coordinates prior to send a request to the
positioning server.
2011-10-24 17:43:04 +02:00
Matteo Cypriani
8805454b73
Makefile: fix owlps-client target
2011-10-24 14:51:39 +02:00
Matteo Cypriani
1debe92624
[Listener] Fix extract_calibration_data()
2011-10-24 13:56:51 +02:00
Matteo Cypriani
0fcf846988
[Positioning] ReferencePoint: clarify comments
2011-10-21 16:25:54 +02:00
Matteo Cypriani
95555f1c63
[lib-result] Remove -lrt for non-Linux targets
2011-10-20 13:45:01 +02:00
Matteo Cypriani
c158d87b5a
[Aggregator] Fix request display
2011-10-13 15:43:41 +02:00
Matteo Cypriani
603293c5f9
[Listener] Fix request display
...
Use owl_mac_bytes_to_string_r() instead of owl_mac_bytes_to_string()
when there are more than one address to display in a single printf().
2011-10-13 15:40:05 +02:00
Matteo Cypriani
220289e83f
[Positioning] Makefile: display minimal GCC version
...
The help target displays the minimal GCC version required to compile the
program.
2011-08-30 17:06:32 +02:00
Matteo Cypriani
12624f6fd3
[Positioning] OutputNetworkSocket: missing #include
...
Add missing #include for BSD.
2011-08-30 17:00:35 +02:00
Matteo Cypriani
33167601bf
Update TODO
2011-08-27 09:18:16 +02:00
Matteo Cypriani
91609a40fe
[Client] Use libowlps-resultreader
...
Use functions from libowlps-resultreader in receive_position(). By the
way, this function is still not really useful, as we do not verify that
the received result correspond to the set request.
2011-08-27 09:18:16 +02:00