remove unseed code

This commit is contained in:
gcw_4spBpAfv
2026-04-23 11:14:08 +08:00
parent 1bace88f37
commit 12fac4ea1c
5 changed files with 38 additions and 58 deletions

View File

@@ -12,6 +12,7 @@
#include "native_logger.hpp"
#include "decrypt_ota_file.hpp"
#include "utils.hpp"
#include "tcp_ssl_password.hpp"
namespace py = pybind11;
using json = nlohmann::json;
@@ -61,6 +62,14 @@ PYBIND11_MODULE(archery_netcore, m) {
m.def("get_config", &get_config, "Get system configuration");
m.def(
"calculate_tcp_ssl_password",
&netcore::calculate_tcp_ssl_password,
"Calculate TCP SSL password: hex(md5(hex(md5(device_id)) + iccid))",
py::arg("device_id"),
py::arg("iccid")
);
m.def(
"decrypt_ota_file",
[](const std::string& input_path, const std::string& output_zip_path) {