Commit Graph

1127 Commits (master)
 

Author SHA1 Message Date
Matteo Cypriani 7b0aacd212 [Positioner] Add ResultList::set_request()
It is now possible to update the Request in a ResultList.
10 years ago
Matteo Cypriani f38527cd93 [Positioner] Add Result::set_position() 10 years ago
Matteo Cypriani 1a40fe3366 [Positioner] Point3D: new interpolation function
Add Point3D::interpolate(point, speed, duration), that returns a single
interpolated point computed according to speed and duration of the
mobile's movement.
10 years ago
Matteo Cypriani 52940bcfc3 [Positioner] Add ResultList::get_result_for_algo() 10 years ago
Matteo Cypriani feb5a715fa [Positioner] Add Mobile::last_results
Allow to store the last results for each algorithm in a Mobile.
10 years ago
Matteo Cypriani 23d0708ca1 [logo] README: explain how to get the right font 10 years ago
Matteo Cypriani ebeef80bac [Positioner] cfg: warn about CPs in mobiles.csv 10 years ago
Matteo Cypriani c09ed87f94 [lib] captured_request's alignment in comment
Add position and size of alignment bytes in the _owl_captured_request
structure (in comments).
10 years ago
Matteo Cypriani d5755a3df6 [Client] Display sleeping time only in verbose
Display sleeping and transmission times only in verbose mode.
10 years ago
Matteo Cypriani 6c8d97ace3 [Client] With -N, print nb of remaining trx
When the -N option is used, the number of remaining request
transmissions is printed after each transmission.
10 years ago
Matteo Cypriani dd8497fb53 [Listener] Radiotap: handle Extended Present Flags
Check the 31st bit of the Present Flags field, i.e. the Ext bit, set
when additional Present Flags fields follow.
10 years ago
Matteo Cypriani 9c83ae3593 [Positioner] using instead of typedef
Declare type aliases with "using" instead of "typedef".
10 years ago
Matteo Cypriani 7985415a3f Update changelog for v1.3.5 10 years ago
Matteo Cypriani 5ddcdeed2f [Positioner] Fix two catches (catch by reference) 10 years ago
Matteo Cypriani f7194dce71 [Client] parse_command_line(): move arg_ulong
Move arg_ulong's declaration to avoid a warning when
OWLPS_CLIENT_RECEIVES_POSITION is off.
10 years ago
Matteo Cypriani f35a96891f [Listener] Remove const from keep_mode_monitor()
keep_mode_monitor()'s argument was marked as const by mistake,
preventing compilation with OWLPS_LISTENER_KEEPS_MONITOR on.
10 years ago
Matteo Cypriani fb4d7668d0 [lib-result] Increment version number
libowlps-resultreader was changed since the last release so the version
number must be incremented.
10 years ago
Matteo Cypriani 4d78da4721 Doc and comments: some typos & small additions 10 years ago
Matteo Cypriani 69fe1290f7 TODO.t2t: forget ether_ntoa() and Co.
ether_ntoa_r(), the reentrant version of ether_ntoa(), is a GNU
extension so using it would break portability. We will just stick with
our owl_mac_bytes_to_string() and owl_mac_bytes_to_string_r().
11 years ago
Matteo Cypriani 307a60e6f2 [Listener] Limit the verbose level to a maximum
Same as for Aggregator, the verbose level is limited to 4.
11 years ago
Matteo Cypriani 56edcc623a [Aggregator] Limit the verbose level to a maximum
For now the maximum verbose level is 4, so it is best for the user to
avoid displaying a verbose level higher than that in the configuration.
11 years ago
Matteo Cypriani f08097ea08 Update TODO.t2t 11 years ago
Matteo Cypriani 8692a1ba9b [doc] aggregatord: add ASCII art sequence diagram 11 years ago
Matteo Cypriani 3a14fa17e9 [doc] Additional figures
Add three figures ad well as a text file that lists them.
11 years ago
Matteo Cypriani 191521751b [doc] architecture: add process diagram 11 years ago
Matteo Cypriani 0c79e230b9 [Positioner] Rework Building::add_area()
Don't take a pointer reference as argument, throw an exception instead
of deleting the area, clarify comments.
11 years ago
Matteo Cypriani 939ef17d6a [Positioner] posexcept: add element_already_exists 11 years ago
Matteo Cypriani 5520541217 [Positioner] Make Building::areas const 11 years ago
Matteo Cypriani ea01f09b5e [Positioner] Use auto for iterators
Use the 'auto' keyword instead of declaring explicitly an iterator type,
where possible.
11 years ago
Matteo Cypriani 17dd3ee6bf [Positioner] Don't pass primitive types const refs
Quit using constant references function arguments  or return values for
primitive types.
11 years ago
Matteo Cypriani a495d51f02 [Positioner] Work on const function arguments
The function arguments were reviewed to add missing 'const' keywords,
and some classes were modified more deeply to make some pointer class
variables constant.
11 years ago
Matteo Cypriani 69e8b49300 Mark arguments as const as needed in C programs
This was already done in the libraries, but not in the programs.
11 years ago
Matteo Cypriani ef2b4e9e58 [Listener] Add an assert, improve 2 comments 11 years ago
Matteo Cypriani 0b2835c744 [doc] Add owlps-positionerd.t2t 11 years ago
Matteo Cypriani 333be113d6 [UDP-HTTP] Base 10 for numbers from command line 11 years ago
Matteo Cypriani c4cf57c903 [Listener] Test numbers from the command line
Check the return value of relevant calls to strtol().
Force base 10 when reading integers from the command line.
11 years ago
Matteo Cypriani 89f0b583e3 [Aggregator] Test numbers from the command line
Check the return value of most calls to strtol().
Force base 10 when reading integers from the command line.
11 years ago
Matteo Cypriani ed690ad196 [Client] Test numbers from the command line
Check the return value of most calls to strto*().
Force base 10 when reading integers from the command line.
11 years ago
Matteo Cypriani 2d6b4c11d4 [lib-result] read_*_field(): quit printing errors
owl_read_*_field() do not print detailed error messages any more, but
return a different error code depending on the error that occurred.
11 years ago
Matteo Cypriani b39ccb8f1e [lib-result] Check validity of the request type 11 years ago
Matteo Cypriani d995cdfc7d [lib] Add macro OWL_IS_REQUEST_TYPE()
This macro allows to check if a given number is a valid request type.
11 years ago
Matteo Cypriani 669f5b1064 [lib-result] mobile_mac_addr as static buffer
The mobile_mac_addr field of the struct _owl_result is now a static char
buffer instead of being dynamically-allocated. When reading the MAC
address, it is also more thoroughly verified.
11 years ago
Matteo Cypriani 5d71ca9ae2 [lib-result] Add read_float_field() and use it
This function is similar to owl_read_long_field() but reads a float and
doesn't allow to choose an alternative field delimiter.
11 years ago
Matteo Cypriani 21e624728c [lib-result] Add read_long_field() and use it
This new function allows to read a CSV field containing an integer value
and checks the value read.
11 years ago
Matteo Cypriani d4cd2e6a63 [doc] CMake: install man pages 11 years ago
Matteo Cypriani 703e78ff1a [scripts] Add CMakeLists.txt (install files)
Add installation targets for the scripts and Perl modules.
11 years ago
Matteo Cypriani 51837c0ac1 [lib-result] Fix some comments 11 years ago
Matteo Cypriani e5883d99d5 Finish supporting getaddrinfo()
- For static buffers, use a size suited for host names and not only IP
  addresses.
- Change variable names.
- Adapt usage messages and documentation.
11 years ago
Matteo Cypriani 050026d61f [UDP-to-HTTP] Use getaddrinfo() to open TCP socket 11 years ago
Matteo Cypriani 75e04cfc17 Quit handling useless network client structures
It is useless to handle a client structure on recvfrom() or accept()
when nothing is done with this information.
Changed in Aggregator, Listener, Positioner and UDP-to-HTTP.
11 years ago