Add repeater protocol and device firmware features
This commit is contained in:
@@ -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]);
|
||||
Reference in New Issue
Block a user