#pragma once #include #include #define WIFI_QR_SIDE 64 #define WIFI_QR_BYTES (WIFI_QR_SIDE * WIFI_QR_SIDE / 8) // Standard WIFI: WPA join payload, rendered as SSD1306 page-order pixels. // Bright background, dark modules, integer scaling and >=4-module quiet zone. // Called only when credentials change, never from the radio task. bool wifi_qr_bitmap(const char *ssid, const char *password, uint8_t out[WIFI_QR_BYTES]);