Add repeater protocol and device firmware features

This commit is contained in:
Lars Nolden
2026-09-21 12:30:50 +02:00
parent 73d3ddf00c
commit a11a4b3b89
41 changed files with 7791 additions and 228 deletions
+11
View File
@@ -0,0 +1,11 @@
#pragma once
#include <stdbool.h>
#include <stdint.h>
#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]);