Part 6: Advanced Topics

This section covers debugging, testing, quality assurance, networking, Bluetooth, and power management.

What You’ll Learn

  • Logging, shell, and tracing subsystems
  • Debugging and testing techniques
  • Quality assurance and working without hardware
  • Network stack and socket programming
  • MQTT, CoAP, and HTTP protocols
  • Bluetooth LE and Mesh
  • Power management strategies

Chapters

Debugging, Testing & Quality

| Chapter | Description | |———|————-| | Logging | Logging subsystem, log levels, APIs, backends | | Shell | Interactive shell, built-in and custom commands | | Tracing | CTF, SystemView, performance analysis | | Debugging | GDB, fault handling, memory debugging | | Testing | Twister and Ztest | | Quality Assurance | Footprint, static analysis, code coverage, SBOM | | Working without Hardware | QEMU, native_sim, device emulation |

Networking

| Chapter | Description | |———|————-| | Networking Overview | Network stack architecture | | Sockets | TCP/UDP client/server | | MQTT | IoT messaging protocol | | CoAP | Constrained networks | | HTTP | Web client/server | | TLS | Secure communication |

Bluetooth

| Chapter | Description | |———|————-| | BLE Overview | Bluetooth stack | | Advertising | BLE advertising | | Scanning | Central role | | GATT Server | Custom services | | GATT Client | Service discovery | | Mesh | Bluetooth Mesh |

Power Management

| Chapter | Description | |———|————-| | Power Management | PM architecture | | Device PM | Per-device PM |

These advanced topics build on the fundamentals from Parts 1-5.


Table of contents


Back to top

Zephyr RTOS Programming Guide is not affiliated with the Zephyr Project or Linux Foundation. Content is provided for educational purposes.

This site uses Just the Docs, a documentation theme for Jekyll.