Skip to content

Commit

Permalink
Create README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
yuan910715 authored Mar 16, 2020
1 parent 51c2572 commit b075760
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# Dc1Server
Dc1Server

项目Fork自ZXQ-Kyle/Dc1Server

DC1插座复活的服务器端

修改了如下:
1.查询间隔由1分钟改为5秒,以便于实时观察功率变化,会增加网络传输
2.将ConnectionManager中的mDeviceConnectionMap的key由ip改为ip+port,以解决将server部署到云服务器,同一路由器下的DC1 ip相同,mDeviceConnectionMap覆盖重复查询问题
3.新增心跳检测,15秒未通讯关闭channel
4.关闭channel时,将DC1 online置为false,以便客户端显示离线状态

感谢原作者.

0 comments on commit b075760

Please sign in to comment.