zephyr-netbuf

Community

Master Zephyr's net_buf subsystem for efficient data handling.

Authorksachdeva
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Facilitates comprehensive understanding and effective utilization of Zephyr's net_buf memory management library to optimize networking, Bluetooth, and USB data handling.

Core Features & Use Cases

  • Pool Management: Guides creation and configuration of buffer pools with fixed or variable sizes for different application scenarios.
  • Buffer Lifecycle: Details allocation, reference counting, resetting, and freeing of net_buf structures to ensure proper memory management.
  • Data Operations: Explains methods for adding, removing, pushing, and pulling data within buffers, handling endian conversions, and managing fragment chains.
  • Fragmentation Handling: Covers chain creation, traversal, linearization, and chain manipulation for large or segmented packets.
  • Application Examples: Demonstrates constructing network packets, reassembling received fragments, and protocol parsing strategies.

Quick Start

Learn how to allocate buffers, manipulate data efficiently, and manage fragmented data structures within Zephyr's net_buf framework.

Dependency Matrix

Required Modules

None required

Components

references/api.mdreferences/fragmentation.mdreferences/operations.md

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: zephyr-netbuf
Download link: https://github.com/ksachdeva/zephyr-rtos-ai/archive/main.zip#zephyr-netbuf

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.