亚洲国产日韩欧美一区二区三区,精品亚洲国产成人av在线,国产99视频精品免视看7,99国产精品久久久久久久成人热,欧美日韩亚洲国产综合乱

How to subscribe to multiple topics using mqtt in js?
伊謝爾倫
伊謝爾倫 2017-05-19 10:28:56
0
1
1147

If you want to obtain the numerical changes of sensors in real time, each sensor has a unique data_id.
The front end is using mqtt to combine multiple data_ids into an array and subscribe as a topic.
But it only successfully subscribes The first data_id was retrieved, but the others did not respond.
What should I do if I want to subscribe to multiple topics on the front end?

伊謝爾倫
伊謝爾倫

小伙看你根骨奇佳,潛力無限,來學(xué)PHP伐。

reply all(1)
PHPzhong

It is not recommended that js directly subscribe to mqtt. The server should subscribe to mqtt. In addition, multiple client ids are required to subscribe to multiple topics.

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template