#pragma once

#include "esp_err.h"

/**
 * Renders the two-step setup screen onto the e-ink panel: a WiFi-join QR
 * code (with SSID/password also printed as plaintext, for anyone
 * provisioning from a device that can't scan a QR code) and a second QR
 * code linking to the captive portal config page at config_url. Call after
 * epd_init() and before the softAP goes up, so the instructions are
 * already on-screen by the time the network is joinable.
 */
esp_err_t qr_onboarding_show(const char *ssid, const char *password, const char *config_url);
