From zephyr-skills
Implements Modbus RTU (serial), Modbus TCP (Ethernet/Wi-Fi), and CANopen protocols on Zephyr RTOS for factory automation controllers, industrial sensors, and medical equipment interfaces.
npx claudepluginhub beriberikix/zephyr-agent-skills --plugin zephyr-moduleThis skill uses the workspace's default tool permissions.
Build robust, industry-standard communication systems using Zephyr's modular industrial protocol stacks.
Implements Zephyr RTOS IoT protocols: OpenThread mesh networking, Matter-over-Thread devices, Golioth Cloud SDK, LoRaWAN basics. For smart home, sensor networks, hardware fleets.
Provides patterns for embedded software development including real-time systems, memory management, hardware abstraction, interrupt handling, and debugging techniques for resource-constrained environments.
Share bugs, ideas, or general feedback.
Build robust, industry-standard communication systems using Zephyr's modular industrial protocol stacks.
Implement serial-based industrial communication for meters, PLCs, and sensors.
CONFIG_MODBUS, RS-485 DE/RE handling, Register Mapping.Bridge industrial data over standard Ethernet or Wi-Fi networks.
Integrate with complex automation networks using the CANopenNode stack.
# prj.conf
CONFIG_MODBUS=y
CONFIG_MODBUS_SERIAL=y
// Initialize a server on a serial device
const struct device *dev = DEVICE_DT_GET(DT_CHOSEN(zephyr_modbus_serial));
struct modbus_iface_param param = {
.mode = MODBUS_MODE_RTU,
.server = { .node_addr = 1, .cb = &my_callbacks },
.serial = { .baud = 115200, .parity = UART_CFG_PARITY_NONE },
};
modbus_init_server(dev, param);
uart-rs485 property to handle transceiver direction signals automatically at the driver level.modbus_rtu.md: Serial Modbus master/slave setup.modbus_tcp.md: Ethernet Modbus client/server patterns.canopen_basics.md: Object Dictionary and PDO mapping.modbus_register_lint.py: Register-map consistency checker.modbus_register_map_template.csv: Register planning template.