Files
MemRelay/projects/4f53c06a-c6c3-40ec-b2fc-5f019ea45fc0/project-cpe 技术栈与目录结构.md
T

26 lines
1.4 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
---
title: project-cpe 技术栈与目录结构
type: fact
permalink: main/projects/4f53c06a-c6c3-40ec-b2fc-5f019ea45fc0/project-cpe-技术栈与目录结构
stable_id: ce9c98cd-85c8-4595-9cae-aa019b487893
scope: project
project_id: 4f53c06a-c6c3-40ec-b2fc-5f019ea45fc0
memory_type: fact
status: active
revision: 1
restored_from_commit: 6a6a895eafcca6052e81a14fca103a42635dd1c2
created_at: '2026-09-23T14:55:29.870906+00:00'
updated_at: '2026-09-23T14:55:29.870963+00:00'
tags:
- architecture
- rust
- react
- ofono
- directories
---
- 项目为 UDX710 5G/LTE CPE 管理系统,后端 Rust 2021 + Axum 0.8 + Tokio + zbus 5,通过系统 oFono D-Bus 控制 modem,并用 rusqlite 保存短信和通话记录。
- 前端为 React 19 + TypeScript + React Router + MUI + TanStack Query,入口是 frontend/src/main.tsx 和 frontend/src/App.tsx,页面按路由懒加载。
- backend/src/main.rs 组装 D-Bus、数据库、配置、短信/通话监听、数据连接 watchdog、FRPC、OTA 和 Axum API。
- 主要目录:backend/src(服务与设备逻辑)、frontend/src(管理界面)、scripts(构建/部署/打包)、docker(GNU 交叉构建镜像)、bruno-api(HTTP API 集合)、.github/workflows/build-ota.yml(OTA CI)。
- 功能覆盖设备/SIM/网络、小区与频段锁定、APN、数据连接、通话、短信、IMS、USB 模式、系统统计、初始化脚本、Webhook/SMS Push、FRPC 和应用 OTA。