本文へ移動
cccskills
無料GitHub で公開

connectivity-ip

IP networking fundamentals for Zephyr RTOS. Covers IoT protocol selection (LwM2M, CoAP, MQTT), IP stack configuration and trimming (IPv4/IPv6, UDP/TCP), and professional SDK integration as Zephyr modules using West manifests. Trigger when building cloud-connected applications, optimizing network memory usage, or integrating external cloud SDKs.

インストール方法を見る

含まれるファイル(7)

  • SKILL.md3.0 KB
  • assets/prj_minimal_coap.conf274 B
  • references/ip_stack_config.md1.4 KB
  • references/protocol_selection.md2.0 KB
  • references/sdk_module_integration.md1.5 KB
  • scripts/net_config_audit.py2.2 KB
  • skill-meta.yaml529 B

SKILL.md(原文)

インストールする前に、エージェントに与えられる指示の中身を確認できます。

Zephyr Connectivity: IP Networking

Build memory-efficient, cloud-connected applications using Zephyr's modular IP stack and industry-standard IoT protocols.

Core Workflows

1. Protocol Selection

Choose the right protocol (LwM2M, CoAP, MQTT) based on your device's power and management needs.

2. IP Stack Configuration

Tune the networking stack to save Flash and RAM while ensuring reliable communication.

  • Reference: ip_stack_config.md
  • Key Tools: CONFIG_NET_IPV4, CONFIG_NET_BUF_RX_COUNT, DNS resolver.

3. SDK & Module Integration

Integrate external cloud SDKs and libraries as first-class Zephyr modules.

Quick Start (Kconfig for CoAP)

# Minimal stack for CoAP over UDP
CONFIG_NETWORKING=y
CONFIG_NET_UDP=y
CONFIG_NET_IPV4=y
CONFIG_COAP=y
CONFIG_DNS_RESOLVER=y

Professional Patterns (Cloud Connectivity)

  • Extreme Trimming: Disable TCP and IPv6 if not strictly required to reclaim 10KB+ of RAM.
  • Manifest Control: Use an allow-list in your west.yml to prevent cloning hundreds of megabytes of unused vendor modules.
  • Async DNS: Use the asynchronous DNS resolver to prevent blocking the main application thread during host lookup.

Automation Tools

Examples & Templates

Validation Checklist

  • Device obtains network connectivity and resolves DNS for the configured backend.
  • Selected protocol path (CoAP, MQTT, or LwM2M) completes connect and message exchange.
  • Disabled stack features (for example IPv6 or TCP) are absent from final .config when trimmed.
  • RAM/Flash footprint meets the expected optimization target after stack tuning.

Resources

  • References:
    • protocol_selection.md: LwM2M vs CoAP vs MQTT.
    • ip_stack_config.md: Optimizing buffers and disabling unused protocols.
    • sdk_module_integration.md: West manifest management and SDK modules.
  • Scripts:
    • net_config_audit.py: Quick audit helper for IP stack Kconfig flags.
  • Assets:
    • prj_minimal_coap.conf: Baseline minimal IP profile template.

レビュー

まだレビューはありません。使ってみた感想をお寄せください。

同じリポジトリのスキル

概要と使いどころ

Custom board bringup for Zephyr RTOS using Hardware Model v2 (HWMv2). Covers directory structure, board.yml metadata, core configuration files (Kconfig, defconfig, CMake), and revision management. Trigger when creating new board definitions or porting Zephyr to custom hardware.

日本語の概要は準備中です。原文の説明を表示しています。

beriberikix/zephyr-agent-skills692026年5月19日 更新

Build system management for Zephyr RTOS. Covers West workspace initialization, manifest management, Sysbuild multi-image builds, Kconfig symbols, and CMake integration. Trigger when setting up workspaces, configuring builds, or troubleshooting build-time errors.

日本語の概要は準備中です。原文の説明を表示しています。

beriberikix/zephyr-agent-skills692026年5月19日 更新

Bluetooth Low Energy (BLE) integration for Zephyr RTOS. Covers GATT Services/Characteristics, GAP advertising, connection parameters, power optimization strategies, and the professional Send-When-Idle design pattern. Trigger when adding BLE connectivity, optimizing battery life for wireless devices, or implementing custom GATT profiles.

日本語の概要は準備中です。原文の説明を表示しています。

beriberikix/zephyr-agent-skills692026年5月19日 更新

USB and CAN connectivity for Zephyr RTOS. Covers USB device stack configuration (CDC ACM, HID, MSC), CAN controller integration, and professional USB-to-CAN adapter patterns including buffering and protocol packetization. Trigger when adding USB interfaces, implementing CAN bus communication, or building hardware diagnostic tools.

日本語の概要は準備中です。原文の説明を表示しています。

beriberikix/zephyr-agent-skills692026年5月19日 更新

Devicetree management for Zephyr RTOS. Covers syntax, bindings, overlays, Hardware Model v2 (HWMv2), and advanced node/property deletion patterns. Trigger when defining hardware topology, creating overlays, or mapping pins and peripherals.

日本語の概要は準備中です。原文の説明を表示しています。

beriberikix/zephyr-agent-skills692026年5月19日 更新

Hardware interfacing and peripheral management for Zephyr RTOS. Covers the sensor subsystem (channels, triggers, fetch/get), pin control (Pinctrl) and multiplexing, GPIO management using Devicetree specs, and SoC-level hardware configurations. Trigger when adding new hardware components, configuring pinmux, or developing sensor-based applications.

日本語の概要は準備中です。原文の説明を表示しています。

beriberikix/zephyr-agent-skills692026年5月19日 更新

beriberikix のスキルをすべて見る

このスキルの問題を報告する