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

有点问题想咨询下作者 #4

Open
FreezeLin opened this issue Apr 30, 2020 · 1 comment
Open

有点问题想咨询下作者 #4

FreezeLin opened this issue Apr 30, 2020 · 1 comment

Comments

@FreezeLin
Copy link

想请问下系统连接物联网设备具体是怎么做的,个人觉得这个系统非常厉害想学习下

@sunriseydy
Copy link
Contributor

目前预留的设备接入方法只有 http 协议,即系统中有一个 REST 接口供设备调用,设备在通过 http 调用接口时传输设备的 ID 和 secretKey ,以及要发送的数据流的字段名和数据,系统在收到请求后会根据设备的 ID 和 secretKey 验证设备所关联的数据流,若和请求中的数据流字段一致则接受该数据流字段的数据,并存入数据库。这样就完成了一次设备向平台发送数据

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