RTU_ALL_AI/release
ypc 9d4c2902c3 feat(libcomm): 通讯抽象层模块 — TCP/UDP/UART + epoll 异步事件循环
- 纯 C 接口(myComm.h, extern "C"),7 个 API:
  comm_create / connect / disconnect / send / recv_register / state_register / destroy
- 按功能拆分 5 个源文件: comm_internal.h + core/tcp/udp/uart.cpp
- TCP 服务器: bind + listen + epoll accept 多客户端
- TCP 客户端: 非阻塞 connect + EPOLLOUT 检测完成
- UDP: bind + recvfrom/sendto
- UART: open + termios 配置(波特率/数据位/停止位/校验)
- comm_epoll_init() 幂等自初始化,comm_run() 无需预创建实例
- comm_run() / comm_stop() 事件循环控制
2026-07-08 13:36:01 +08:00
..
inc refactor: centralized header copy script replaces per-module cp 2026-07-07 17:38:44 +08:00
src feat(libcomm): 通讯抽象层模块 — TCP/UDP/UART + epoll 异步事件循环 2026-07-08 13:36:01 +08:00
build.sh [阶段0] 从零重写全部模块 — odai-governed 自主实现 2026-07-07 13:19:18 +08:00
copy_headers.sh refactor: centralized header copy script replaces per-module cp 2026-07-07 17:38:44 +08:00
linux.mk [阶段0] 从零重写全部模块 — odai-governed 自主实现 2026-07-07 13:19:18 +08:00
makefile [阶段0] 从零重写全部模块 — odai-governed 自主实现 2026-07-07 13:19:18 +08:00