-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
8 changed files
with
97 additions
and
57 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,28 +1,40 @@ | ||
[global] | ||
root_path_unix = '/tmp/iceoryx2/' | ||
root_path_windows = 'c:\Temp\iceoryx2\' | ||
root-path-unix = '/tmp/iceoryx2/' | ||
root-path-windows = 'c:\Temp\iceoryx2\' | ||
prefix = 'iox2_' | ||
|
||
[global.node] | ||
directory = 'nodes' | ||
monitor-suffix = '.node_monitor' | ||
static-config-suffix = '.details' | ||
service-tag-suffix = '.service_tag' | ||
cleanup-dead-nodes-on-creation = true | ||
cleanup-dead-nodes-on-destruction = true | ||
|
||
[global.service] | ||
directory = 'services' | ||
publisher_data_segment_suffix = '.publisher_data' | ||
static_config_storage_suffix = '.service' | ||
dynamic_config_storage_suffix = '.dynamic' | ||
connection_suffix = '.connection' | ||
creation_timeout.secs = 0 | ||
creation_timeout.nanos = 500000000 | ||
publisher-data-segment-suffix = '.publisher_data' | ||
static-config-storage-suffix = '.service' | ||
dynamic-config-storage-suffix = '.dynamic' | ||
event-connection-suffix = '.event' | ||
connection-suffix = '.connection' | ||
creation-timeout.secs = 0 | ||
creation-timeout.nanos = 500000000 | ||
|
||
[defaults.publish_subscribe] | ||
max_subscribers = 8 | ||
max_publishers = 2 | ||
publisher_history_size = 1 | ||
subscriber_max_buffer_size = 2 | ||
subscriber_max_borrowed_samples = 2 | ||
publisher_max_loaned_samples = 2 | ||
enable_safe_overflow = true | ||
unable_to_deliver_strategy = 'block' # or 'discard_sample' | ||
[defaults.publish-subscribe] | ||
max-subscribers = 8 | ||
max-publishers = 2 | ||
max-nodes = 20 | ||
publisher-history-size = 1 | ||
subscriber-max-buffer-size = 2 | ||
subscriber-max-borrowed-samples = 2 | ||
publisher-max-loaned-samples = 2 | ||
enable-safe-overflow = true | ||
unable-to-deliver-strategy = 'Block' # or 'DiscardSample' | ||
subscriber-expired-connection-buffer = 128 | ||
|
||
[defaults.event] | ||
max_listeners = 2 | ||
max_notifiers = 16 | ||
event_id_max_value = 32 | ||
max-listeners = 2 | ||
max-notifiers = 16 | ||
max-nodes = 36 | ||
event-id-max-value = 32 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
// Copyright (c) 2024 Contributors to the Eclipse Foundation | ||
// | ||
// See the NOTICE file(s) distributed with this work for additional | ||
// information regarding copyright ownership. | ||
// | ||
// This program and the accompanying materials are made available under the | ||
// terms of the Apache Software License 2.0 which is available at | ||
// https://www.apache.org/licenses/LICENSE-2.0, or the MIT license | ||
// which is available at https://opensource.org/licenses/MIT. | ||
// | ||
// SPDX-License-Identifier: Apache-2.0 OR MIT | ||
|
||
#[derive(Default, Debug)] | ||
#[repr(C)] | ||
pub struct CustomHeader { | ||
pub version: i32, | ||
pub timestamp: u64, | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,15 @@ | ||
// #[macro_use] extern crate cli_log; | ||
|
||
pub mod custom_header; | ||
pub mod transmission_data; | ||
pub mod zenoh_lib; | ||
pub mod settings; | ||
// mod build; | ||
// #[cfg(unix)] | ||
// pub mod filesystems; | ||
|
||
|
||
// #[cfg(unix)] | ||
// pub mod net; | ||
// pub mod net; | ||
// mod transmission_data; | ||
pub use custom_header::CustomHeader; | ||
pub use transmission_data::TransmissionData; |