espressif/rmaker_work_queue

1.0.0

Latest
uploaded 8 hours ago
ESP RainMaker firmware agent - Work Queue component

Readme

# rmaker_work_queue

Dedicated-thread work queue for ESP RainMaker: queue callbacks to run sequentially on a single worker task.

## Overview

Initialize the queue, optionally start it, then enqueue work with `esp_rmaker_work_queue_add_task()`. Work runs in the worker thread context (not ISR-safe unless documented otherwise for your usage).

## Requirements

- ESP-IDF v5.1 or newer

## Typical flow

1. `esp_rmaker_work_queue_init()`
2. `esp_rmaker_work_queue_start()`
3. Submit work with `esp_rmaker_work_queue_add_task()`
4. `esp_rmaker_work_queue_stop()` then `esp_rmaker_work_queue_deinit()` on shutdown

See `esp_rmaker_work_queue.h` for full API.

## Dependencies

None beyond ESP-IDF.

Links

Supports all targets

To add this component to your project, run:

idf.py add-dependency "espressif/rmaker_work_queue^1.0.0"

download archive

Stats

  • Archive size
    Archive size ~ 7.29 KB
  • Downloaded in total
    Downloaded in total 0 times
  • Downloaded this version
    This version: 0 times

Badge

espressif/rmaker_work_queue version: 1.0.0
|