Commit Graph

71 Commits

Author SHA1 Message Date
Pablo Garrido 0c75d9edd0
Fix conditional compilation Shapes Demo Windows (#262)
* Fix conditional compilation Shapes Demo Windows

* Update

* Update

* Update
2021-08-25 14:33:36 +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 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 4bb17dc235 Feature/shapesdemo wait (#49)
* Modify shape demo loop

* Refs #3617. Fixed error at delete entity
2018-11-28 14:23:51 +01:00
Luis Enrique Muñoz Martín 818620e816 Example/auto shapes demo (#48)
* Refs #3617. Added return errro to ShapesDemo example

* Minor changes

* Minor changes
2018-11-15 09:03:48 +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
Julián Bermúdez Ortega 037cdfb3d3 Refs #3599. Modified ShapeDemo input check for Windows. (#42) 2018-10-31 17:28:19 +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 8161a24368 api change: configure -> create at some functions. (#34) 2018-10-17 14:12:14 +02:00
Luis Enrique Muñoz Martín 3d5452762a Renamed write_ to buffer_ functions (#29) 2018-10-15 14:47:45 +02:00
Julián Bermúdez Ortega 23326f50a5 Refs #3533. Modified XML representation in examples. (#28) 2018-10-11 15:22:21 +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 8abcf9e868 New write access profile API (#15)
* Refs #3402. Initial API structure.

* Refs #3402. Added generic Write Access Profile

* Changes for acepting pull request github #15.

* Modified generated example code.

* Necessary changes of previous rebase
2018-09-25 08:54:00 +02:00
Julián Bermúdez Ortega 1f30887515 Refs #3139. Added entities creation by reference. (#11)
* Refs #3139. Added entities creation by reference.

* Refs #3139. Added topic creation by reference support.
2018-09-17 08:23:19 +02:00
Ricardo González Moreno 6dee508383
Fixed unitialization on integration tests. 2018-08-07 10:01:41 +02:00
julianbermudez 316e83007c
Renamed UART by Serial transport. 2018-08-07 10:01:40 +02:00
Luis Enrique Muñoz Martín 5104055fb1
Ref #3242. Changes in ShapeDemo help. 2018-08-07 09:59:25 +02:00
Luis Enrique Muñoz Martín 8cf79d44e1
Refactor to simplify the request id and login logout logic.
Refactor request_id core

request id refactow without warnings

Minor changes
2018-08-07 09:59:21 +02:00
Ricardo González Moreno 2158bbacc6
Fixed bug in shapes demos. 2018-08-07 09:58:32 +02:00
Luis Enrique Muñoz Martín b137a75691
#3147. Added --key option to shape demo test. 2018-08-07 09:58:31 +02:00
Luis Enrique Muñoz Martín 906a139c95
#3147. Changed some SeqNum define, ShapeDemo help, misra comparations. 2018-08-07 09:58:31 +02:00
Ricardo González 8dfc3c7c06
Fixing compilation errors on windows. 2018-08-07 09:58:31 +02:00
Luis Enrique Muñoz Martín 960ef521a5
#3147. Fixed xml error. 2018-08-07 09:58:31 +02:00
Luis Enrique Muñoz Martín fd4f95b413
#3153. Modified examples with close transport and generate code API cahnges. 2018-08-07 09:58:31 +02:00
Luis Enrique Muñoz Martín 4db8dda5fb
#3147. Add MTUs to client.config file. Modify Examples. 2018-08-07 09:58:30 +02:00
Luis Enrique Muñoz Martín 931fb1f98d
#3147. Clear create entities profiles. Addapt examples. 2018-08-07 09:58:29 +02:00
Luis Enrique Muñoz Martín 72e4c148d7
#3147. Minnor changes in examples. 2018-08-07 09:58:29 +02:00
Luis Enrique Muñoz Martín 6a81e9470a
#3144. Removed typdef fastforward declaration. 2018-08-07 09:58:29 +02:00
Luis Enrique Muñoz Martín e9333c5c2e
#3147. Changed examples. Add prefix to transport. 2018-08-07 09:58:29 +02:00
Luis Enrique Muñoz Martín 6d232d0cf7
#3147. Read data with two API modes. #3144. Shape demo changes. 2018-08-07 09:58:28 +02:00
Luis Enrique Muñoz Martín 05bf18655a
#3188. Modify examples with prefix. 2018-08-07 09:58:28 +02:00
Luis Enrique Muñoz Martín 63ef97e95f
#3188. User necessary names changed. 2018-08-07 09:58:28 +02:00
Luis Enrique Muñoz Martín 0e1dc3a351
#3144. Minor changes. 2018-08-07 09:58:28 +02:00
Luis Enrique Muñoz Martín 7279764530
Added reset streams functionality. 2018-08-07 09:58:27 +02:00
Luis Enrique Muñoz Martín 5f0762e644
#3144. Minor core changes. Updated Examples. 2018-08-07 09:58:27 +02:00
Luis Enrique Muñoz Martín ff89347757
#3144. Modify examples and session login API 2018-08-07 09:58:27 +02:00
Luis Enrique Muñoz Martín c8d93b4251
#3145. Modified examples with Write Access profile. 2018-08-07 09:57:58 +02:00
Luis Enrique Muñoz Martín 648a5dca72
#3145. Modified topics in examples. 2018-08-07 09:57:58 +02:00
Luis Enrique Muñoz Martín 62d0972179
#3065. Finish publisher example. Clean include dependences. 2018-08-07 09:56:28 +02:00
Luis Enrique Muñoz Martín 5620488dbb
#3144. Slight changes. Update for sequence serialization. 2018-08-07 09:55:57 +02:00
Luis Enrique Muñoz Martín fc48cdc460
#3144. Added mtu to Comm. Modified Shape demo. Fixed bugs. 2018-08-07 09:55:57 +02:00
Luis Enrique Muñoz Martín a257385dba
#3066. Fix bugs. 2018-08-07 09:55:56 +02:00
Luis Enrique Muñoz Martín dd4cc19c26
Changes in run_session 2018-08-07 09:55:56 +02:00
julianbermudez a1299aa2b1 Refs #3109. Fixed stream id condition and tabs. 2018-06-29 10:44:51 +02:00
Luis Enrique Muñoz Martín 3830e23bcc Refs #2832. Updated help message of ShapeDemo. 2018-05-11 07:33:51 +02:00
julianbermudez f28ed979e0 Refs #2870. Fixed Windows warnings. 2018-05-10 15:21:55 +02:00
Luis Enrique Muñoz Martín b74fd5a121 Refs #2832. update examples. 2018-05-10 15:21:55 +02:00