Files
StackChan/firmware/main/hal/utils/secret_logic/secret_logic.cpp
T
2026-03-25 11:11:14 +08:00

26 lines
478 B
C++

/*
* SPDX-FileCopyrightText: 2026 M5Stack Technology CO LTD
*
* SPDX-License-Identifier: MIT
*/
#include "secret_logic.h"
namespace secret_logic {
__attribute__((weak)) std::string get_server_url()
{
return "http://localhost:3000";
}
__attribute__((weak)) std::string generate_auth_token()
{
return "hi-stack-chan";
}
__attribute__((weak)) std::string generate_handshake_token(std::string_view data)
{
return "hi-stack-chan";
}
} // namespace secret_logic