查看Bim的源代码
←
Bim
跳转到:
导航
,
搜索
因为以下原因,你没有权限编辑本页:
您刚才请求的操作只有这个用户组中的用户才能使用:
用户
您可以查看并复制此页面的源代码:
=== 更新集中器核心程序 === 确认集中器可访问外网后,先备份原有抄表核心程序: <source lang=bash> [root@mcuzone root]#cd /app [root@mcuzone /app]#ls buff1.xml buff3.xml gatherdb.db rcS x buff2.xml gather_V0 log.txt runapp.sh [root@mcuzone /app]#mv gather_V0 gather_V0.old [root@mcuzone /app]#ls buff1.xml buff3.xml gatherdb.db rcS x buff2.xml gather_V0.old log.txt runapp.sh </source> 获取修正后的抄表核心程序: <source lang=bash> [root@mcuzone /app]#wget http://42.121.85.30/gather_V0 Connecting to 42.121.85.30 (42.121.85.30:80) gather_V0 100% |*******************************| 316k 0:00:00 ETA [root@mcuzone /app]#ls buff1.xml buff3.xml gather_V0.old log.txt runapp.sh buff2.xml gather_V0 gatherdb.db rcS [root@mcuzone /app]#ls -l gather* -rw-r--r-- 1 root root 324430 Jan 6 12:25 gather_V0 -rwxr-xr-x 1 root root 294111 Jan 5 23:43 gather_V0.old -rw-r--r-- 1 1002 1002 51200 Jan 6 12:13 gatherdb.db [root@mcuzone /app]#chmod +x gather_V0 [root@mcuzone /app]#ls -l gather* -rwxr-xr-x 1 root root 324430 Jan 6 12:25 gather_V0 -rwxr-xr-x 1 root root 294111 Jan 5 23:43 gather_V0.old -rw-r--r-- 1 1002 1002 51200 Jan 6 12:13 gatherdb.db </source> 试运行: <source lang=bash> [root@mcuzone /app]#./gather_V0 Creat QMSG_FILE OK. g_uiQmsgFd = 0. XMLBuf_Init OK. QueuesInit OK! open_IOControl OK! ...... ...... [db.c][each_meter_info][1027] meter_type length : 2 [db.c][each_meter_info][1030] meter_type: 40 [db.c][each_meter_info][1052]135000000 ...... ...... </source> 重启集中器: <source lang=bash> [root@mcuzone /app]#reboot </source> Or press the SW1 button to reset the Collector <br><br>
返回到
Bim
。
个人工具
18.191.128.22
该IP地址的讨论
登录
名字空间
页面
讨论
变换
查看
阅读
查看源代码
查看历史
操作
搜索
导航
首页
社区专页
新闻动态
最近更改
随机页面
帮助
工具箱
链入页面
相关更改
特殊页面