Commit Graph

8 Commits

Author SHA1 Message Date
G.A. vd. Hoorn 39eac9448d
examples: explicitly set language to C (#257)
CMake will default to enabling C and C++ if no languages are specified in the project(..) call.

Micro-XRCE-DDS-Client is a C-only project. Avoid enabling C++.

Signed-off-by: gavanderhoorn <g.a.vanderhoorn@tudelft.nl>
2021-07-06 07:56:21 +02:00
Pablo Garrido 4e132687b8
Pedatic warnings (#247)
* Fix minor warnings in -wextra mode

* Update

* Uncrusti
2021-05-27 15:16:30 +02:00
Pablo Garrido 5124991014
Update Quality Level 1 (#210)
* Initial

* Update

* Update

* Uncrustify code

Using https://github.com/eProsima/cpp-style

* Update quality

* Update

* Update

* Apply suggestions from code review

Co-authored-by: FranFin <58737168+FranFin@users.noreply.github.com>

Co-authored-by: FranFin <58737168+FranFin@users.noreply.github.com>
2021-03-23 12:16:24 +01:00
Pablo Garrido 518b56fa40
Refactor platforms usage (#183)
* Initial

* Fix windows

* Update
2021-02-08 09:14:45 +01:00
Julián Bermúdez Ortega 7c50dade71
Feature/config (#155)
* Change configuration approach.

* Rename PROFILE_XXX_TRANSPORT by UCLIENT_PROFILE_XXX.

* Add Zephyr platform support in CMake.

* Modify transport source selection in CMakeLists.txt.
2020-05-25 12:50:00 +02:00
Julián Bermúdez Ortega 4dfeee1c92
Examples installation (#151)
* Modify example installation.

* Increase patch version number.

* Add Dockerfile and .dockeringore files. (#152)

* Fix -Wformat-overflow warning in log.c.
2020-05-19 08:16:00 +02:00
Julián Bermúdez Ortega 68385f84a8
Fix fragmentation [7903] (#142)
* Add uxrReliableStream struct.

* Refactor reliable stream's buffers management.

* Update uxr_reset_output_reliable_stream function.

* Remove frament_offset param from uxr_reset_output_reliable_stream function.

* Fix CommonReliableStream tests.

* Fix InputReliableStream tests.

* Fix OutputReliableStream tests.

* Adapt to Micro-CDR initialization functions.

* Change output fragmentation approach.

* Fix output alignment.

* Fix input alignment.

* Modify read_format_data function.

* Modify read_format_data function.

* Modify uxrOnTopicFunc signature.

* Modify uxrOnReplyFunc and uxrOnRequestFunc signature.

* Refactor on_full_input_buffer function.

* Fix examples according to new callback signatures.

* Fix read_format_data bug.

* Fix Windows warnings.

* Fix discovery locator sequence lookup.

* Modify default values for connections attends and internal in client.config file.

* Apply suggestions from code review

Co-Authored-By: Pablo Garrido <pablogs9@gmail.com>

* Attend PR review comments.

Co-authored-by: Pablo Garrido <pablogs9@gmail.com>
2020-04-07 16:42:29 +02:00
Julián Bermúdez Ortega fd52a2505f Services (#120)
* Refs #6993. Add Requester and Replier entities.

* Refs #6993. Add RequestAdder and ReplyAdder examples.

* Refs #6993. Add uxr_buffer_request function to write access profile.

* Refs #6993. Add SampleIndentity types.

* Refs #6993. Add OnRequestFn callback to uxrSession.

* Refs #6993. Add uxr_buffer_reply function.

* Refs #6993. Add OnReplyFn callback.

* Refs #6993. Move XRCE types.

* Refs #6993. Add RequestAdder and ReplyAdder examples.

* Refs #6993. Fix read_format_data warning.

* Refs #6993. Modify uxrOnRequest and uxrOnReply callbacks.

* Refs #6993. Fix tests.

* Refs #6993. Remove Windows example warnings.

* Added uxr_run_session_timeout (#124)

* Added uxr_run_session_timeout

* Using remaining_time approach

* Fix implicit casting

* Refs #7089. Add Request/Reply API documentation. (#125)

Co-authored-by: Pablo Garrido <pablogs9@gmail.com>
2019-12-23 09:58:33 +01:00