adhuldas/edgecommand

0.1.0

uploaded 2 months ago
Reliable command execution for IoT devices: persistent state, deduplication, execution tracking, timeout handling, cooperative cancellation, and restart recovery. Transport-independent (works with MQTT, HTTP, BLE, serial, or any custom protocol).

4 examples

  • basic
    Demonstrates the minimum steps needed for an EdgeCommand application, including engine initialization and command submission.
    3.26 KB
  • long_running_command
    This example demonstrates progress reporting, cooperative timeout, and cancellation in a single handler across three scenarios.
    3.80 KB
  • persistent_commands
    Demonstrates command records persistence across engine restarts using NVS, ensuring deduplication works after reboot.
    3.62 KB
  • recovery
    This example simulates command recovery during a device restart, demonstrating three different recovery policies.
    4.22 KB