Files
mobile_comm/luatos/air780epm/module/Air780EPM/demo/uart/uart_manger.lua
T
wangfq 173dd6874f init: Air780EPM 官方 LuatOS 项目代码基线
- 来源: 合宙 LuatOS 官方仓库 air780epm 模块完整代码
- 路径: luatos/air780epm/module/Air780EPM/demo 含官方 demo(含 mqtt/mqtts/socket/uart 等)
- 后续: 基于 demo 开发 UART<->MQTT 数据上报功能
2026-08-31 08:53:49 +08:00

32 lines
829 B
Lua
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.
--[[
@module uart_manger
@summary 串口功能管理模块
@version 1.0
@date 2025.09.23
@author 魏健强
@usage
本模块为串口功能管理模块,核心业务逻辑为:根据项目需求,选择并且配置合适的串口功能
1、simple_uart:简易串口,小数据字符串收发;
2、high_volume_uart:大数据收发串口;
3、485_uart485串口;
4、multiple_uart:多串口;
5、usb_uartUSB虚拟串口;
]]
-- 根据自己的项目需求,只需要require以下五种中的一种即可;
-- 简易串口,小数据字符串收发
require "simple_uart"
-- 大数据收发串口
-- require "high_volume_uart"
-- 485串口
-- require "485_uart"
-- 多串口
-- require "multiple_uart"
-- USB虚拟串口
-- require "usb_uart"
-- 动态切换串口引脚复用
-- require "uart_mux"