Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Serial timeout #383

Merged
merged 3 commits into from
Mar 27, 2024
Merged

Serial timeout #383

merged 3 commits into from
Mar 27, 2024

Conversation

vortex314
Copy link
Contributor

Added serial timeout and freertos to espidf.
Succesfull in establishing serial sessions continuously

@eclipse-zenoh-bot
Copy link

@vortex314 If this pull request contains a bugfix or a new feature, then please consider using Closes #ISSUE-NUMBER syntax to link it to an issue.

@vortex314
Copy link
Contributor Author

Peek 2024-03-22 23-02

src/system/espidf/system.c Fixed Show resolved Hide resolved
src/system/espidf/system.c Fixed Show fixed Hide fixed
include/zenoh-pico/system/platform/espidf.h Fixed Show fixed Hide fixed
include/zenoh-pico/system/platform/espidf.h Fixed Show fixed Hide fixed
src/system/espidf/system.c Fixed Show fixed Hide fixed
src/system/espidf/system.c Fixed Show fixed Hide fixed
src/system/espidf/system.c Fixed Show resolved Hide resolved
src/system/espidf/system.c Fixed Show resolved Hide resolved
src/system/espidf/system.c Fixed Show fixed Hide fixed
src/system/espidf/system.c Fixed Show fixed Hide fixed
@jean-roland
Copy link
Contributor

Alright, well seeing that there's only small details that we're more used to handle, I suggest we merge your PR as is and I'll do a small fix PR for the MISRA stuff.

@Mallets Mallets changed the base branch from main to serial_timeout March 27, 2024 09:10
@eclipse-zenoh-bot
Copy link

@vortex314 If this pull request contains a bugfix or a new feature, then please consider using Closes #ISSUE-NUMBER syntax to link it to an issue.

@Mallets
Copy link
Member

Mallets commented Mar 27, 2024

Merging into serial_timeout branch first.
We take care os resolving the conflict and to merge it into main.

@Mallets Mallets changed the base branch from serial_timeout to main March 27, 2024 09:13
@eclipse-zenoh-bot
Copy link

@vortex314 If this pull request contains a bugfix or a new feature, then please consider using Closes #ISSUE-NUMBER syntax to link it to an issue.

@Mallets Mallets merged commit 8e01007 into eclipse-zenoh:main Mar 27, 2024
33 of 50 checks passed
@jean-roland jean-roland mentioned this pull request Mar 27, 2024
@vortex314
Copy link
Contributor Author

Thanks for all the help guys !

@vortex314 vortex314 deleted the serial_timeout branch March 27, 2024 18:33
Mallets added a commit that referenced this pull request Apr 5, 2024
* add support for qos settings in sample

* - silence cpp compiler regading compound literals and type conversions,
- add missing dots in docs

* fix _z_qos_t definition and doc

* fix z_qos_t definition and doc

* - replace binary literals (non-core C) with hexadecimal ones
- replace _z_n_qos_unmake with _z_n_qos_unmake_public in subscription.c

* make _z_n_qos_unmake static inline to prevent linking errors

* fix format

* reduce qos size to 1 byte; use getters to extract individual qos settings

* fix _z_n_qos_make to no longer use compund literals to avoid warnings from zenoh-cpp

* fix z_qos_default() signature

* Add Flipper platform (#351)

* Add Flipper platform

* Fix warnings and other platform builds

* move z_n_qos_t related functions into .c (to hide designated initializers from c++)

* z_sample_t docs update to include qos

* move qos functions back to header and remove usage of designated initializers

* format

* fix: Bump sphinx doc build dep to `7.2.6` (#361)

* replac zp_ prefix for platform functions that are also available in zenoh-c

* fix format

* replace zp_ prefix with z_ for zp_random_u64

* put back previously removed zp_ functions as deprecated

* added missing new line at the end of the file

* typo fix

* move deprecated platform header to a separate folder

* Add config endpoint in raweth locator (#364)

* feat: add ethtype to reth endpoint config

* feat: type renaming

* fix: remove unused macro call

* feat: remove static raweth config

* feat: use defines for separators

* feat: add mapping function

* fix: add default raweth mapping

* feat: add debug traces on raweth config  parsing

* fix: ethtype validity test

* fix: strtok parsing calls

* chore: clang-format

* fix: include first mapping entry in lookup

* fix: appease the tyran codacy

* Fix bug reading from ws (#370)

* Expose timeout option in z_get_options_t (#375)

* Expose timeout option in z_get_options_t

* Add default get timeout

* Align examples and remove reading from stdin (#359)

* Remove reading from stdin, align example implementations

* Update examples tests

* Adjust z_sub_thr output

* Fix z_get single query examples

* Replace pthread uses with z_mutex and z_condvar

* Add multi-thread feature condition to z_get examples

* Update error message for features absence

* Update z_get expected output in modularity test

* Update sample count for freertos single-thread examples

* fix: remove unused variable warning (#379)

* Changing references to zenoh:master to zenoh:main. (#381)

* correct unsigned atomic in refcount.h (#382)

* Fix refcount cast (#384)

* Fix esp32 CI (#386)

* fix: const discard warning

* build: fix platformio dependency check

* Serial timeout (#383)

* correct unsigned atomic in refcount.h

* made espidf freertos compatible with timeout on read

---------

Co-authored-by: Luca Cominardi <luca.cominardi@gmail.com>

* Run clang-format (#388)

* Fix misra violations (#390)

* chore: run clang format

* fix: misra issues

* ci: Allow building zenoh from arbitrary branch in build-check workflow (#389)

* ci: Allow building Zenoh from arbitrary branch in build-check workflow

* Update other jobs

---------

Co-authored-by: OlivierHecart <olivier.hecart@adlinktech.com>

* build: point ci to zenoh protocol_changes branch

* fix: check declare <I> flag at declare level

* fix: missing function prototype warning

* build: switch zenoh branch to interests

* fix: ignore unknown final interest

* fix: missing argument in tigger_local_subs

* fix: add wait join step in z_pub for raweth testing

* fix: raweth memory leaks

* feat: add message number option to z_sub

* fix: null malloc when cloning rc list

* doc: remove obsolete types

* fix: encoding option made fragment test fail

* fix: replace all deprecated system calls

* fix: improve raweth test stability

---------

Co-authored-by: Denis Biryukov <denis.biryukov@zettascale.tech>
Co-authored-by: Alexander <sashacmc@gmail.com>
Co-authored-by: Michael Ilyin <milyin@gmail.com>
Co-authored-by: Mahmoud Mazouz <mazouz.mahmoud@outlook.com>
Co-authored-by: OlivierHecart <olivier@zettascale.tech>
Co-authored-by: Alexander <Alexander@Bushnev.pro>
Co-authored-by: oteffahi <70609372+oteffahi@users.noreply.github.com>
Co-authored-by: Geoff Martin <geoff.martin@zettascale.tech>
Co-authored-by: Lieven <lieven.merckx@gmail.com>
Co-authored-by: Luca Cominardi <luca.cominardi@gmail.com>
Co-authored-by: OlivierHecart <olivier.hecart@adlinktech.com>
@gabrik gabrik added the new feature Something new is needed label Apr 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
new feature Something new is needed
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants