文章目录
背景
国家电网, 低压侧台区, 营配融合主线下的终端研发;
目标:
面向TTU、SCU、ECU、22 版集中器、IFT 融合终端等多平台,开发通用微应用解决方案.
封装公共组件与协议库,实现多产品复用,同时快速响应客户定制化需求,完成微应用个性化开发、调试与交付;优化工程配置,简化迭代与定制开发流程。
基础库
当前支持接口库;
libprojects/
├── btManager
├── ccoRouter:
├── dataCenter
├── demAmr: 分布式电源管理
├── desktopGui
├── gybase: 电力常用协议库
├── gybase_3762
├── gy_port: 规约协议端口库
├── iot: 物联业务
├── iotManager: 设备管理
├── ipc: 进程间通讯接口
├── ipcMsgManager: 进程间消息分发管理
├── maintServer: 维护-数据服务器
├── mapManager
├── mmu: 内存管理
├── modbus: modbus协议接口库, 后续归入gybase
├── mpManager: 测量点管理库
├── mydb: 私有数据库
├── os_platform: 系统抽象层库
├── pdAnalyzer: 配电分析类APP接口
├── rspSample
├── scsMonitor: 安全在线监测
├── securityClient: esam安全相关接口
├── systemManager: 系统管理器
├── taskManager: 任务调度接口
├── uartManager
├── utils: 工具类接口库
└── wirelessDCM
编译输出
工程配置
./mybuild.sh menuconfig


编译
./mybuild.sh --lib_builds
输出

output/ift/sskr/microIFT/arm-linux-gnueabihf-/
├── include
│ ├── auto_bspcfg.h
│ ├── btManager
│ ├── ccoRouter
│ ├── dataCenter
│ ├── demAmr
│ ├── desktopGui
│ ├── gybase
│ ├── gybase_3762
│ ├── gy_port
│ ├── iot
│ ├── iotManager
│ ├── ipc
│ ├── ipcMsgManager
│ ├── maintServer
│ ├── mapManager
│ ├── mmu
│ ├── modbus
│ ├── mpManager
│ ├── mydb
│ ├── os_platform
│ ├── pdAnalyzer
│ ├── rspSample
│ ├── scsMonitor
│ ├── securityClient
│ ├── systemManager
│ ├── taskManager
│ ├── uartManager
│ ├── utils
│ └── wirelessDCM
└── lib
├── libbtManager.so
├── libccoRouter.so
├── libdataCenter.so
├── libdemAmr.so
├── libdesktopGui.so
├── libgybase_3762.so
├── libgybase.so
├── libgy_port.so
├── libiotManager.so
├── libiot.so
├── libipc.so
├── libmapManager.so
├── libmmu.so
├── libmodbus.so
├── libmpManager.so
├── libmydb.so
├── libos_platform.so
├── libpdAnalyzer.so
├── librspSample.so
├── libscsMonitor.so
├── libutils.so
开源链接
基础库git:
git clone https://gitee.com/guozhongwl/libs_base.git
开源目的
寻求队友, 共同完善微应用项目, 互通有无, 共同进步;
dlt-keep,
欢迎加入技术圈子, 共同进步. 联系方式见项目的 README.md