Commit Graph

13 Commits

Author SHA1 Message Date
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 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 6e05311441 IPv6 [5367] (#99)
* Refs #5371. Move UDP and TCP transport under IP domain.

* Refs #5371. Update transport documentation comments.

* Refs #5371. Fix IPv6 address management and add UDP/IPv6 support to ShapeDemo example.

* Refs #5371. Fix ShapeDemo example for IPv6 support.

* Refs #5371. Modify get address function in UDP transport.

* Refs #5371. Simplify cmake sources handling.

* Refs #5371. Add ip.h file.

* Refs #5371. Add UDP IPv4 functions.

* Refs #5371. Add IPv6 in UDP transport for Linux.

* Refs #5371. Add IPv6 in TCP transport for Linux.

* Refs #5892. Modify transport init function in UDP and TCP.

* Refs #5892. Fix Windows transport for IPv6.

* Refs #5892. Fix IPv6 Windows errors.

* Refs #5367. Update version to 1.2.0.

* Refs #5367. Fix Windows warnings.
2019-11-21 08:19:28 +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 ec7a0cc6cc Feature/readme examples (#43)
* Refs #3660. Added Publisher and Subscriber readmes.

* Refs #3660. Added deployment README and fixed bug.

* Refs #3660. Added discovery and shapesdemo readmes

* Fixed MicroCDR thirdparty.

* Refs #3660. Updated with pull request comments.
2018-11-05 15:56:31 +01: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 3d5452762a Renamed write_ to buffer_ functions (#29) 2018-10-15 14:47:45 +02:00
Luis Enrique Muñoz Martín 12eaea1d16 Renamed project to MicroXRCE-DDS (#23)
* Refs #3451. Updated MicroCDR prefix.

* Refs #3451. Change name micrortps -> microxrce

* Refs #3451. Change prefix mr_ and MR_

* --amend

* Refs #3451. Modified dll export name

* Refs #3451. Change prefix to types.

* Refs #3451. Updated README

* Refs #3451. Changed library name.

* Refs #3458. Changed private symbols at communication and serialization packages.

* Refs #3458. Changed private symbols at time packages.

* Refs #3458. Refactored streams. Fixed private symbols.

* Refs #3458. Refactored log package. Fixed internal symbols.

* Refs #3458. Refactored seq_num. Fix internal symbols SeqNum ObjectID

* Refs #3458. Refactored stream_id and stream_storage. Fixed internal symbols.

* Refs #3458. Fixed session package symbols.

* Refs #3458. Fixed communication package and util package.

* Refs #3458. Refactor serialization package

* Refs #3458. Fixed internal symbols at session profiles

* Refs #3458. Added external tag to transport.

* Refs #3458. Modified include path

* Refs #3458. Updated define guards

* Refs #3458. Update library name.

* #3451. Updated MicroCDR include path.

* Fixed cmake install

* Updated MicroCDR submodule.

* Fixes linker windows error with logs

* Adapted log to fix windows issue.

* Integration test only for linux.

* Added empty output tests.
2018-10-08 12:20:31 +02:00
Luis Enrique Muñoz Martín 212d8ca9fb Updated with MicroCDR prefix. (#20)
* Refs #3436. Base mc changes.

* Refs #3436. Updated with MicroCDR prefix change.

* Refs #3436. Updated with MicroCDR MicroBuffer name changed (to mcBuffer).

* Refs #3436. Updated MicroCDR fix.

* Refs #3436. Updated MicroCDR submodule.

* Updated MicroCDR thirdparty
2018-09-27 11:25:34 +02:00
Luis Enrique Muñoz Martín 0d4f3d007d Request change at run_session_until_status (#17)
* Request of small API change at run_session_until_status

* Change names from and,or to all,one

* Fixed windows warnings
2018-09-25 16:07:27 +02:00
Luis Enrique Muñoz Martín fc38ec39a5
#3258. Finish deployment examples. 2018-08-07 09:59:25 +02:00
Luis Enrique Muñoz Martín ea3429305e
#3258. Deployment example strucuture. 2018-08-07 09:59:24 +02:00