feat: add MQTT repeater support, web config panel, and EastMesh-specific firmware workflows

This commit is contained in:
Jared Dohrman
2026-04-09 15:00:53 +10:00
parent 2ab5f5128f
commit 98fe78a379
27 changed files with 3412 additions and 103 deletions
+18
View File
@@ -0,0 +1,18 @@
#pragma once
#ifdef WITH_MQTT_UPLINK
#include <Arduino.h>
#include <Identity.h>
class JWTHelper {
public:
static bool createAuthToken(const mesh::LocalIdentity& identity, const char* audience, time_t issued_at,
time_t expires_at, char* token, size_t token_size, const char* owner = nullptr,
const char* email = nullptr);
private:
static size_t base64UrlEncode(const uint8_t* input, size_t input_len, char* output, size_t output_size);
};
#endif