/Zephyr-latest/include/zephyr/net/ |
D | ethernet_bridge.h | 2 * @brief Ethernet Bridge public header file 13 * SPDX-License-Identifier: Apache-2.0 19 #include <zephyr/sys/slist.h> 20 #include <zephyr/sys/iterable_sections.h> 47 /* The actual bridge virtual interface */ 56 /* Bridge instance id */ 59 /* Is the bridge interface initialized */ 62 /* Has user configured the bridge */ 72 * @brief Add an Ethernet network interface to a bridge 74 * This adds a network interface to a bridge. The interface is then put [all …]
|
/Zephyr-latest/subsys/net/l2/ethernet/ |
D | bridge_shell.c | 4 * SPDX-License-Identifier: Apache-2.0 7 #include <stdlib.h> 8 #include <zephyr/shell/shell.h> 9 #include <zephyr/net/net_if.h> 10 #include <zephyr/net/ethernet.h> 11 #include <zephyr/net/ethernet_bridge.h> 12 #include <zephyr/sys/slist.h> 22 return -ENOENT; in get_idx() 41 shell_warn(sh, "Bridge %d not found\n", br_idx); in cmd_bridge_addif() 42 return -ENOENT; in cmd_bridge_addif() [all …]
|
D | bridge.c | 5 * SPDX-License-Identifier: Apache-2.0 8 #include <zephyr/logging/log.h> 11 #include <zephyr/net/net_core.h> 12 #include <zephyr/net/net_l2.h> 13 #include <zephyr/net/net_if.h> 14 #include <zephyr/net/virtual.h> 15 #include <zephyr/net/ethernet.h> 16 #include <zephyr/net/ethernet_bridge.h> 17 #include <zephyr/sys/slist.h> 18 #include <zephyr/random/random.h> [all …]
|
D | CMakeLists.txt | 1 # SPDX-License-Identifier: Apache-2.0 4 ${ZEPHYR_BASE}/include/zephyr/net/ethernet.h 22 zephyr_library_sources_ifdef(CONFIG_NET_ETHERNET_BRIDGE bridge.c)
|
D | ethernet.c | 2 * Copyright (c) 2016-2018 Intel Corporation. 4 * SPDX-License-Identifier: Apache-2.0 7 #include <zephyr/logging/log.h> 10 #include <zephyr/net/net_core.h> 11 #include <zephyr/net/net_l2.h> 12 #include <zephyr/net/net_if.h> 13 #include <zephyr/net/net_mgmt.h> 14 #include <zephyr/net/ethernet.h> 15 #include <zephyr/net/ethernet_mgmt.h> 16 #include <zephyr/net/gptp.h> [all …]
|
/Zephyr-latest/include/zephyr/dt-bindings/gpio/ |
D | digilent-pmod.h | 3 * SPDX-License-Identifier: Apache-2.0 17 * cs-gpios = <&pmod0 PMOD_SPI_CS GPIO_ACTIVE_LOW>; 19 * example_device: example-dev@0 { 20 * compatible = "vnd,spi-device"; 32 * https://digilent.com/reference/_media/reference/pmod/pmod-interface-specification-1_2_0.pdf 43 #define PMOD_IO(n) ((n) - 1) 135 /* H-bridge */ 139 * Used with Pmod Interface Type 4 (H-bridge) peripherals. 145 * Used with Pmod Interface Type 4 (H-bridge) peripherals. 149 /* Dual H-bridge */ [all …]
|
/Zephyr-latest/tests/net/bridge/src/ |
D | main.c | 5 * SPDX-License-Identifier: Apache-2.0 10 #include <zephyr/logging/log.h> 13 #include <zephyr/types.h> 14 #include <stdbool.h> 15 #include <stddef.h> 16 #include <string.h> 17 #include <errno.h> 18 #include <zephyr/sys/printk.h> 20 #include <zephyr/ztest.h> 22 #include <zephyr/net/net_if.h> [all …]
|
/Zephyr-latest/include/zephyr/bluetooth/mesh/ |
D | brg_cfg_srv.h | 4 * SPDX-License-Identifier: Apache-2.0 8 * @brief Bluetooth Mesh Bridge Configuration Server Model APIs. 13 #include <zephyr/bluetooth/mesh/brg_cfg.h> 20 * @defgroup bt_mesh_brg_cfg_srv Bridge Configuration Server Model 23 * @brief API for the Bluetooth Mesh Bridge Configuration Server model 28 * @brief Bridge Configuration Server model Composition Data entry.
|
D | brg_cfg_cli.h | 4 * SPDX-License-Identifier: Apache-2.0 10 #include <zephyr/bluetooth/mesh/brg_cfg.h> 17 * @defgroup bt_mesh_brg_cfg_cli Bridge Configuration Client Model 20 * @brief API for the Bluetooth Mesh Bridge Configuration Client model 26 * @brief Bridge Configuration Client model Composition Data entry. 34 /** Mesh Bridge Configuration Client Status messages callback */ 36 /** @brief Optional callback for Subnet Bridge Status message. 38 * Handles received Subnet Bridge Status messages from a Bridge 41 * @param cli Bridge Configuration Client context. 50 * Handles received Bridging Table Size Status messages from a Bridge [all …]
|
D | brg_cfg.h | 4 * SPDX-License-Identifier: Apache-2.0 10 #include <stdint.h> 11 #include <stdbool.h> 18 * @defgroup bt_mesh_brg_cfg Bridge Configuration common header 23 /** Subnet Bridge states */ 25 /** Subnet bridge functionality is disabled. */ 27 /** Subnet bridge state functionality is enabled. */
|
/Zephyr-latest/boards/shields/x_nucleo_eeprma2/ |
D | x_nucleo_eeprma2.overlay | 4 * SPDX-License-Identifier: Apache-2.0 7 #include <freq.h> 8 #include <mem.h> 12 eeprom-0 = &eeprom0_x_nucleo_eeprma2; 13 eeprom-1 = &eeprom4_x_nucleo_eeprma2; 19 clock-frequency = <I2C_BITRATE_FAST>; 22 /* M24C02-FMC6TG aka U1 (2 kbit eeprom in DFN8 package) */ 27 address-width = <8>; 30 /* if solder-bridge closed: arduino A1 pin on CN8 can wp */ 31 /* wp-gpios = <&arduino_header 1 GPIO_ACTIVE_LOW>; */ [all …]
|
/Zephyr-latest/drivers/gpio/ |
D | gpio_sc18im704.c | 4 * SPDX-License-Identifier: Apache-2.0 9 #include <errno.h> 10 #include <zephyr/kernel.h> 11 #include <zephyr/device.h> 12 #include <zephyr/init.h> 13 #include <zephyr/drivers/gpio.h> 14 #include <zephyr/drivers/gpio/gpio_utils.h> 16 #include <zephyr/logging/log.h> 19 #include "i2c/i2c_sc18im704.h" 35 const struct device *bridge; member [all …]
|
/Zephyr-latest/samples/subsys/zbus/uart_bridge/src/ |
D | bridge.c | 3 * SPDX-License-Identifier: Apache-2.0 5 #include "messages.h" 7 #include <string.h> 9 #include <zephyr/device.h> 10 #include <zephyr/drivers/uart.h> 11 #include <zephyr/kernel.h> 12 #include <zephyr/logging/log.h> 13 #include <zephyr/zbus/zbus.h> 31 LOG_DBG("Bridge Started"); in bridge_tx_thread() 44 /* true here means the package was published by the bridge and must in bridge_tx_thread() [all …]
|
/Zephyr-latest/tests/bsim/bluetooth/mesh/src/ |
D | test_brg.c | 4 * SPDX-License-Identifier: Apache-2.0 6 * Subnet bridge test 9 #include "mesh_test.h" 10 #include <zephyr/bluetooth/mesh.h> 11 #include "mesh/net.h" 12 #include "mesh/keys.h" 13 #include "mesh/va.h" 14 #include "bsim_args_runner.h" 15 #include "common/bt_str.h" 17 #include <zephyr/logging/log.h> [all …]
|
/Zephyr-latest/drivers/fpga/ |
D | fpga_altera_agilex_bridge.c | 4 * SPDX-License-Identifier: Apache-2.0 9 #include <errno.h> 10 #include <zephyr/device.h> 11 #include <zephyr/sip_svc/sip_svc.h> 12 #include <zephyr/drivers/sip_svc/sip_svc_agilex_smc.h> 13 #include <zephyr/drivers/fpga.h> 14 #include <zephyr/logging/log.h> 15 #include "fpga_altera_agilex_bridge.h" 37 return -ENODEV; in svc_client_open() 40 struct fpga_bridge_dev_data *const data = (struct fpga_bridge_dev_data *const)(dev->data); in svc_client_open() [all …]
|
/Zephyr-latest/tests/subsys/modem/mock/ |
D | modem_backend_mock.c | 4 * SPDX-License-Identifier: Apache-2.0 7 #include "modem_backend_mock.h" 9 #include <string.h> 15 modem_pipe_notify_opened(&mock->pipe); in modem_backend_mock_open() 22 if (mock->transaction == NULL) { in modem_backend_mock_update() 27 __ASSERT(buf[i] == mock->transaction->get[mock->transaction_match_cnt], in modem_backend_mock_update() 30 mock->transaction_match_cnt++; in modem_backend_mock_update() 31 if (mock->transaction_match_cnt == mock->transaction->get_size) { in modem_backend_mock_update() 44 size = (mock->limit < size) ? mock->limit : size; in modem_backend_mock_transmit() 46 if (mock->bridge) { in modem_backend_mock_transmit() [all …]
|
D | modem_backend_mock.h | 4 * SPDX-License-Identifier: Apache-2.0 7 #include <zephyr/modem/pipe.h> 8 #include <zephyr/kernel.h> 9 #include <zephyr/sys/ring_buffer.h> 39 struct modem_backend_mock *bridge; member
|
/Zephyr-latest/drivers/stepper/ |
D | Kconfig.gpio | 1 # SPDX-FileCopyrightText: Copyright (c) 2024 Carl Zeiss Meditec AG 2 # SPDX-FileCopyrightText: Copyright (c) 2024 Jilay Sandeep Pandya 3 # SPDX-License-Identifier: Apache-2.0 12 GPIO Stepper driver for stepper motor control with darlington arrays or dual H-bridge.
|
/Zephyr-latest/subsys/bluetooth/mesh/shell/ |
D | brg_cfg.c | 4 * SPDX-License-Identifier: Apache-2.0 7 #include <stdlib.h> 8 #include <zephyr/shell/shell.h> 9 #include <zephyr/bluetooth/mesh.h> 10 #include <zephyr/bluetooth/mesh/shell.h> 12 #include "mesh/foundation.h" 13 #include "utils.h" 23 shell_error(sh, "Failed to send Subnet Bridge Get (err %d)", err); in cmd_subnet_bridge_get() 24 return -ENOEXEC; in cmd_subnet_bridge_get() 27 shell_print(sh, "Subnet Bridge State: %s", in cmd_subnet_bridge_get() [all …]
|
/Zephyr-latest/samples/net/mqtt_sn_publisher/compose/ |
D | mosquitto.conf | 50 # Defaults to 'auto-' 51 #auto_id_prefix auto- 71 # maximum. Setting to 1 will guarantee in-order delivery of QoS 1 110 # QoS 1 and 2 messages above those currently in-flight will be queued per 122 # above those that are currently in-flight. Defaults to 1000. Set 146 # do not reconnect within a certain time frame. This is a non-standard option 155 # The expiration period should be an integer followed by one of h d w m y for 169 # start-stop-daemon or similar. 176 # This is a non-standard option for the MQTT v3.1 spec but is allowed in 198 # This is a non-standard option explicitly disallowed by the spec. [all …]
|
/Zephyr-latest/subsys/bluetooth/mesh/ |
D | brg_cfg.c | 4 * SPDX-License-Identifier: Apache-2.0 7 /* Implementation for states of Subnet Bridge feature in Bluetooth Mesh Protocol v1.1 10 #include <errno.h> 11 #include <zephyr/bluetooth/mesh.h> 13 #include "mesh.h" 14 #include "net.h" 15 #include "settings.h" 16 #include "brg_cfg.h" 17 #include "foundation.h" 20 #include <zephyr/logging/log.h> [all …]
|
D | rpl.c | 5 * SPDX-License-Identifier: Apache-2.0 8 #include <zephyr/kernel.h> 9 #include <string.h> 10 #include <errno.h> 11 #include <stdbool.h> 12 #include <stdlib.h> 13 #include <zephyr/sys/atomic.h> 14 #include <zephyr/sys/util.h> 15 #include <zephyr/sys/byteorder.h> 17 #include <zephyr/net_buf.h> [all …]
|
/Zephyr-latest/dts/bindings/stepper/ |
D | zephyr,gpio-stepper.yaml | 1 # SPDX-FileCopyrightText: Copyright (c) 2024 Carl Zeiss Meditec AG 2 # SPDX-FileCopyrightText: Copyright (c) 2024 Jilay Sandeep Pandya 3 # SPDX-License-Identifier: Apache-2.0 6 GPIO Stepper Controller for darlington transistor arrays or dual H-bridge 11 compatible = "zephyr,gpio-stepper"; 18 compatible: "zephyr,gpio-stepper" 20 include: stepper-controller.yaml 24 type: phandle-array
|
/Zephyr-latest/scripts/net/ |
D | README.txt | 1 The shell script run-sample-tests.sh runs selected Zephyr samples against 2 the network test applications Docker container provided by the 'net-tools' 3 Zephyr project, https://github.com/zephyrproject-rtos/net-tools. 10 'net-tools' Docker container has been created, see the first bullet point 11 at the net-tools Docker README file 12 https://github.com/zephyrproject-rtos/net-tools/blob/master/README.docker. 17 * Check out the net-tools project from github or update it with west 18 * Change working directory to the net-tools repository 20 * Run 'docker build -t net-tools .' 22 This creates a Docker image called 'net-tools' which the script will need as [all …]
|
/Zephyr-latest/boards/sipeed/longan_nano/ |
D | longan_nano-common.dtsi | 4 * SPDX-License-Identifier: Apache-2.0 7 #include <zephyr/dt-bindings/input/input-event-codes.h> 8 #include <zephyr/dt-bindings/mipi_dbi/mipi_dbi.h> 13 zephyr,shell-uart = &usart0; 21 compatible = "gpio-leds"; 37 compatible = "gpio-keys"; 46 compatible = "pwm-leds"; 48 /* NOTE: bridge TIMER1_CH1 and LED_GREEN (PA1) */ 53 /* NOTE: bridge TIMER1_CH2 and LED_BLUE (PA2) */ 64 pwm-led0 = &pwm_led_green; [all …]
|