Commit Graph

146 Commits

Author SHA1 Message Date
Antón Casas 6efef4ae35
Migrate CI from Jenkins to Github
Signed-off-by: Antón Casas <antoncasas@eprosima.com>

Plot all columns

Signed-off-by: Antón Casas <antoncasas@eprosima.com>

Add PR trigger for testing

Signed-off-by: Antón Casas <antoncasas@eprosima.com>

Single file approach

Signed-off-by: Antón Casas <antoncasas@eprosima.com>

Move python code to file

Signed-off-by: Antón Casas <antoncasas@eprosima.com>

Move into a two jobs paradigm

Signed-off-by: Antón Casas <antoncasas@eprosima.com>

Fix results path

Signed-off-by: Antón Casas <antoncasas@eprosima.com>

Fix dependencies

Signed-off-by: Antón Casas <antoncasas@eprosima.com>

Add all csv

Signed-off-by: Antón Casas <antoncasas@eprosima.com>

Fix details up to save results into memory

Signed-off-by: Antón Casas <antoncasas@eprosima.com>

Move plot python code to file

Signed-off-by: Antón Casas <antoncasas@eprosima.com>

Remove python code

Signed-off-by: Antón Casas <antoncasas@eprosima.com>

Add plots to summary

Signed-off-by: Antón Casas <antoncasas@eprosima.com>

Add summary brief

Signed-off-by: Antón Casas <antoncasas@eprosima.com>

Switch to svg

Signed-off-by: Antón Casas <antoncasas@eprosima.com>

Save images

Signed-off-by: Antón Casas <antoncasas@eprosima.com>

Add analysis of last two runs

Signed-off-by: Antón Casas <antoncasas@eprosima.com>

[Test] Fake memory difference

This reverts commit 35b0b7eff2f95af400f69889c4370995489e91f0.

Signed-off-by: Antón Casas <antoncasas@eprosima.com>

Revert "[Test] Fake memory difference"

This reverts commit b9866691c0.

Signed-off-by: Antón Casas <antoncasas@eprosima.com>

Add summary introduction

Signed-off-by: Antón Casas <antoncasas@eprosima.com>

Final tweaks

Signed-off-by: Antón Casas <antoncasas@eprosima.com>
2025-09-29 08:15:57 +02:00
Ricardo González bb23a278fc
Increase cmake minimum required (#335)
* Refs #16427. Increase cmake minimum required

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #16427. Update googletest

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Fix tests

Signed-off-by: Pablo Garrido <pablogs9@gmail.com>

* Fix tests

Signed-off-by: Pablo Garrido <pablogs9@gmail.com>

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>
Signed-off-by: Pablo Garrido <pablogs9@gmail.com>
Co-authored-by: Pablo Garrido <pablogs9@gmail.com>
2022-12-08 11:54:19 +01:00
Antonio Cuadros 88bb91044c
Fix wait_session_status listen timeout (#322)
* Fix wait_session_status listen timeout

Signed-off-by: acuadros95 <acuadros1995@gmail.com>

* Update timeout calc and test

* Increase time tolerance

Signed-off-by: acuadros95 <acuadros1995@gmail.com>
2022-06-16 16:52:22 +02:00
Antonio Cuadros de48438f36
Add payload lenght on CAN messages (#298)
* Add payload lenght on message

* Fix warning

* Fix CAN DLC

* Uncrustify

* Fix write/recv size

* Fix frame used

* Separate last fragment on CREATE messages

* Update test

* Initialize test values

* Revert changes

* Missing revert
2021-12-14 09:19:02 +01:00
Pablo Garrido 58c00cc192
Update Bin entity creation API (#294)
* Update Bin entity creation API

Signed-off-by: Pablo Garrido <pablogs9@gmail.com>

* Update

Signed-off-by: Pablo Garrido <pablogs9@gmail.com>

* Apply suggestions from code review

Co-authored-by: Antonio Cuadros <49162117+Acuadros95@users.noreply.github.com>

Co-authored-by: Antonio Cuadros <49162117+Acuadros95@users.noreply.github.com>
2021-11-30 15:09:28 +01:00
Pablo Garrido 81fccf9f22
Add binary history depth (#266)
* Add binary history depth

* Update example

* Update tests

* Fix
2021-09-28 14:35:52 +02:00
Antonio Cuadros 3e2a144b44
Fix heartbeat period to 100ms (#251)
* Fix heartbeat period to 100ms

* Modify test time
2021-06-30 07:38:13 +02:00
Antonio Cuadros db59cbc711
Fix integration test with multithreading (#238)
* Fix integration test with multithread ON

* Uncrustify

* Add mising mutex unlock

* Revert "Add mising mutex unlock"

This reverts commit 0bb3ff9b4d5c7c0328a691bb81cab4e56ca14465.

* Test fragmented messages on multithread

* Add prefix option to output lib

* Conditional multithread tests

* Uncrustify

* Add lock init to stream storage mocks

* Fix test warning

* Remove NULL check on mutex

* Add stream mutex check

* Uncrustify

* Change tests client lib name

* Revert "Change tests client lib name"

This reverts commit 68dc6716786f6b53d18120ce09454b2aa0425333.
2021-05-27 07:43:28 +02:00
Pablo Garrido 984d0b9f87
Durability QoS (#241)
* Durability QoS

* Uncrustified

* Remove default
2021-05-17 11:57:00 +02:00
Pablo Garrido 527b4dd2f0
Multithread and shared memory (#216)
* Initial


Update


Revert "Initial"

This reverts commit bbef97f3599786be2febc15f8e8b474a4006234d.

Initial


Update


Update


Initial


Update


Revert example


Uncrustify fix


Add include


Fix header


Fix headers


Fix


Uncrus


Update to const char


Update


Update


Revert "Update"

This reverts commit 3a05e402e5.

Update


Multithread initial


Interprocess initial


Matching initial


Fix interprocess indexing


Update multithread public API


Initial DLL


Double linked list for ucdrBuffers


renaming


Update


Update


Indent


Deinit


Add shared memory tests (#221)

* Initial

* Update

* Update

* Update

* Update

* Fix leak
Update on request reply shared mem

Initial changes req/res


Update


Initial simple API


Working


Renaming


Fix example pthread header

Create shared memory profile folder


Fix warning


Fix warnings


Fix warnings


Multithread test


Update


Add tests


Style


Uncrustify


Uncrustify examples


Fix


Update


Fix


Add test multithread request reply

Update SharedMemory.cpp

Fix build warning
Include requester info on reply SampleIdentity info

Uncrustify

Fix warnings

Add request reply fragmentation test

Update


Update shared memory engine to bin


Update


Uncrustify


Fix

* Remove examples

* Fix naming

* Uncrus
2021-04-30 12:03:19 +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 023b640296
Fix performance tests (#189)
* Fix performance tests


Fix nightly performance tests


Update

* Update

* Add custom
2021-03-09 16:41:28 +01:00
Pablo Garrido 6054d81812
Minor API update (#205)
* Add uxr_buffer_topic

* Minor API changes

* Renaming

* Fix docs
2021-03-02 15:51:02 +01:00
Pablo Garrido 88e4d58a92
Coverage upgrade (#206)
* Initial coverage upgrade

* Update
2021-03-02 15:02:30 +01:00
Pablo Garrido 22bff80e0f
Refactor external transports (#179)
* Refactor stream framing code

* Added custom transports API

* Renaming serial_io to framing_io

* Refactor

* Move framing to runtime


Update custom callbacks API


Fix


Minor fixes

* Updates

* Add test

* Update test

* Fix Ralph issue

* Remove old external transport approach

* Revert "Remove old external transport approach"

This reverts commit dbd94b632b2fcd4325868d980339b0940b75f33e.

* Add deprecation message

* Fix leak in test

Fix leak in test


Fix


Fix test

* Fix windows test

* Minor fix

* Update

* Remove dead code

* Remove old transports approach

* Address comments

* Update test/transport/custom_comm/CustomComm.cpp

Co-authored-by: Jose Antonio Moral <joseantoniomoralparras@gmail.com>

* Update test/transport/custom_comm/CustomComm.hpp

Co-authored-by: Jose Antonio Moral <joseantoniomoralparras@gmail.com>

* Update test/transport/custom_comm/CustomComm.hpp

Co-authored-by: Jose Antonio Moral <joseantoniomoralparras@gmail.com>

* Update test/transport/custom_comm/CustomComm.hpp

Co-authored-by: Jose Antonio Moral <joseantoniomoralparras@gmail.com>

* Address comments

* Address comments

* Address comments

Co-authored-by: Jose Antonio Moral <joseantoniomoralparras@gmail.com>
2021-02-09 11:28:04 +01:00
Pablo Garrido 518b56fa40
Refactor platforms usage (#183)
* Initial

* Fix windows

* Update
2021-02-08 09:14:45 +01:00
Pablo Garrido 3286ebe780
Added continuous fragment mode (#177)
* Initial

* Working state

* Second approach working state

* Cleaning

* Fix warnings

* Updates

* Fix warnings

* Fix

* Fix warnings

* Check errors

* Updates

* Fix

* Rename function

* Add tests

* Update CMakeLists.txt

Co-authored-by: Jose Antonio Moral <joseantoniomoralparras@gmail.com>

* Update examples/ContinousFragment/CMakeLists.txt

Co-authored-by: Jose Antonio Moral <joseantoniomoralparras@gmail.com>

* Update examples/ContinousFragment/main.c

Co-authored-by: Jose Antonio Moral <joseantoniomoralparras@gmail.com>

* Update include/uxr/client/core/session/write_access.h

Co-authored-by: Jose Antonio Moral <joseantoniomoralparras@gmail.com>

* Update src/c/core/session/write_access.c

Co-authored-by: Jose Antonio Moral <joseantoniomoralparras@gmail.com>

* Update src/c/core/session/write_access.c

Co-authored-by: Jose Antonio Moral <joseantoniomoralparras@gmail.com>

* Update src/c/core/session/write_access.c

Co-authored-by: Jose Antonio Moral <joseantoniomoralparras@gmail.com>

* Update src/c/core/session/write_access.c

Co-authored-by: Jose Antonio Moral <joseantoniomoralparras@gmail.com>

* Update include/uxr/client/core/session/write_access.h

Co-authored-by: Jose Antonio Moral <joseantoniomoralparras@gmail.com>

* Update examples/ContinousFragment/main.c

Co-authored-by: Jose Antonio Moral <joseantoniomoralparras@gmail.com>

* Update src/c/core/session/write_access.c

Co-authored-by: Jose Antonio Moral <joseantoniomoralparras@gmail.com>

* Update src/c/core/session/write_access.c

Co-authored-by: Jose Antonio Moral <joseantoniomoralparras@gmail.com>

* Update src/c/core/session/write_access.c

Co-authored-by: Jose Antonio Moral <joseantoniomoralparras@gmail.com>

* Fix indentation

* Rename folder

* Fix typo

Co-authored-by: Jose Antonio Moral <joseantoniomoralparras@gmail.com>
2021-02-02 11:52:00 +01:00
Pablo Garrido 304cc26826
Fix fragmentation first fragment size (#175)
* Test

* Update test

* Fix

* Fix warning
2020-11-18 16:26:28 +01:00
Pablo Garrido 9f03f79568
Fix available fragment calculation (#167)
* Add regression test

* Fix
2020-11-16 16:16:34 +01:00
Pablo Garrido bac9000070
Merge branch 'master' into develop 2020-06-04 07:35:42 +02:00
Julián Bermúdez Ortega fc334262e5
Hotfix request/reply (#156)
* Add unit test for write_access.

* Add unit test for read_access.

* Fix read_format_data function.

* Attend PR comments.
2020-05-26 16:09:51 +02: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 91f234a321
Fix fragmentation (#146)
* Fix fragmentation on last_fragment_size == available_block_size.

* Regression test for #146 (#147)

* Add regression test.

* Remove unnecessary comments.
2020-04-28 17:55:21 +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 5d16a887ce Isolated install (#130)
* Simplify merge install policy.

* Add merge install test.

* Change UCLIENT_MERGE_INSTALL flag by UCLIENT_ISOLATED_INSTALL.

* Attend PR comments.

* Update CMakeLists.txt

Co-authored-by: Borja Outerelo <borjaouterelo@gmail.com>
2020-01-24 13:23:25 +01: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
Borja Outerelo 191c23fb54 Feature/install paths (#122)
* Change install path policy.

* Fix install include directories.
Change install directory name.

* Fix typo.

* Fix test.
2019-12-18 17:01:12 +01:00
Julián Bermúdez Ortega fd19a4614b Fix c flag checking in CI project. (#116) 2019-12-05 14:46:03 +01:00
Julián Bermúdez Ortega 139a6bb9a1 PIC dependecies (#110)
* Add PIC selection on Micro-CDR.

* Update Micro-CDR version to 1.1.1.

* Change version temporarily to 1.1.3.

* Modify connection attempts and interval default configuration.

* Change Micro-CDR dependency from submodule to git external project.

* Remove submodules.

* Change Micro-CDR tag.

* Test cases (#111)

* Refs #6972. Move Jenkins file from root to ci folder.

* Refs #6972. Add Linux and Windows CI projects.

* Refs #6972. Add CTestConfig.cmake file.

* Refs #6972. Add UCLIENT_BUILD_CI_TESTS flag.

* Refs #6972. Add test cases.

* Refs #6972. Add dependencies to Config.cmake file.
2019-12-03 15:39:38 +01:00
Julián Bermúdez Ortega 0f1495cb24 CI warnings (#101)
* Refs #6475. Fix CI warnings.

* Refs #6475. Fix googletest cmake warning.

* Refs #6475. Update Micro-CDR.

* Refs #6475. Move options under project declaration in CMake.

* Refs #6475. Modify SuperBuild.cmake in order to fix CI warning.

* Refs #6475. Update Micro-CDR.
2019-10-07 11:32:32 +02:00
Julián Bermúdez Ortega c59ead14c6 Hotfix #94 (#95)
* Refs #5607. Fix logger compilation error and memory profiling test.

* Refs #5609. Add regresion test for writing/reading serialization.

* Refs #5609. Fix uint64 bug.

* Refs #5609. Add gtest as external project.

* Refs #5609. Fix googletest download.

* Refs #5609. Fix WriteUint64 test in Session.

* Refs #5609. Fix googletest find_package.

* Refs #5607. Fix printf warning.
2019-06-12 17:10:46 +02:00
Julián Bermúdez Ortega 27e5809e26 Pre-release 1.1.0 (#92)
* Refs #5500. Fix SuperBuild update and BUILD_SHARED_LIBS flag.

* Refs #5500. Improve SuperBuild package lookup.

* Refs #5500. Remane SuperBuild variables.

* Refs #5500. Minor changes in CMakeLists.txt file.

* Refs #5500. Update SuperBuild download command.

* Refs #5500. Modify config.h file generation.

* Refs #5511. Remove unnecessary export attribute.

* Refs 5511. Change HINTS by PATH in in CMake's find_package function.

* Refs #5511. Add BUILD_SHARED_LIBS CMake option.

* Refs #5511. Remove unnecessary files.

* Refs #5511. Update microcdr.

* Refs #5511. Remove integration tests from CMakeLists.txt

* Refs #5511. Modify project version and update microcdr.

* Refs #5511. Add nuttx_toolchain template.

* Refs #5511. Fix toolchain configuration file generation.

* Refs #5511. Remove unnecessary SuperBuild flags.

* Refs #5581. Update microcdr release/1.1.0.

* Refs #5581. Bump microcdr version 1.0.1 -> 1.1.0.

* Update microcdr thirdparty.

* Refs #5581. Update microcdr.
2019-06-10 10:10:09 +02:00
Julián Bermúdez Ortega fd2e6929e5 Superbuild [5500] (#90)
* Refs #5500. Add SuperBuild.cmake target.

* Refs #5500. Refactor CMakeLists.txt file.

* Refs #5500. Fix submodule update error in the superbuild.

* Refs #5500. Update Micro CDR and change superbuild uclient external project.

* Refs #5500. Fix Nuttx compilation.

* Fix signed/unsigned mismatch warnings. (#91)
2019-05-30 18:27:10 +02:00
Julián Bermúdez Ortega a9b08a3c70 Time synchronization [5170] (#87)
* Refs #5171. Add TIMESTAMP and TIMESTAMP_REPLY types.

* Refs #5171. Modify ReadSpeficiation type.

* Refs #5171. Modify CLIENT_Representation and AGENT_Representation payload.

* Refs #5172. Implement read_submessage_timestamp_reply in session.

* Refs #5172. Implement on_time function callback in session.

* Refs #5172. Implement process_timestamp_reply in session.

* Refs #5172. Implement time synchronization protocol.

* Refs #5172. Modify synchronization protocol.

* Refs #5172. Document time synchronization API.

* Refs #5172. Make unitary test compatible with new types and add sync time tests.

* Refs #5172. Fix Windows errors.

* Refs #5170. Attend pull request comments.
2019-05-30 12:22:04 +02:00
Luis Enrique Muñoz Martín aadd447ecb Discovery simplified [4739] (#76)
* Discovery simplified.

* Modified according to PR.
2019-04-08 11:49:46 +02:00
Luis Enrique Muñoz Martín b189ea6480 Core unitary tests [4353] (#67)
* Refs #3712. Removed unused profiles.

* Refs #4308. Added submessage unitary tests.

* Refs #4308. Added object_id unitary tests.

* Refs #4308. Added session_info base test.

* Refs 4308. Completed session_info unitary tests. Warnings not fixed yet.

* Refs #4308. Added create delete message size dependency.

* Refactortization removing unnecesary UXR_ prefixes.

* Refs #4326. Added SeqNum tests.

* Refs #4326. Added Input best effort unitary tests.

* Modified define SEQ_NUM_MAX

* Refs #4326. Added Output best effort unitary tests.

* Refs #4326. Added stream_id unitary test.

* Refs #4326. Added common reliable unitary tests

* Refs #4326. Added Input reliable stream tests.

* Refs #4326. Added half of output reliable stream tests.

* Refs #4326. Added output reliable unitary tests.

* Refs #4326. Added stream storage.

* Refs #4417. Added basic scheme for session unitary tests.

* Added create and delete mock messages.

* Refs #4417. Added session tests.

* Refs #4536. Removed warnings from tests.

* Refs #4536. Fixed valgrind issues.

* Refs #4536. Fixed warnings in windows.

* Added COMPOUND_LITERAL macro.

* Fixed windows errors.

* First test PR review.

* Fix compilation error in SessionInfo test.

* Fix undefined symbol errors.

* Fix Windows warnings.

* Fix Windows compile error.
2019-04-08 11:10:01 +02:00
Borja Outerelo 6f949ebfee
Merge branch 'master' into develop 2019-03-15 08:52:12 +01:00
Julián Bermúdez Ortega 6f05fcccab Refs #4932. Adapt to Fast RTPS release 1.7.2. (#81) 2019-03-14 17:41:48 +01:00
Luis Enrique Muñoz Martín 70ac238892 Feature/removed profiles (#70)
* Refs #3712. Removed unused profiles.

* Refs #3712. Adapt memory test to removed profiles.
2019-01-24 07:32:33 +01:00
Luis Enrique Muñoz Martín 6b60c10373 Feature/standard data (#63)
* Refs #3588. Removed size from topic data.

* Refs #3588. Removed SIGPIPE handle for Nuttx.

* Refs #3588. Modified NuttX toolchain.

* Refs #3588. Added C++ compiler to NuttX toolchain.

* Refs #3588. Added PLATFORM_NAME to nuttx toolchain.

* Refs #3588. Removed SIGPIPE handle for NuttX.

* Refs #3588. Fixed Cross Serializaction test.
2019-01-18 12:09:24 +01:00
Luis Enrique Muñoz Martín ae0115574e Feature/input fragmentation (#59)
* First approach.

* Refs #3805. Added fragmentation info.

* Refs #3805. Finish first approach of input fragmentation.

* Modified variable name.

* Updated MicroCDR.

* Add checking of status agent at creates and delete session.

* Refs #3805. Fix bug at input reliable buffer.

* Fix a issue with the client mtu at client session.

* Refs #3806. Fix close session issue.

* Refs #4154. Fixed issue with write access and fragmentation.

* Refs #4154. Fixed issue in output reliable buffer.

* Refs #4154. Refactored reliable stream buffers.

* Refs #4154. First test passed.

* Refs #4154. 1 fragment test working properly.

* Refs #4154. Fixed bug at output reliable buffer related to fragmentation.

* Refs #4154. Fixed buf at output reliable buffer with several fragments.

* Refs #4154. Fixed integration bug when the fragmentation is higher than two.

* Refs #4154. Fixed log bugs.

* Refs #4154. Submessage and logs modifications.

* Refs #4154. Fixed bug at loss with fragmentation.

* Refs #4154. Fixed buf at status agent.

* Refs #4284. Changes of review.

* Protected discovery test from other agents in the same multicast address.
2019-01-04 13:03:34 +01:00
Julián Bermúdez Ortega c862f404b5 ACKNACK and HEARTBEAT modifications (#58)
* Refs #4034. Added stream_id member to ACKNACKs and HEARTBEATs.

* Refs #4034. Adapted message processing to new ACKNACK and HEARTBEAT submessage payloads.

* Refs #4034. Modified cross_serialization test for new ACKNACK and HEARTBEAT submessages.

* Refs #4034. Moved ACKNACK and HEARTBEAT serialization from Streams to Session.
2018-12-12 15:58:36 +01:00
Luis Enrique Muñoz Martín f37d0d49b8 Added internal message fragmentation to output reliable stream. (#56)
* Refs #3773. Refactored and removed submessage concept from streams.

* Refs #3804. First approach.

* Refs #3804. Compile output fragment

* Refs #3804. Fixed bug at normal output streaming behaviour.

* Refs #3804. All submessages stored in streams with a size aligned to submessage.

* Refs #3804. Fixed session prepare function issue and reorganized

* Refs #3804. Finished output fragment. First approach.

* Refs #3804. Updated log.

* Refs #3806. Added support for fragment integration test.

* Refs #3804. Minor changes.

* Refs #3594. Splited integration tests

* Refs #3594. Fix bug at discovery tests.

* Changes for accept PR

* Updated submodule to new accepted microcdr version of fragmentation

* Refs #3804. Fixed check at output reliable buffer

Co-Authored-By: lemunozm <lemunozm@gmail.com>
2018-12-12 08:07:35 +01:00
Luis Enrique Muñoz Martín afeefba28d Feature/mb to ub (#47)
* Refs #3617. Added return errro to ShapesDemo example

* Refs #3623. Modified mb by ub in ucdrBuffer variables.

* Refs #3623. Updated Micro CDR.
2018-11-15 09:01:55 +01:00
Luis Enrique Muñoz Martín 1f06fb039d Refs #3631. Added status callback check. (#45) 2018-11-15 07:50:49 +01:00
Julián Bermúdez Ortega fa43d8ebdd Release review (#41)
* Solved CMake configuration in Windows.

* Solved defined problems from transport disables.

* Solved UDP and TCP header erros.

* Refs 3599. Reviewed CMake platform selection and adapted memory consumption test.

* Refs #3599. Changed CMake configuration files and updated Micro CDR.

* Updated MicroCDR

* Refs #3599. Added data dir to CMake config file and updated Micro CDR.

* Added transport internal files for internal symbols.

* Added integration test to windows

* Refs 3599. Updated Micro CDR.

* Fixed image

* Refs 3599. Attended pull request comments.
2018-10-31 11:25:29 +01:00
Luis Enrique Muñoz Martín e67f981e22 Fixed 'chosen' word (#37) 2018-10-19 12:16:34 +02:00
Luis Enrique Muñoz Martín b3b4f67f3e Test/streams (#21)
* Fixed integration issue.

* Refs #3233. Modified and completed output best effort tests.

* Refs #3233. Added input best effort stream test.

* Refs #3233. Fix input best effort test.

* Refs #3233. Updated test with the recent API version.

* First attempt OutputReliable.

* Refs #3233. Compile test without linking client library.

* Fixed memory leak and windows warnings
2018-10-19 11:16:59 +02:00
Julián Bermúdez Ortega 55ffd58028 Transport review (#35)
* Refs #3441. Added API strucure and examples.

* Refs #3446. First approach.

* Refs #3446. Make basic discovery implementation.

* Refs #3446. Added header parse

* Refs #3446. Adapted to rebase develop changes.

* Generic ip initialization udp. Reduce stack at udp connection.

* Completed funtionality of discovery. It is necessary a great build system mode for the transport OS dependent.

* Refs #3446 Added build system.

* Refs #3446. Fixed bug at serialization GET INFO message. Updated log for discovery.

* Refs #3446. Modified array to IP address convertion.

* Slight changes

* Post rebase changes.

* Refs #3447. Updated Cross serlization tests to support discovery messages.

* Refs #3441. Change API.

* Refs #3447. Added integration test. First approach.

* Addapt integration test with new xml representation.

* Refs #3551. Added support for TCP in interaction test.

* Default create/delete session attempts reduced.

* Refs #3447. Modified discovery examples

* Refs #3447. Added ref integration tests.

* Discretize transport by parameter.

* Refs #3447. Updated with changes in develop

* Fixed bug at info cross_serialization test.

* Refs #3447. Updated discovery integration test.

* Modified xml of integration test to fix bug.

* Add reuse addr to tcp transport.

* Refs #3526. Refactor input serial transport.

* Refs #3526. Refactor output serial transport.

* Refs #3526. Added new serial tests.

* Refs #3550. Refactor Serial transport stack and modified transport folders.

* Refs #3526. Simplified Serial transport protocol.

* Refs #3526. Solved rebase conflicts.

* Refs #3550. Refactor TCP transport stack.

* Refs #3550. Refactor UDP transport stack.

* Refs #3550. Moved main Serial transport functions.

* Refs #3550. Added simple error management.

* Updated and fixed deployment example.
2018-10-19 09:25:48 +02:00
Luis Enrique Muñoz Martín 8161a24368 api change: configure -> create at some functions. (#34) 2018-10-17 14:12:14 +02:00