Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

请教大佬一个停车系统的问题,望大佬百忙之中解答一下 #32

Open
zhaidaoxin opened this issue Aug 20, 2021 · 1 comment

Comments

@zhaidaoxin
Copy link

就是,如果要与停车场的设备建立长连接的话:
是一直保持这个连接不断掉好,还是在相机扫到车辆时建立连接,等感应器感应到车辆进/离场后,就断掉连接比较好呢?

@HelloNick666
Copy link

建议连接不要断掉,而且要发送心跳。这样实时性比较高,后续还可以扩展在平台上查看设备在线状态,下发指令等。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants