Switch branches/tags
Nothing to show
Find file History
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
..
Failed to load latest commit information.
.gitignore
README.md
demo1.js
package.json

README.md

Demo client for IoT Manager

=======

Install & Run

Edit demo1.js and set connection (mqtt host, port, user and pass), then run

npm i
node demo1.js

Valid messages for manual testing

  • publish to topic /IoTmanager/mobile_id/request payload { "command": "getPages", "param":"" }
  • publish to topic /IoTmanager/mobile_id/request payload { "command": "getPageById", "param":20 } where 20 - pageId (may be 10,20,30,40)

Where results?

  • /IoTmanager/dev-0001/response
  • /IoTmanager/dev-0001/config
  • /IoTmanager/dev-0001/+/status

License

MIT